<div dir="ltr"><div>Hello Razvan, <br><br></div>thank you for your help, i check about this function before, i will try that and i let you know if solve , thank you and happy hollidays<br></div><div class="gmail_extra"><br>
<br><div class="gmail_quote">2013/12/24 Răzvan Crainea <span dir="ltr">&lt;<a href="mailto:razvan@opensips.org" target="_blank">razvan@opensips.org</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi, Mike!<br>
<br>
Have you tried matching the dialogs using the match_dialog() function[1]? Also, for sequential requests, you should try using the fix_route_dialog() function[2].<br>
<br>
[1] <a href="http://www.opensips.org/html/docs/modules/1.10.x/dialog.html#id295144" target="_blank">http://www.opensips.org/html/<u></u>docs/modules/1.10.x/dialog.<u></u>html#id295144</a><br>
[2] <a href="http://www.opensips.org/html/docs/modules/1.10.x/dialog.html#id295287" target="_blank">http://www.opensips.org/html/<u></u>docs/modules/1.10.x/dialog.<u></u>html#id295287</a><br>
<br>
Best regards,<br>
<br>
Răzvan Crainea<br>
OpenSIPS Core Developer<br>
<a href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.<u></u>com</a><div class="im"><br>
<br>
On 12/21/2013 06:25 PM, Mike Tesliuk wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
Hello Guys,<br>
<br>
<br>
Im getting a strange situation here that i dont know how to deal<br>
<br>
i have an enviroment where i have freeswitch receiving a call to billing<br>
and opensips doing the load_balance to the gateways.<br>
<br>
When i send the call to the gateway i receive the reply without the<br>
record-route header, i try to put  an asterisk server as gateway and<br>
this not happen in this scenario .<br>
<br>
Below the invite that i send to the gateway<br>
<br></div>
U <a href="http://10.1.69.1:5079" target="_blank">10.1.69.1:5079</a> &lt;<a href="http://10.1.69.1:5079" target="_blank">http://10.1.69.1:5079</a>&gt; -&gt; <a href="http://10.255.2.31:5031" target="_blank">10.255.2.31:5031</a><br>

&lt;<a href="http://10.255.2.31:5031" target="_blank">http://10.255.2.31:5031</a>&gt;<br>
INVITE <a href="http://sip:255755813256@10.1.69.1:5079" target="_blank">sip:255755813256@10.1.69.1:<u></u>5079</a><br>
&lt;<a href="http://sip:255755813256@10.1.69.1:5079" target="_blank">http://sip:255755813256@10.1.<u></u>69.1:5079</a>&gt; SIP/2.0.<div class="im"><br>
Record-Route: &lt;sip:10.1.69.1:5079;lr;ftag=<u></u>HgcSt10Xa854e;did=9d2.<u></u>723c6252&gt;.<br>
Via: SIP/2.0/UDP 10.1.69.1:5079;branch=<u></u>z9hG4bKe98.72455346.0.<br>
Via: SIP/2.0/UDP<br>
10.1.69.1:5069;received=10.1.<u></u>69.1;rport=5069;branch=<u></u>z9hG4bKK5N8yU10cgage.<br>
Max-Forwards: 68.<br>
From: &quot;200214&quot; &lt;<a href="mailto:sip%3A200214@10.1.69.1" target="_blank">sip:200214@10.1.69.1</a><br></div>
&lt;mailto:<a href="mailto:sip%253A200214@10.1.69.1" target="_blank">sip%3A200214@10.1.69.1</a><u></u>&gt;&gt;;tag=HgcSt10Xa854e.<br>
To: &lt;<a href="http://sip:255755813256@10.1.69.1:5079" target="_blank">sip:255755813256@10.1.69.1:<u></u>5079</a><br>
&lt;<a href="http://sip:255755813256@10.1.69.1:5079" target="_blank">http://sip:255755813256@10.1.<u></u>69.1:5079</a>&gt;&gt;.<div class="im"><br>
Call-ID: 4c6591da-e483-1231-6cb4-<u></u>001a4bd5a0b4.<br>
CSeq: 53458861 INVITE.<br>
Contact: &lt;<a href="http://sip:gw+os@10.1.69.1:5069" target="_blank">sip:gw+os@10.1.69.1:5069</a>;<u></u>transport=udp;gw=os&gt;.<br>
User-Agent: vBilling.<br>
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE,<br>
REGISTER, NOTIFY.<br>
Supported: precondition, path, replaces.<br>
Allow-Events: talk, hold, conference, refer.<br>
Content-Type: application/sdp.<br>
Content-Disposition: session.<br>
Content-Length: 195.<br>
X-FS-Support: update_display,send_info.<br>
Remote-Party-ID: &quot;200214&quot; &lt;<a href="mailto:sip%3A200214@10.1.69.1" target="_blank">sip:200214@10.1.69.1</a><br></div>
&lt;mailto:<a href="mailto:sip%253A200214@10.1.69.1" target="_blank">sip%3A200214@10.1.69.1</a><u></u>&gt;&gt;;party=calling;screen=yes;<u></u>privacy=off.<div class="im"><br>
<br>
<br>
and below the 200 ok that i receive<br>
<br></div>
U <a href="http://10.255.2.31:5031" target="_blank">10.255.2.31:5031</a> &lt;<a href="http://10.255.2.31:5031" target="_blank">http://10.255.2.31:5031</a>&gt; -&gt; <a href="http://10.1.69.1:5079" target="_blank">10.1.69.1:5079</a><br>

