<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    On 12/14/11 7:12 PM, Andreas Granig wrote:
    <blockquote cite="mid:4EE8E703.6070508@sipwise.com" type="cite">
      <pre wrap="">Hey,

One more thing related to outbound routing. Maybe this question is
stupid, but I still have to learn a lot regarding IPv6 :)

So my Jitsi registered fine, the contact in location table looks like this:

contact:
<a class="moz-txt-link-freetext" href="sip:testuser1@">sip:testuser1@</a>[x::x]:5060;transport=udp;registering_acc=192_168_51_133

When I call this AoR (from an IPv4 subscriber, but that shouldn't
matter), it's being loaded into R-URI, I select my IPv6 socket using
$fs, then do the relay. However, I get this error in my logs (first line
is my log message before t_relay):

INFO: &lt;script&gt;: Relaying request, fs='udp:[x::y]:5060' - M=INVITE
R=<a class="moz-txt-link-freetext" href="sip:testuser1@">sip:testuser1@</a>[2a00:4600:1:0:18fc:aeff:fea0:e6af]:5060;transport=udp;registering_acc=192_168_51_133

ERROR: tm [ut.h:295]: ERROR: uri2dst: failed to resolve "[x::x]"
:unresolvable A or AAAA request (-7)

Is there something I haven't considered yet? Why would it try a DNS
lookup for this R-URI?</pre>
    </blockquote>
    is it failing over all or is the request forwarded?<br>
    <br>
    Might be an wrong condition to detect it's ip -- the sources have to
    be checked.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <blockquote cite="mid:4EE8E703.6070508@sipwise.com" type="cite">
      <pre wrap="">

Andreas

On 12/14/2011 06:28 PM, Andreas Granig wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">Hey Daniel,

On 12/14/2011 06:00 PM, Daniel-Constantin Mierla wrote:
</pre>
        <blockquote type="cite">
          <pre wrap="">is the ipv6 address in between square brackets (can you give exact usage
of the foce_send_socket())? It should work as the bridging ipv4-ipv6 is
using the same mechanism -- may be an issue with the exported function
to config, though. Can you try to set $fs as alternative to
force_send_socket()?
</pre>
        </blockquote>
        <pre wrap="">
I tried both ways, like force_send_socket(x::x:5060); and
force_send_socket([x::x]:5060); - both resulting in the same error.

However, doing $fs="[x::x]:5060"; works perfectly fine, thanks for the hint!

A fix for force_send_socket would maybe still be good to not confuse people.

Thanks,
Andreas




_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <br>
        <pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a></pre>
      </blockquote>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla -- <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://linkedin.com/in/miconda">http://linkedin.com/in/miconda</a> -- <a class="moz-txt-link-freetext" href="http://twitter.com/miconda">http://twitter.com/miconda</a></pre>
  </body>
</html>