[asterisk-users] Saving endpoint statuses to database with pjsip and realtime

2016-12-29 Thread Anton Teyhrib
Hi all, Is there any native way to save endpoint statuses to database? I use asterisk 13 with pjsip and realtime, and didn't found proper way. I read that there is config parameter in sip.conf: rtupdate=yes. But how can I do that with pjsip? Or I should use sip.conf with pjsip simultaneously. Or

Re: [asterisk-users] how to add area code to outgoing number in Asterisk 13.13

2016-12-29 Thread Doug Lytle
On 12/29/2016 01:44 PM, Motty Cruz wrote: exten => _7XXX,n,Dial(SIP/mySIPprovider/1731${EXTEN:1},80) Drop the 1. Doug -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new

[asterisk-users] how to add area code to outgoing number in Asterisk 13.13

2016-12-29 Thread Motty Cruz
Hi, my SIP provider requires 10 digits for all outgoing calls; Users dial 7 digits for outgoing. Here is how I added the area code to all outgoing calls in Asterisk 1.8 Extensions.conf ; Adding Area code and striping 7 for local numbers exten => _7XXX,n,Set(CALLERID(all)="My ID" )

[asterisk-users] Find out what context is the exten from

2016-12-29 Thread Gabriel Ortiz Lour
Hi all, Anyone with a clever ideia to find out (programmaticaly) on what context, within the dialplan structure, a exten is just telling the base context (with many includes inside) ? Att. Gabriel -- _ -- Bandwidth and