<!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 text="#000000" bgcolor="#ffffff">
Hi,<br>
Yes,<b> CUSTOMER_DEVICE_SIP_DOMAIN </b>is insert to "domain" table in
opensips's database.<br>
<br>
Le 31/08/2012 15:48, Binan AL Halabi a &eacute;crit&nbsp;:
<blockquote
 cite="mid:1346420939.23464.YahooMailClassic@web125301.mail.ne1.yahoo.com"
 type="cite">
  <table cellpadding="0" cellspacing="0" border="0">
    <tbody>
      <tr>
        <td
 style="font-family: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-size: inherit; line-height: inherit; font-size-adjust: inherit; font-stretch: inherit; -x-system-font: none;"
 valign="top">Hi,<br>
Is <b>CUSTOMER_DEVICE_SIP_DOMAIN defined in opensips</b> ?<br>
        <br>
//Binan<br>
        <br>
--- On <b>Fri, 8/31/12, Kevin Mathy <i><a class="moz-txt-link-rfc2396E" href="mailto:k.mathy@hexanet.fr">&lt;k.mathy@hexanet.fr&gt;</a></i></b>
wrote:<br>
        <blockquote
 style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>
From: Kevin Mathy <a class="moz-txt-link-rfc2396E" href="mailto:k.mathy@hexanet.fr">&lt;k.mathy@hexanet.fr&gt;</a><br>
Subject: Re: [OpenSIPS-Users] [Re: Routing problem with Record-Route]<br>
To: "Bogdan-Andrei Iancu" <a class="moz-txt-link-rfc2396E" href="mailto:bogdan@opensips.org">&lt;bogdan@opensips.org&gt;</a>, "OpenSIPS users
mailling list" <a class="moz-txt-link-rfc2396E" href="mailto:users@lists.opensips.org">&lt;users@lists.opensips.org&gt;</a><br>
Date: Friday, August 31, 2012, 5:53 AM<br>
          <br>
          <div id="yiv694493809"><span
 style="color: rgb(34, 34, 34); font-family: arial,sans-serif; font-size: 13px; background-color: rgb(255, 255, 255);">Hi
Bogdan,&nbsp;</span>
          <div
 style="color: rgb(34, 34, 34); font-family: arial,sans-serif; font-size: 13px; background-color: rgb(255, 255, 255);"><br>
          </div>
          <div
 style="color: rgb(34, 34, 34); font-family: arial,sans-serif; font-size: 13px; background-color: rgb(255, 255, 255);">We've
got some news about our problem with record-routes.</div>
          <div
 style="color: rgb(34, 34, 34); font-family: arial,sans-serif; font-size: 13px; background-color: rgb(255, 255, 255);">&nbsp;</div>
          <div
 style="color: rgb(34, 34, 34); font-family: arial,sans-serif; font-size: 13px; background-color: rgb(255, 255, 255);">In
fact, it seems that if we change Contact header sent by customer's
device, everything work fine. Explanations :</div>
          <div
 style="color: rgb(34, 34, 34); font-family: arial,sans-serif; font-size: 13px; background-color: rgb(255, 255, 255);"><br>
          </div>
          <div
 style="color: rgb(34, 34, 34); font-family: arial,sans-serif; font-size: 13px; background-color: rgb(255, 255, 255);">Before,
in all message sent by customer's device, particularly 200OK, Contact
header was like&nbsp;<b>Contact:
&lt;sip:+333XXXXXXXX@CUSTOMER_DEVICE_SIP_DOMAIN&gt;</b></div>
          <div
 style="color: rgb(34, 34, 34); font-family: arial,sans-serif; font-size: 13px; background-color: rgb(255, 255, 255);">In
this situation, OpenSIPS was unable to route correctly ACK messages
following this 200OK.</div>
          <div
 style="color: rgb(34, 34, 34); font-family: arial,sans-serif; font-size: 13px; background-color: rgb(255, 255, 255);"><br>
          </div>
          <div
 style="color: rgb(34, 34, 34); font-family: arial,sans-serif; font-size: 13px; background-color: rgb(255, 255, 255);">Then,
