<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<tt>Hi Kevin,<br>
<br>
This looks like OpenSIPS does not recognize the Route as its own
IPs and also seeing the next hop as a strict router.<br>
<br>
To sort this out in the fastest way, see my prev request on the
logs for ACK processing (with the debug=6).<br>
<br>
Regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
<br>
On 08/28/2012 03:22 PM, Kevin Mathy wrote:
<blockquote
cite="mid:CAOmzhXnvNkuzaeJ4-iqcLj54SMytusAMb1ovJSXHu3QkTdLcRA@mail.gmail.com"
type="cite">Hi Bogdan,
<div><br>
</div>
<div>I'm working with Mickael about this problem, and we have some
informations which may help you (and then help us ;-) ) :</div>
<div><br>
</div>
<div>We have found that "loose_route" function modify the
Request-URI variable ($ru), as you can see below :</div>
<div><br>
</div>
<div>ACK message comes from provider, with $ru = <a
moz-do-not-send="true"
href="mailto:sip%3A%2B333XXXXXXXX@6.6.6.6">sip:+333XXXXXXXX@6.6.6.6</a></div>
<div>After, loose_route function is executed, and $ru become like
$ru
= <a class="moz-txt-link-freetext" href="sip:7.7.7.7;lr;r2=on;ftag=c97942d9-13c4-503ca77b-ef8c9eef-760f27a5;xyz=c12.18aedaa5">sip:7.7.7.7;lr;r2=on;ftag=c97942d9-13c4-503ca77b-ef8c9eef-760f27a5;xyz=c12.18aedaa5</a></div>
<div><br>
</div>
<div>The last $ru value results from a Route header</div>
<div><br>
</div>
<div>For information, Record-route of previous message (200OK) is
composed with two record-route in the same field, comma
separated.</div>
<div>Is Opensips 1.6.4 able to interpret this type of Record-route
? </div>
<div><br>
</div>
<div>Is loose_route function using Route headers of previous
messages (200OK before ACK) to route this message ? Or is it
using only actual message's Route headers ?</div>
<div><br>
</div>
<div>Thanks in advance,</div>
<div>If you need further informations, feel free to ask us.</div>
<div><br>
</div>
<div>
<div>Regards,</div>
<div><br>
</div>
<b>Kevin MATHY</b>
<div><b>HEXANET</b></div>
<b>
<div><span style="font-weight: normal;">--</span></div>
</b>
<div>Téléphone : 03.26.79.30.05</div>
<div>Web : <a moz-do-not-send="true"
href="http://www.hexanet.fr" target="_blank">www.hexanet.fr</a></div>
<div><br>
</div>
<div>Pour toute demande de support, merci de contacter le <b>03.51.08.42.07</b>,
ou bien d'adresser un e-mail à <b><a moz-do-not-send="true"
href="mailto:support@hexanet.fr" target="_blank">support@hexanet.fr</a></b></div>
<div><br>
</div>
<br>
<br>
<br>
<div class="gmail_quote">2012/8/27 Bogdan-Andrei Iancu <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
As the next destination should be 6.6.6.6, some stupid
questions:<br>
<br>
1) is 6.6.6.6 configured in domain module or as "alias" ?<br>
<br>
2) have you check to loopback interface ? maybe the ACK is
spiraling over there.<br>
<br>
Also, try to reproduce the ACK case, but enable full debug
in script for the loose_route() function:<br>
if (is_method=="ACK") setdebug(6);<br>
<br>
And post the output of opensips - this will give some clue
on what it is doing.
<div class="im HOEnZb"><br>
<br>
Regards,<br>
<br>
Bogdan-Andrei Iancu<br>
OpenSIPS Founder and Developer<br>
<a moz-do-not-send="true"
href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a><br>
<br>
<br>
</div>
<div class="HOEnZb">
<div class="h5">
On 08/27/2012 06:41 PM, <a moz-do-not-send="true"
href="mailto:mickael@winlux.fr" target="_blank">mickael@winlux.fr</a>
wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt
0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
7.7.7.7 and 8.8.8.8 are both from the same instance of
opensips (same<br>
server 2 IPs interfaces).<br>
<br>
in opensips log, no error, just no forwarding to
customer IPBX.<br>
but tomorrow I'll test with other debug option.<br>
<br>
Thanks<br>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt
0pt 0.8ex; border-left: 1px solid rgb(204, 204,
204); padding-left: 1ex;">
The 7.7.7.7 and 8.8.8.8 IPs are both from the same
instance of opensips<br>
(doing interface exchange) or there are 2 different
SIP entities ?<br>
<br>
Also, do you see any errors in the logs when the ACK
is handled ?<br>
<br>
regards,<br>
<br>
Bogdan-Andrei Iancu<br>
OpenSIPS Founder and Developer<br>
<a moz-do-not-send="true"
href="http://www.opensips-solutions.com"
target="_blank">http://www.opensips-solutions.com</a><br>
<br>
<br>
On 08/27/2012 05:58 PM, <a moz-do-not-send="true"
href="mailto:mickael@winlux.fr" target="_blank">mickael@winlux.fr</a>
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>
in attachement call flow and ACK from provider
(this ACK is not resend<br>
by<br>
opensips to customer IPBX).<br>
<br>
Thanks<br>
<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>
Please post the ACK message your opensips proxy
gets, and also the<br>
outbound ACK request (leaving your opensips) -
Include also the net<br>
layer info (like src ip and port) - feel free to
masquerade the IPs,<br>
but<br>
do it consistently,<br>
<br>
Regards,<br>
<br>
Bogdan-Andrei Iancu<br>
OpenSIPS Founder and Developer<br>
<a moz-do-not-send="true"
href="http://www.opensips-solutions.com"
target="_blank">http://www.opensips-solutions.com</a><br>
<br>
<br>
On 08/27/2012 09:17 AM, <a
moz-do-not-send="true"
href="mailto:mickael@winlux.fr"
target="_blank">mickael@winlux.fr</a> 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>
do you think this may be the cause of my
routing ACK problem ?<br>
<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>
loose route parameter lr , which can be
present in sip or sips<br>
Record-Route and Route URIs to indicate that
the proxy server<br>
identified<br>
by the URI supports loose routing.<br>
<br>
<br>
RFC 3261 explains the "lr" parameter as just
";lr", not lr=on. This<br>
brokes<br>
some UAs which add =on to the "lr".
opensips adds=on to be<br>
compatible<br>
with these UAs<br>
<br>
<br>
//Binan.<br>
<br>
<br>
--- On Fri, 8/24/12, <a
moz-do-not-send="true"
href="mailto:mickael@winlux.fr"
target="_blank">mickael@winlux.fr</a><<a
moz-do-not-send="true"
href="mailto:mickael@winlux.fr"
target="_blank">mickael@winlux.fr</a>>
wrote:<br>
<br>
From: <a moz-do-not-send="true"
href="mailto:mickael@winlux.fr"
target="_blank">mickael@winlux.fr</a><<a
moz-do-not-send="true"
href="mailto:mickael@winlux.fr"
target="_blank">mickael@winlux.fr</a>><br>
Subject: Re: [OpenSIPS-Users] [Re: Routing
problem with<br>
Record-Route]<br>
To: "OpenSIPS users mailling list"<<a
moz-do-not-send="true"
href="mailto:users@lists.opensips.org"
target="_blank">users@lists.opensips.org</a>><br>
Date: Friday, August 24, 2012, 5:08 AM<br>
<br>
Exactly Opensips add lr=on and callee device
transform it into<br>
lr;r2=on.<br>
<br>
my other devices (asterisk, avaya, etc ...)
do not transform lr...<br>
<br>
My Opensips version is version: opensips
1.6.4-2-tls (i386/freebsd)<br>
<br>
what is the difference between lr=on and
lr;r2=on ?<br>
<br>
<blockquote class="gmail_quote"
style="margin: 0pt 0pt 0pt 0.8ex;
border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
So OpenSIPS adds "lr=on" but the callee
device transform it into a<br>
"lr".....<br>
<br>
What version of opensips are you<br>
</blockquote>
using?<br>
<blockquote class="gmail_quote"
style="margin: 0pt 0pt 0pt 0.8ex;
border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
Regards,<br>
<br>
Bogdan-Andrei Iancu<br>
OpenSIPS Founder and Developer<br>
<a moz-do-not-send="true"
href="http://www.opensips-solutions.com"
target="_blank">http://www.opensips-solutions.com</a><br>
<br>
<br>
On 08/24/2012 02:27 PM, <a
moz-do-not-send="true"
href="mailto:mickael@winlux.fr"
target="_blank">mickael@winlux.fr</a>
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 Bogdan-Andrei,<br>
Thank you for your response.<br>
<br>
Yes I confirm in INVITE I have 2 RR with
lr=on:<br>
<br>
<a class="moz-txt-link-rfc2396E" href="sip:8.8.8.8;r2=on;lr=on;ftag=c97942d9-13c4-50237efd-8d49d7d0-5fb68102;xyz=3a2.86da31c4"><sip:8.8.8.8;r2=on;lr=on;ftag=c97942d9-13c4-50237efd-8d49d7d0-5fb68102;xyz=3a2.86da31c4></a><br>
<a class="moz-txt-link-rfc2396E" href="sip:8.8.8.9;r2=on;lr=on;ftag=c97942d9-13c4-50237efd-8d49d7d0-5fb68102;xyz=3a2.86da31c4"><sip:8.8.8.9;r2=on;lr=on;ftag=c97942d9-13c4-50237efd-8d49d7d0-5fb68102;xyz=3a2.86da31c4></a><br>
<br>
and in 200OK I have 1 RR with just lr:<br>
<br>
<br>
</blockquote>
</blockquote>
<a class="moz-txt-link-rfc2396E" href="sip:8.8.8.8;lr;r2=on;ftag=c97942d9-13c4-50237efd-8d49d7d0-5fb68102;xyz=3a2.86da31c4"><sip:8.8.8.8;lr;r2=on;ftag=c97942d9-13c4-50237efd-8d49d7d0-5fb68102;xyz=3a2.86da31c4></a>,<a class="moz-txt-link-rfc2396E" href="sip:8.8.8.9;lr;r2=on;ftag=c97942d9-13c4-50237efd-8d49d7d0-5fb68102;xyz=3a2.86da31c4"><sip:8.8.8.9;lr;r2=on;ftag=c97942d9-13c4-50237efd-8d49d7d0-5fb68102;xyz=3a2.86da31c4></a><br>
<blockquote class="gmail_quote"
style="margin: 0pt 0pt 0pt 0.8ex;
border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
<blockquote class="gmail_quote"
style="margin: 0pt 0pt 0pt 0.8ex;
border-left: 1px solid rgb(204, 204,
204); padding-left: 1ex;">
and in ACK I have 2 Route with lr:<br>
<br>
<a class="moz-txt-link-rfc2396E" href="sip:8.8.8.8;lr;r2=on;ftag=c97942d9-13c4-50237efd-8d49d7d0-5fb68102;xyz=3a2.86da31c4"><sip:8.8.8.8;lr;r2=on;ftag=c97942d9-13c4-50237efd-8d49d7d0-5fb68102;xyz=3a2.86da31c4></a><br>
<a class="moz-txt-link-rfc2396E" href="sip:8.8.8.9;lr;r2=on;ftag=c97942d9-13c4-50237efd-8d49d7d0-5fb68102;xyz=3a2.86da31c4"><sip:8.8.8.9;lr;r2=on;ftag=c97942d9-13c4-50237efd-8d49d7d0-5fb68102;xyz=3a2.86da31c4></a><br>
<br>
<br>
<blockquote class="gmail_quote"
style="margin: 0pt 0pt 0pt 0.8ex;
border-left: 1px solid rgb(204, 204,
204); padding-left: 1ex;">
Hi Mickael,<br>
<br>
Can you confirm (for the failed call)
that OpenSIPS added in<br>
INVITE<br>
RR<br>
hdrs with "lr=on" param and in the 200
OK or ACK you get only "lr"<br>
param<br>
(with no value) ?<br>
<br>
Regards,<br>
<br>
Bogdan-Andrei Iancu<br>
OpenSIPS Founder and Developer<br>
<a moz-do-not-send="true"
href="http://www.opensips-solutions.com"
target="_blank">http://www.opensips-solutions.com</a><br>
<br>
<br>
On 08/24/2012 11:09 AM, <a
moz-do-not-send="true"
href="mailto:mickael@winlux.fr"
target="_blank">mickael@winlux.fr</a>
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 list,<br>
I have a routing problem with my
Opensips<br>
version: opensips 1.6.4-2-tls
(i386/freebsd)<br>
<br>
Indeed Opensips is unable to route
ACK packet to final<br>
destination<br>
(look<br>
attachement .txt).<br>
<br>
The only difference with a normal
call (Call OK), it's<br>
Record-Route<br>
formating. Customer's device send
200OK with differents fields:<br>
<br>
<br>
Test device with the problem (call
NOT OK):<br>
Ex: problem call = 1 field for 2
routes<br>
Extract from the customer<br>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
200OK<br>
<blockquote class="gmail_quote"
style="margin: 0pt 0pt 0pt 0.8ex;
border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
<blockquote class="gmail_quote"
style="margin: 0pt 0pt 0pt 0.8ex;
border-left: 1px solid rgb(204, 204,
204); padding-left: 1ex;">
<blockquote class="gmail_quote"
style="margin: 0pt 0pt 0pt 0.8ex;
border-left: 1px solid rgb(204, 204,
204); padding-left: 1ex;">
<blockquote class="gmail_quote"
style="margin: 0pt 0pt 0pt 0.8ex;
border-left: 1px solid rgb(204, 204,
204); padding-left: 1ex;">
Record-Route:<br>
<a class="moz-txt-link-rfc2396E" href="sip:8.8.8.8;lr;r2=on;ftag=c97942d9-13c4-50237efd-8d49d7d0-5fb68102;xyz=3a2.86da31c4"><sip:8.8.8.8;lr;r2=on;ftag=c97942d9-13c4-50237efd-8d49d7d0-5fb68102;xyz=3a2.86da31c4></a>,<a class="moz-txt-link-rfc2396E" href="sip:9.9.9.9;lr;r2=on;ftag=c97942d9-13c4-50237efd-8d49d7d0-5fb68102;xyz=3a2.86da31c4"><sip:9.9.9.9;lr;r2=on;ftag=c97942d9-13c4-50237efd-8d49d7d0-5fb68102;xyz=3a2.86da31c4></a><br>
<br>
<br>
Test with another device (call OK)<br>
Ex: normal call = 2 fields for 2
routes<br>
Extract from the Customer 200OK<br>
<br>
Record-Route:<br>
<a class="moz-txt-link-rfc2396E" href="sip:8.8.8.8;r2=on;lr=on;ftag=c97942d9-13c4-50237efd-8d49d7d0-5fb68102;xyz=3a2.86da31c4"><sip:8.8.8.8;r2=on;lr=on;ftag=c97942d9-13c4-50237efd-8d49d7d0-5fb68102;xyz=3a2.86da31c4></a><br>
Record-Route:<br>
<a class="moz-txt-link-rfc2396E" href="sip:9.9.9.9;r2=on;lr=on;ftag=c97942d9-13c4-50237efd-8d49d7d0-5fb68102;xyz=3a2.86da31c4"><sip:9.9.9.9;r2=on;lr=on;ftag=c97942d9-13c4-50237efd-8d49d7d0-5fb68102;xyz=3a2.86da31c4></a><br>
<br>
My question is: This opensips
version is able to work with 1<br>
record-route<br>
field containing 2<br>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
informations ?<br>
<blockquote class="gmail_quote"
style="margin: 0pt 0pt 0pt 0.8ex;
border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
<blockquote class="gmail_quote"
style="margin: 0pt 0pt 0pt 0.8ex;
border-left: 1px solid rgb(204, 204,
204); padding-left: 1ex;">
<blockquote class="gmail_quote"
style="margin: 0pt 0pt 0pt 0.8ex;
border-left: 1px solid rgb(204, 204,
204); padding-left: 1ex;">
<blockquote class="gmail_quote"
style="margin: 0pt 0pt 0pt 0.8ex;
border-left: 1px solid rgb(204, 204,
204); padding-left: 1ex;">
Thanks in advance<br>
<br>
regards<br>
<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a moz-do-not-send="true"
href="mailto:Users@lists.opensips.org"
target="_blank">Users@lists.opensips.org</a><br>
<a moz-do-not-send="true"
href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote>
</blockquote>
_______________________________________________<br>
Users mailing list<br>
<a moz-do-not-send="true"
href="mailto:Users@lists.opensips.org"
target="_blank">Users@lists.opensips.org</a><br>
<a moz-do-not-send="true"
href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br>
</blockquote>
_______________________________________________<br>
Users mailing<br>
</blockquote>
list<br>
<blockquote class="gmail_quote"
style="margin: 0pt 0pt 0pt 0.8ex;
border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
<a moz-do-not-send="true"
href="mailto:Users@lists.opensips.org"
target="_blank">Users@lists.opensips.org</a><br>
<a moz-do-not-send="true"
href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br>
</blockquote>
_______________________________________________<br>
Users mailing list<br>
<a moz-do-not-send="true"
href="mailto:Users@lists.opensips.org"
target="_blank">Users@lists.opensips.org</a><br>
<a moz-do-not-send="true"
href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
_______________________________________________<br>
Users mailing list<br>
<a moz-do-not-send="true"
href="mailto:Users@lists.opensips.org"
target="_blank">Users@lists.opensips.org</a><br>
<a moz-do-not-send="true"
href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br>
</blockquote>
_______________________________________________<br>
Users mailing list<br>
<a moz-do-not-send="true"
href="mailto:Users@lists.opensips.org"
target="_blank">Users@lists.opensips.org</a><br>
<a moz-do-not-send="true"
href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br>
</blockquote>
_______________________________________________<br>
Users mailing list<br>
<a moz-do-not-send="true"
href="mailto:Users@lists.opensips.org"
target="_blank">Users@lists.opensips.org</a><br>
<a moz-do-not-send="true"
href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br>
</blockquote>
</blockquote>
_______________________________________________<br>
Users mailing list<br>
<a moz-do-not-send="true"
href="mailto:Users@lists.opensips.org"
target="_blank">Users@lists.opensips.org</a><br>
<a moz-do-not-send="true"
href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br>
</blockquote>
<br>
<br>
</blockquote>
<br>
_______________________________________________<br>
Users mailing list<br>
<a moz-do-not-send="true"
href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a moz-do-not-send="true"
href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
</body>
</html>