<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Hi Alex</div><div class=""><br class=""></div>This doesn’t seem to do anything, or maybe it is just setting the To: field which I have already got set.<div class=""><br class=""></div><div class="">The problem with the To field is that asterisk doesn’t look at this field without customisation which isn’t great for customer ease of use.</div><div class=""><br class=""></div><div class="">Regards<br class=""><div><blockquote type="cite" class=""><div class="">On 29 Jun 2018, at 02:10, Alexey Sibyakin <<a href="mailto:alex@freeswitch.com" class="">alex@freeswitch.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hi,<div class=""><br class=""></div><div class="">I'm not sure that I got your scenario right but you can try to do something like this:</div><div class=""><br class=""></div><div class=""><div class=""><action application="bridge" data="{sip_req_uri=$1}user/foobar"/> (you may need another var, full list is in Confluence)</div></div><div class=""><br class=""></div><div class=""><pre style="margin:10px 0px 0px;padding:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial" class=""><font color="#333333" face="ConfluenceInstalledFont, monospace" class=""><span style="font-size:14px" class="">Regards,

Alex<br class=""></span></font></pre><pre style="margin:10px 0px 0px;padding:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial" class=""><font color="#333333" face="ConfluenceInstalledFont, monospace" class=""><span style="font-size:14px" class=""><br class=""></span></font></pre></div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Wed, Jun 27, 2018 at 9:33 PM, Joseph Waite <span dir="ltr" class=""><<a href="mailto:joelists@tm.net.uk" target="_blank" class="">joelists@tm.net.uk</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class="">Hi Guys<div class=""><br class=""></div><div class="">Were having issues with Asterisk boxes registering to a trunk on our FreeSwitch box.</div><div class=""><br class=""></div><div class="">We are sending the DID number called down the trunk in the to: field, however Asterisk doesn’t seem to like this.</div><div class=""><br class=""></div><div class="">Is there anyway to manipulate the INVITE to be INVITE <a class="">sip:DID@</a> instead of what is currently INVITE <a class="">sip:user@</a></div><div class=""><br class=""></div><div class="">Im hoping there is something like sip_invite_to_uri, however google is failing me.</div><div class=""><br class=""></div><div class="">Regards</div></div><br class="">______________________________<wbr class="">______________________________<wbr class="">_____________<br class="">
Professional FreeSWITCH Services<br class="">
<a href="mailto:sales@freeswitch.com" class="">sales@freeswitch.com</a><br class="">
<a href="https://freeswitch.com/" rel="noreferrer" target="_blank" class="">https://freeswitch.com</a><br class="">
<br class="">
Official FreeSWITCH Sites<br class="">
<a href="https://freeswitch.com/oss" rel="noreferrer" target="_blank" class="">https://freeswitch.com/oss</a><br class="">
<a href="https://freeswitch.org/confluence" rel="noreferrer" target="_blank" class="">https://freeswitch.org/<wbr class="">confluence</a><br class="">
<a href="https://cluecon.com/" rel="noreferrer" target="_blank" class="">https://cluecon.com</a><br class="">
<br class="">
FreeSWITCH-users mailing list<br class="">
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" class="">FreeSWITCH-users@lists.<wbr class="">freeswitch.org</a><br class="">
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank" class="">http://lists.freeswitch.org/<wbr class="">mailman/listinfo/freeswitch-<wbr class="">users</a><br class="">
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank" class="">http://lists.<wbr class="">freeswitch.org/mailman/<wbr class="">options/freeswitch-users</a><br class="">
<a href="https://freeswitch.com/" rel="noreferrer" target="_blank" class="">https://freeswitch.com</a><br class=""></blockquote></div><br class=""><br clear="all" class=""><div class=""><br class=""></div>-- <br class=""><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div class=""><div dir="ltr" style="line-height: 1.38; margin-top: 0pt; margin-bottom: 0pt; margin-left: 4.5pt;" class=""><font face="arial, helvetica, sans-serif" size="1" class=""><span style="white-space:pre-wrap;background-color:transparent" class="">Alex Sibyakin | Support Engineer</span><br class=""></font></div><div dir="ltr" style="line-height: 1.38; margin-top: 0pt; margin-bottom: 0pt; margin-left: 4.5pt;" class=""><span style="background-color:transparent;vertical-align:baseline;white-space:pre-wrap" class=""><font face="arial, helvetica, sans-serif" size="1" class="">FreeSWITCH Solutions | <a rel="nofollow" shape="rect" href="https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g" style="margin:0px;padding:0px;background:transparent;color:rgb(25,106,212);outline:none" target="_blank" class="">17345 Civic Drive #2531 Brookfield, WI 53045</a></font></span></div><div dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-left:4.5pt" class=""><span style="background-color:transparent;vertical-align:baseline;white-space:pre-wrap" class=""><font face="arial, helvetica, sans-serif" size="1" class=""><font class="">Email: </font><a href="mailto:alex@freeswitch.com" target="_blank" class=""><font color="#3d85c6" class="">alex@freeswitch.com</font></a></font></span></div><div dir="ltr" style="line-height: 1.38; margin-top: 0pt; margin-bottom: 0pt; margin-left: 4.5pt;" class=""><font face="arial, helvetica, sans-serif" size="1" class=""><span style="background-color:transparent;vertical-align:baseline;white-space:pre-wrap" class="">Website: </span><span style="margin:0px;padding:0px;background:transparent;color:rgb(25,106,212);outline:none;vertical-align:baseline;white-space:pre-wrap" class=""><a rel="nofollow" shape="rect" href="https://www.freeswitch.com/" style="margin:0px;padding:0px;background:transparent;color:rgb(25,106,212);outline:none" target="_blank" class="">https://www.FreeSWITCH.com</a></span></font></div><div dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-left:4.5pt" class=""><font face="arial, helvetica, sans-serif" size="1" class=""><font class="">Need commercial support? Contact</font><span style="color:rgb(51,51,51)" class=""> </span><a rel="noopener noreferrer" href="mailto:sales@freeswitch.com" style="color:rgb(53,114,176)" target="_blank" class="">sales@freeswitch.com</a><span style="color:rgb(51,51,51)" class=""> </span><font class="">for details.<br class=""></font></font><font style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.8px;" class=""><br class=""></font></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div>
_________________________________________________________________________<br class="">Professional FreeSWITCH Services<br class=""><a href="mailto:sales@freeswitch.com" class="">sales@freeswitch.com</a><br class="">https://freeswitch.com<br class=""><br class="">Official FreeSWITCH Sites<br class="">https://freeswitch.com/oss<br class="">https://freeswitch.org/confluence<br class="">https://cluecon.com<br class=""><br class="">FreeSWITCH-users mailing list<br class="">FreeSWITCH-users@lists.freeswitch.org<br class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br class="">UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br class="">https://freeswitch.com</div></blockquote></div><br class=""></div></body></html>