we've change the manner which Contact header is sent, and now it's like&nbsp;<b>Contact:
&lt;sip:+333XXXXXXXX@CUSTOMER_DEVICE_IP&gt;</b></div>
          <div
 style="color: rgb(34, 34, 34); font-family: arial,sans-serif; font-size: 13px; background-color: rgb(255, 255, 255);">And
in this situation, everything seems to be OK, all message, including
ACK, are correctly routed.</div>
          <div
 style="color: rgb(34, 34, 34); font-family: arial,sans-serif; font-size: 13px; background-color: rgb(255, 255, 255);"><br>
          </div>
          <div
 style="color: rgb(34, 34, 34); font-family: arial,sans-serif; font-size: 13px; background-color: rgb(255, 255, 255);">Further,
we are sure that DNS resolution of CUSTOMER_SIP_DOMAIN returns exactly
CUSTOMER_DEVICE_IP, so, it doesn't seems to be a DNS resolution
problem...</div>
          <div
 style="color: rgb(34, 34, 34); font-family: arial,sans-serif; font-size: 13px; background-color: rgb(255, 255, 255);"><br>
          </div>
          <div
 style="color: rgb(34, 34, 34); font-family: arial,sans-serif; font-size: 13px; background-color: rgb(255, 255, 255);">If
it can help you !</div>
          <div
 style="color: rgb(34, 34, 34); font-family: arial,sans-serif; font-size: 13px; background-color: rgb(255, 255, 255);"><br>
          </div>
          <div
 style="color: rgb(34, 34, 34); font-family: arial,sans-serif; font-size: 13px; background-color: rgb(255, 255, 255);">Thanks
a lot,&nbsp;</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&eacute;l&eacute;phone : 03.26.79.30.05</div>
          <div>Web : <a moz-do-not-send="true" rel="nofollow"
 target="_blank" href="http://www.hexanet.fr">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 &agrave; <b><a moz-do-not-send="true"
 rel="nofollow" ymailto="mailto:support@hexanet.fr" target="_blank"
 href="/mc/compose?to=support@hexanet.fr">support@hexanet.fr</a></b></div>
          <div><br>
          </div>
          <br>
          <br>
          <br>
          <div class="yiv694493809gmail_quote">2012/8/29 <span
 dir="ltr">&lt;<a moz-do-not-send="true" rel="nofollow"
 ymailto="mailto:mickael@winlux.fr" target="_blank"
 href="/mc/compose?to=mickael@winlux.fr">mickael@winlux.fr</a>&gt;</span><br>
          <blockquote class="yiv694493809gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi
Bogdan,<br>
we will do this debug before end of week or begin of next week and we
will<br>
send our results.<br>
            <br>
bye<br>
            <div class="yiv694493809im"><br>
&gt; Hi Kevin,<br>
&gt;<br>
&gt; This looks like OpenSIPS does not recognize the Route as its own
IPs and<br>
&gt; also seeing the next hop as a strict router.<br>
&gt;<br>
&gt; To sort this out in the fastest way, see my prev request on the
logs for<br>
&gt; ACK processing (with the debug=6).<br>
&gt;<br>
&gt; Regards,<br>
&gt;<br>
&gt; Bogdan-Andrei Iancu<br>
&gt; OpenSIPS Founder and Developer<br>
&gt; <a moz-do-not-send="true" rel="nofollow" target="_blank"
 href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a><br>
