<div dir="ltr">I swear I tested it like that and it didn't work. <div>But its working now so thanks guys for your help. </div></div><div class="gmail_extra"><br><div class="gmail_quote">On 17 February 2016 at 13:13, Trey Hilyard <span dir="ltr"><<a href="mailto:kctrey@gmail.com" target="_blank">kctrey@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Agree. All you have to do is:<div><br></div><div>Dial(SIP/+${EXTEN}\;phone-context=+<a href="mailto:44@10.10.10.10" target="_blank">44@10.10.10.10</a>\;user=phone)<br></div><div><br></div><div>I am actually surprised that the dialplan reload would work without it...</div></div><div class="HOEnZb"><div class="h5"><br><div class="gmail_quote"><div dir="ltr">On Wed, Feb 17, 2016 at 5:51 AM A J Stiles <<a href="mailto:asterisk_list@earthshod.co.uk" target="_blank">asterisk_list@earthshod.co.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Wednesday 17 Feb 2016, imperium broadcast wrote:<br>
> I kinda have it working with chan_sip.<br>
><br>
> Dial(SIP/+${EXTEN}\;phone-context=+<a href="mailto:44@10.10.10.10" target="_blank">44@10.10.10.10</a>;user=phone)<br>
> But it doesn't include the user=phone at the end when dialling out.<br>
><br>
> "To: <sip:+4499999999999;phone-context=+<a href="mailto:44@10.10.10.10" target="_blank">44@10.10.10.10</a>>".<br>
><br>
> even adding<br>
> usereqphone=yes<br>
> to the sip.conf doesn't add the user=phone to the end unless I remove the<br>
> the sip uri stuff out of the dial string.<br>
><br>
> Ideally I would like it to look like this<br>
> INVITE sip:118099;phone-context=+44@10.10.10.10:5060;user=phone<br>
> Or<br>
> INVITE sip: <a href="http://118099@10.10.10.10:5060" rel="noreferrer" target="_blank">118099@10.10.10.10:5060</a>; user=phone; phone-context=+44<br>
><br>
> It doesn't matter which way I do it I can only include one extra parameter<br>
> and not the two (user=phone;phone-context) as Asterisk ignores the second<br>
> one.<br>
<br>
That's because in the Asterisk dialplan, a semicolon is used to denote a<br>
comment  (on account of the comment mark being a valid DTMF digit).  So you<br>
will have to insert a backslash before the semicolon before user=phone .<br>
<br>
--<br>
AJS<br>
<br>
Note:  Originating address only accepts e-mail from list!  If replying off-<br>
list, change address to asterisk1list at earthshod dot co dot uk .<br>
<br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
               <a href="http://www.asterisk.org/hello" rel="noreferrer" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" rel="noreferrer" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</blockquote></div>
</div></div><br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
               <a href="http://www.asterisk.org/hello" rel="noreferrer" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" rel="noreferrer" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br></div>