<span id="result_box" class="short_text"><span style="background-color: rgb(255, 255, 255); color: rgb(0, 0, 0);" title="">It's exactly what I meant</span></span> :)<br>Thanks<br><br><div class="gmail_quote">On 28 July 2010 00:54, David Ponzone <span dir="ltr"><<a href="mailto:david.ponzone@gmail.com">david.ponzone@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;"><div style="word-wrap: break-word;">You can also add the following gateway parameter in your gateway params:<div>
<br></div><div><param name="extension" value="auto_to_user"/></div><div><br></div><div>With this, FS will use the To field as the destination_number.</div><div><br><div> <div style="word-wrap: break-word; font-size: 14px;">
<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; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div style="word-wrap: break-word;">
<div><font face="'Helvetica Neue'"><font color="#1c00ff">David Ponzone </font><font color="#000000" size="3"><span style="font-size: 12px;">Direction Technique</span></font></font></div><div><font face="'Helvetica Neue'"><font size="3"><span style="font-size: 13px;">email: <a href="mailto:david.ponzone@ipeva.fr" target="_blank">david.ponzone@ipeva.fr</a></span></font></font></div>
<div><font face="'Helvetica Neue'"><font size="3"><span style="font-size: 13px;">tel: 01 74 03 18 97</span></font></font></div><div><font face="'Helvetica Neue'"><font size="3"><span style="font-size: 13px;">gsm: 06 66 98 76 34</span></font></font></div>
<div><font face="'Helvetica Neue'"><br></font></div><div><font color="#1c00ff" face="'Helvetica Neue'">Service Client<span> </span></font><font face="'Helvetica Neue'"><font color="#ff0000">IP</font></font><font color="#1c00ff" face="'Helvetica Neue'">eva</font></div>
<div><font color="#1c00ff" face="'Helvetica Neue'"><span style="color: rgb(0, 0, 0); font-family: Helvetica;"><div><font face="'Helvetica Neue'"><font size="3"><span style="font-size: 13px;">tel: 0811 46 26 26</span></font></font></div>
<div><font face="'Helvetica Neue'" size="3"><span style="font-size: 13px;"><div style="margin: 0px; color: rgb(0, 34, 243);"><span style="text-decoration: underline;"><a>www.ipeva.fr</a></span><span style="color: rgb(101, 104, 149);"> - <span style="color: rgb(0, 34, 243); text-decoration: underline;"><a>www.ipeva-studio.com</a></span></span></div>
<div style="margin: 0px; color: rgb(0, 34, 243);"><span style="text-decoration: underline;"><br></span></div><div style="margin: 0px; color: rgb(0, 34, 243);"><span><div style="margin: 0px; text-align: justify; 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 color="#c0c0c0"><i><br></i></font></div></span></div></span></font></div></span></font></div></div></span><br></div><br> </div><br><div><div>Le 27/07/2010 à 21:05, Robert M. Niczyporuk a écrit :</div>
<br><blockquote type="cite"><div><div></div><div class="h5">Hello,<br><br>I've got simple problem.<br>My ITSP, when sends me an INVITE message, puts a destination DID (e.g. 223517864, 223517865) only in a field 'To:" of the INVITE message.<br>
<br>So it looks like:<br>---------------------------------------------------------------------------------------------------------------------------------------------------<br> Session Initiation Protocol<br> Request-Line: INVITE <a>sip:alamakota@</a>[.....deleted.......];transport=udp;line=eccbc87e SIP/2.0<br>
Method: INVITE<br> Request-URI: <a>sip:alamakota@</a>[.....deleted.......];transport=udp;line=eccbc87e<br> [Resent Packet: False]<br> Message Header<br> Via: SIP/2.0/UDP x.x.x.x:5060;branch=z9hG4bKedjaoo2068qhogsrm5o1.1<br>
From: <<a href="mailto:sip%3A555555555@appsm.ngn.yyyy.pl" target="_blank">sip:555555555@appsm.ngn.yyyy.pl</a>>;tag=SD3lb8e01-118520006-1280255979518-<br> To: "ab"<sip:<b>223517864</b>@<a href="http://yyyyy.pl" target="_blank">yyyyy.pl</a>;line=eccbc87e><br>
Call-ID: SD3lb8e01-b5526ec70ec5846b8f02e61df8d8eb32-aovtv90<br> CSeq: 177862656 INVITE<br> Contact: <<a>sip:x.x.x.x:5060;transport=udp</a>><br> Allow: ACK,BYE,CANCEL,INFO,INVITE,OPTIONS,PRACK,REFER,NOTIFY,UPDATE<br>
Accept: multipart/mixed,application/media_control+xml,application/sdp<br> Supported: timer<br> Min-SE: 60<br> Max-Forwards: 9<br> Content-Type: application/sdp<br> Content-Length: 332<br>
Message Body<br>----------------------------------------------------------------------------------------------------------------------------------------------------------<br clear="all"> <br>In Request-Line there's always the same string (in this case it's alamakota@...........), independently of callee DID.<br>
<br>Question is: How to route those calls based on 'To' field (more precisely - based on User Part of the 'To' field) ?????<br> Dialplan with simple condition "destination_number" of course doesn't work.... <br>
Is there a solution?<br>(Using Asterisk I'm able to analyse whole INVITE message, substract 'To' field and then route via value in this field...)<br> <br>Thanks for any help<br>-- <br>rniczypo<br></div></div><div class="im">
_______________________________________________<br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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>
</div></blockquote></div><br></div></div><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>
<br></blockquote></div><br><br clear="all"><br>-- <br>Robert M. Niczyporuk<br>