<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Ahhh thanks Ognjen!<div><br></div><div>it was not on the wiki, it is now :)</div><div><br></div><div><a href="http://wiki.freeswitch.org/wiki/Variable_sip_invite_req_uri">http://wiki.freeswitch.org/wiki/Variable_sip_invite_req_uri</a></div><div><br><div apple-content-edited="true"> <div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; font-size: 14px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><font class="Apple-style-span" face="'Helvetica Neue'"><font class="Apple-style-span" color="#1C00FF">David Ponzone </font><font class="Apple-style-span" color="#000000" size="3"><span class="Apple-style-span" style="font-size: 12px; ">Direction Technique</span></font></font></div><div><font class="Apple-style-span" face="'Helvetica Neue'"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 13px; ">email: <a href="mailto:david.ponzone@ipeva.fr">david.ponzone@ipeva.fr</a></span></font></font></div><div><font class="Apple-style-span" face="'Helvetica Neue'"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 13px; ">tel: 01 74 03 18 97</span></font></font></div><div><font class="Apple-style-span" face="'Helvetica Neue'"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 13px; ">gsm: 06 66 98 76 34</span></font></font></div><div><font class="Apple-style-span" face="'Helvetica Neue'"><br></font></div><div><font class="Apple-style-span" color="#1C00FF" face="'Helvetica Neue'">Service Client<span class="Apple-converted-space"> </span></font><font class="Apple-style-span" face="'Helvetica Neue'"><font class="Apple-style-span" color="#FF0000">IP</font></font><font class="Apple-style-span" color="#1C00FF" face="'Helvetica Neue'">eva</font></div><div><font class="Apple-style-span" color="#1C00FF" face="'Helvetica Neue'"><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: Helvetica; "><div><font class="Apple-style-span" face="'Helvetica Neue'"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 13px; ">tel: 0811 46 26 26</span></font></font></div><div><font class="Apple-style-span" face="'Helvetica Neue'" size="3"><span class="Apple-style-span" style="font-size: 13px; "><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Arial; color: rgb(0, 34, 243); "><span style="text-decoration: underline; "><a href="BLOCKED::http://www.ipeva.fr/">www.ipeva.fr</a></span><span style="color: rgb(101, 104, 149); "> - <span style="color: rgb(0, 34, 243); text-decoration: underline; "><a href="BLOCKED::http://www.ipeva-studio.com/">www.ipeva-studio.com</a></span></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Arial; color: rgb(0, 34, 243); "><span class="Apple-style-span" style="text-decoration: underline; "><br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Arial; color: rgb(0, 34, 243); "><span class="Apple-style-span"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; text-align: justify; font: normal normal normal 10px/normal Arial; color: rgb(192, 192, 192); "><i>Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. </i><b><i>IPeva</i></b><i> décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur.</i></div><div style="text-decoration: underline; text-align: justify; "><font class="Apple-style-span" color="#C0C0C0"><i><br></i></font></div></span></div></span></font></div></span></font></div></div></span><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"> </div><br><div><div>Le 12/10/2010 à 08:50, Ognjen Seslija a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite"><action application="bridge" data="{sip_invite_req_uri=<a href="http://sip:61390009000@192.168.22.2:5061">sip:61390009000@192.168.22.2:5061</a>,sip_invite_to_uri=<a href="sip:61390009000@192.168.22.2:5061">sip:61390009000@192.168.22.2:5061</a>}sofia/external/56778977%${domain}"/><br> <br><div class="gmail_quote">On Fri, Oct 8, 2010 at 7:44 AM, David Allen <span dir="ltr"><<a href="mailto:thedjallen@gmail.com">thedjallen@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"> Hi,<br> <br> I'm trying to send multiple Direct Indial Numbers down to a dynamically<br> registered SIP User. I need to ensure that both the To and Target URI<br> contain the direct Indial number. I'm able to modify the SIP TO Header<br> of a call that is sent to them like below:<br> <br> <action application="bridge"<br> data="sofia/external/56778977%${domain}^61390009000"/><br> <br> which sends the request as:<br> <br> ------------------------------------------------------------------------<br> <br> INVITE <a href="http://sip:56778977@192.168.22.2:5061" target="_blank">sip:56778977@192.168.22.2:5061</a> SIP/2.0<br> <br> Via: SIP/2.0/UDP 202.0.155.73;rport;branch=z9hG4bKXeND9cHtgKF2j<br> <br> Max-Forwards: 69<br> <br> From: "0390001000" <<a href="mailto:sip%3A0390001000@192.168.2.200">sip:0390001000@192.168.2.200</a>>;tag=K4HHaZ9v1H07Q<br> <br> To: <<a href="mailto:sip%3A61390009000@192.168.2.200">sip:61390009000@192.168.2.200</a>><br> <br> But in order to maintain compatability with a number of PBX's/VoIP<br> devices on the market, I need to be able to send the invite to the<br> dynamically registered SIP user, however have it set the Target URI and<br> To as the same contact number like below:<br> <br> ------------------------------------------------------------------------<br> <br> INVITE <a href="http://sip:61390009000@192.168.22.2:5061" target="_blank">sip:61390009000@192.168.22.2:5061</a> SIP/2.0<br> <br> Via: SIP/2.0/UDP 202.0.155.73;rport;branch=z9hG4bKXeND9cHtgKF2j<br> <br> Max-Forwards: 69<br> <br> From: "0390001000" <<a href="mailto:sip%3A0390001000@192.168.2.200">sip:0390001000@192.168.2.200</a>>;tag=K4HHaZ9v1H07Q<br> <br> To: <<a href="http://sip:61390009000@192.168.22.2:5061" target="_blank">sip:61390009000@192.168.22.2:5061</a>><br> <br> Is there a way to do this setting via variables? I can't seem to find<br> any details for it.<br> <br> Thanks<br> <br> David<br> <br> _______________________________________________<br> FreeSWITCH-users mailing list<br> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br> </blockquote></div><br> _______________________________________________<br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>http://www.freeswitch.org<br></blockquote></div><br></div></body></html>