Dear Daniel,
Greetings and Happy New year to you all! I would like to thank you very much for your
detailed and well structured tutorials on Kamailio. I am resending this email as I sent
the earlier one before I was a member of the mailing list and I thought it may have been
sent to the spam folder. If not then, I apologize for double posting.
I was trying to design a similar scenario like the one " Run your own SIP VoIP
service on both IPv4 and IPv6 " as explained on Asipto
web-page(http://kb.asipto.com/kamailio:kamailio-mixed-ipv4-ipv6). However I ran into
difficulties with rtpproxy. The proxy is not routing media packets as it should. I
followed the instruction regarding the kamailio.cfg file and edited the necessary lines
according to my settings. I think my problem comes from setting up the rtpproxy.
1. I edited the /etc/default/rtpproxy file. i.e. I uncommented the line -
CONTROL_SOCK="unix:/var/run/rtpproxy/rtpproxy.sock"
2. I started the rtpproxy with this command: rtpproxy -F -l ADDR_IPV4 -6 /ADDR_IPV6 .
However, after this command the system returns the message : rtpproxy: setbindhost: No
address associated with hostname
It displays the same message even when I replace ADDR_IPV4 and ADDR_IPV6 with IP
addresses.
3. I have also tried using the udp socket:- CONTROL_SOCK=udp:127.0.0.1:22222, of course I
have replaced the unix socket by this udp socket in the kamilio.cfg file.
So my question is, what did I do wrong with the settings that SIP messages are traversing
normal from IPv4 client to IPv6 client and vice versa but media files(RTP packets) are
not? The rtpproxy receives the media files from one client but fails to forward them to
the other client.
Thanks for your help.
Maedot