imperium broadcast
2016-Feb-16 17:02 UTC
[asterisk-users] SIP URI set 'telephone-context='
Hi all, I am currently using asterisk 11, and I am trying to figure out how to set the uri parameter telephone-context. I need to set it for outbound calls for a specific carrier when making emergency calls and don't seem able to find the option to set it. Regards Impy aka Mick -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20160216/0fa847e7/attachment-0001.html>
Are you using res_pjsip or chan_sip? For PJSIP, it's as easy as passing the parameters to the Dial. For example: Dial(PJSIP/${ARG1}\;phone-context=mydomain.com at pjsippeer,60) I am pretty sure it was easy in chan_sip, too. If you are using chan_sip, I'll try and find an example. On Tue, Feb 16, 2016 at 11:03 AM imperium broadcast < imperium.broadcast at gmail.com> wrote:> Hi all, I am currently using asterisk 11, and I am trying to figure out > how to set the uri parameter telephone-context. > I need to set it for outbound calls for a specific carrier when making > emergency calls and don't seem able to find the option to set it. > > Regards > Impy > aka Mick > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20160216/e094ce55/attachment.html>
imperium broadcast
2016-Feb-16 20:03 UTC
[asterisk-users] SIP URI set 'telephone-context='
Thanks for the reply Trey, should of said I'm using chan_sip. Regards Mick On 16 Feb 2016 18:03, "Trey Hilyard" <kctrey at gmail.com> wrote:> Are you using res_pjsip or chan_sip? > > For PJSIP, it's as easy as passing the parameters to the Dial. For example: > Dial(PJSIP/${ARG1}\;phone-context=mydomain.com at pjsippeer,60) > > I am pretty sure it was easy in chan_sip, too. If you are using chan_sip, > I'll try and find an example. > > On Tue, Feb 16, 2016 at 11:03 AM imperium broadcast < > imperium.broadcast at gmail.com> wrote: > >> Hi all, I am currently using asterisk 11, and I am trying to figure out >> how to set the uri parameter telephone-context. >> I need to set it for outbound calls for a specific carrier when making >> emergency calls and don't seem able to find the option to set it. >> >> Regards >> Impy >> aka Mick >> -- >> _____________________________________________________________________ >> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- >> New to Asterisk? Join us for a live introductory webinar every Thurs: >> http://www.asterisk.org/hello >> >> asterisk-users mailing list >> To UNSUBSCRIBE or update options visit: >> http://lists.digium.com/mailman/listinfo/asterisk-users > > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20160216/7d7318ae/attachment.html>