Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - ganapathi

Pages: [1]
1
Yate users hangout place / C++ Code Changes Help
« on: October 19, 2017, 10:27:12 AM »
Hi

Will you please give me a example to pass/Gather some variable along with value to/From other module in C++ source code.

For example if ysigchan module had error then need to pass m_error into cdrbuild module as well.

2
Hi

As i need to assign one value while listening one module(chan.disconnected) and need to assign the value on another module(call.cdr) by using external module.

Will you please guys help me for the same.


Yate::Install("chan.disconnected",80);

call_cdr->params["call_direction"]='xyz';

3
Features requests / ISDN Cause Code on PSTN Calling
« on: September 30, 2017, 07:36:03 AM »
Hi

As like asterisk ISDN Cause code with description is required in yate also to analyze the call status . And also if yate detects the called party number is switch off, User Busy, Network Busy, Disconnected on ISDN then it would more useful.

Also ring timeout while calling.

4
Hi

As i used pgsql stored function to route a call to user/group. Whereas i am getting result properly but even though calls are not routing to the user .

find the below mentioned configuration for the same.

register.conf

query=SELECT * FROM route_master('${billid}','${called}','${trace}');
result=location

Output of PgSQL:

field   value
trace   4444407
callto.1   sip/sip:4444407@192.168.1.82:5060
dtmfpass   false
location   fork
pbxassist   true
copyparams   pbxassist,dtmfpass
tonedetect_out   true
callto.1.secure   yes

Logs :

<pgsqldb:ALL> Query for 'db.1' returned 8 rows, 8 affected [0xcbd510]
Returned true 'database' delay=0.230988
  thread=0x7f6e54002c10 'Call Router'
  data=0x7f6e4c006200
  retval='(null)'
  param['account'] = 'technobureau_db'
  param['query'] = 'SELECT * FROM route_master('1506767265-8','4444407','');'
  param['results'] = 'true'
  param['handlers'] = 'pgsqldb:100'
  param['columns'] = '2'
  param['rows'] = '8'
  param['affected'] = '8'
  param['dbtype'] = 'pgsqldb'
2017-09-30_17:34:43.806147 <register:WARN> Skipping void route #2
2017-09-30_17:34:43.806158 <register:WARN> Skipping void route #3
2017-09-30_17:34:43.806172 <register:WARN> Skipping void route #4
2017-09-30_17:34:43.806182 <register:WARN> Skipping void route #5
2017-09-30_17:34:43.806192 <register:WARN> Skipping void route #6
2017-09-30_17:34:43.806202 <register:WARN> Skipping void route #7
2017-09-30_17:34:43.806211 <register:WARN> Skipping void route #8

Call.cdr :

Status :hangup
Reason : Offline

But actually user logged-in.

Kindly help me out.

5
Linux / Re: how to modify the yate client's ui
« on: September 29, 2017, 07:30:57 AM »
hi

please help me the procedure to extend the yate client source code and build. Am unable to build / modify yate client UI

6
Other Yate server issues / [ YATE 6.0] Record all call
« on: September 24, 2017, 01:46:46 PM »
Hi

Is there any option to record all the calls by using external module in a single Wav file with every channel voice.?


Also as i found this perl file but there is a problem to execute this file and don't know what is the procedure to configure this perl file on yate.

https://gist.github.com/vir/b1a868ef1d4aa5239064/raw/cbbefce066148485dc0db7d02467b79c2fcf9356/record_all_calls.pl

Pages: [1]