&lt;<a href="http://10.1.69.1:5079" target="_blank">http://10.1.69.1:5079</a>&gt;<div class="im"><br>
SIP/2.0 200 OK.<br>
Via: SIP/2.0/UDP<br>
10.1.69.1:5079;branch=<u></u>z9hG4bKe98.72455346.0;<u></u>received=10.1.69.1.<br>
Via: SIP/2.0/UDP<br>
10.1.69.1:5069;received=10.1.<u></u>69.1;rport=5069;branch=<u></u>z9hG4bKK5N8yU10cgage.<br>
To: &lt;<a href="http://sip:255755813256@10.1.69.1:5079" target="_blank">sip:255755813256@10.1.69.1:<u></u>5079</a><br></div>
&lt;<a href="http://sip:255755813256@10.1.69.1:5079" target="_blank">http://sip:255755813256@10.1.<u></u>69.1:5079</a>&gt;&gt;;tag=12ab34cd.<br>
From: &quot;200214&quot; &lt;<a href="mailto:sip%3A200214@10.1.69.1" target="_blank">sip:200214@10.1.69.1</a><br>
&lt;mailto:<a href="mailto:sip%253A200214@10.1.69.1" target="_blank">sip%3A200214@10.1.69.1</a><u></u>&gt;&gt;;tag=HgcSt10Xa854e.<div class="im"><br>
CSeq: 53458861 INVITE.<br>
Call-ID: 4c6591da-e483-1231-6cb4-<u></u>001a4bd5a0b4.<br>
Allow: INVITE, BYE, CANCEL, ACK, INFO, REGISTER.<br>
Supported:.<br>
Allow-Events: telephone-event.<br>
Contact: &lt;<a href="mailto:sip%3A255755813256@10.1.69.1" target="_blank">sip:255755813256@10.1.69.1</a>:<u></u>5031;transport=udp&gt;.<br>
Content-Type: application/sdp.<br>
Content-Length: 196.<br>
<br>
when i send the call to this gateway the loose route did not execute,<br>
and i get error&#39;s on dialog because the dialog is not matched<br>
<br>
<br>
how should i deal with a situation like this ?<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br></div>
______________________________<u></u>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-<u></u>bin/mailman/listinfo/users</a><br>
<br>
</blockquote>
<br>
______________________________<u></u>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-<u></u>bin/mailman/listinfo/users</a><br>
</blockquote></div><br></div>