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:
sip:testuser1@[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: <script>: Relaying request, fs='udp:[x::y]:5060' - M=INVITE
R=sip:testuser1@[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?
Andreas
On 12/14/2011 06:28 PM, Andreas Granig wrote:
Hey Daniel,
On 12/14/2011 06:00 PM, Daniel-Constantin Mierla wrote:
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()?
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
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users