&gt;<br>
&gt;<br>
&gt; On 08/28/2012 03:22 PM, Kevin Mathy wrote:<br>
&gt;&gt; Hi Bogdan,<br>
&gt;&gt;<br>
&gt;&gt; I'm working with Mickael about this problem, and we have some<br>
&gt;&gt; informations which may help you (and then help us ;-) ) :<br>
&gt;&gt;<br>
&gt;&gt; We have found that "loose_route" function modify the
Request-URI<br>
&gt;&gt; variable ($ru), as you can see below :<br>
&gt;&gt;<br>
&gt;&gt; ACK message comes from provider, with $ru = <a
 moz-do-not-send="true" rel="nofollow"
 ymailto="mailto:sip%3A%2B333XXXXXXXX@6.6.6.6" target="_blank"
 href="/mc/compose?to=sip%3A%2B333XXXXXXXX@6.6.6.6">sip:+333XXXXXXXX@6.6.6.6</a><br>
            </div>
&gt;&gt; &lt;mailto:<a moz-do-not-send="true" rel="nofollow"
 ymailto="mailto:sip%253A%252B333XXXXXXXX@6.6.6.6" target="_blank"
 href="/mc/compose?to=sip%253A%252B333XXXXXXXX@6.6.6.6">sip%3A%2B333XXXXXXXX@6.6.6.6</a>&gt;<br>
            <div class="yiv694493809im">&gt;&gt; After, loose_route
function is executed, and $ru become like $ru<br>
&gt;&gt; =<br>
&gt;&gt;
sip:7.7.7.7;lr;r2=on;ftag=c97942d9-13c4-503ca77b-ef8c9eef-760f27a5;xyz=c12.18aedaa5<br>
&gt;&gt;<br>
&gt;&gt; The last $ru value results from a Route header<br>
&gt;&gt;<br>
&gt;&gt; For information, Record-route of previous message (200OK) is
composed<br>
&gt;&gt; with two record-route in the same field, comma separated.<br>
&gt;&gt; Is Opensips 1.6.4 able to interpret this type of Record-route ?<br>
&gt;&gt;<br>
&gt;&gt; Is loose_route function using Route headers of previous
messages<br>
&gt;&gt; (200OK before ACK) to route this message ? Or is it using only
actual<br>
&gt;&gt; message's Route headers ?<br>
&gt;&gt;<br>
&gt;&gt; Thanks in advance,<br>
&gt;&gt; If you need further informations, feel free to ask us.<br>
&gt;&gt;<br>
&gt;&gt; Regards,<br>
&gt;&gt;<br>
            </div>
&gt;&gt; *Kevin MATHY*<br>
&gt;&gt; *HEXANET*<br>
&gt;&gt; *<br>
&gt;&gt; --<br>
&gt;&gt; *<br>
&gt;&gt; T&eacute;l&eacute;phone : 03.26.79.30.05<br>
&gt;&gt; Web : <a moz-do-not-send="true" rel="nofollow" target="_blank"
 href="http://www.hexanet.fr">www.hexanet.fr</a> &lt;<a
 moz-do-not-send="true" rel="nofollow" target="_blank"
 href="http://www.hexanet.fr">http://www.hexanet.fr</a>&gt;<br>
&gt;&gt;<br>
&gt;&gt; Pour toute demande de support, merci de contacter le
*03.51.08.42.07*,<br>
&gt;&gt; ou bien d'adresser un e-mail &agrave; *<a moz-do-not-send="true"
 rel="nofollow" ymailto="mailto:support@hexanet.fr" target="_blank"
 href="/mc/compose?to=support@hexanet.fr">support@hexanet.fr</a><br>
&gt;&gt; &lt;mailto:<a moz-do-not-send="true" rel="nofollow"
 ymailto="mailto:support@hexanet.fr" target="_blank"
 href="/mc/compose?to=support@hexanet.fr">support@hexanet.fr</a>&gt;<br>
          </blockquote>
          </div>
          </div>
          <br>
-----Inline Attachment Follows-----<br>
          <br>
          <div class="plainMail">_______________________________________________<br>
Users mailing list<br>
          <a moz-do-not-send="true"
 ymailto="mailto:Users@lists.opensips.org"
 href="/mc/compose?to=Users@lists.opensips.org">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>
        </blockquote>
        </td>
      </tr>
    </tbody>
  </table>
  <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
  </pre>
</blockquote>
<br>
</body>
</html>