<html><body><div style="color:#000; background-color:#fff; font-family:tahoma, new york, times, serif;font-size:10pt"><div><span>Thank you very much Sammy :)</span></div><div><span></span>&nbsp;</div><div><span>I am now better aquinted with rtpproxy, but my problem still exists. The rtpproxy server does infact try to do its job. It replaces the IN IP address by its own address everytime it forwards SIP INVITE messages but the callee UA does not respond. The wireshark output says that the packets are too long or&nbsp;unrecognised SIP header.</span></div><div>&nbsp;Any ideas ???</div><div>&nbsp;</div><div>Thank you for your help?</div><div>&nbsp;</div><div>Regards</div><div>Maedot<br></div>  <div style="font-family: tahoma, new york, times, serif; font-size: 10pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <font size="2" face="Arial"> <div style="margin: 5px 0px; padding: 0px; border: 1px solid rgb(204, 204,
 204); height: 0px; line-height: 0; font-size: 0px;" class="hr" contentEditable="false" readonly="true"></div>  <b><span style="font-weight: bold;">From:</span></b> Sammy Govind &lt;govoiper@gmail.com&gt;<br> <b><span style="font-weight: bold;">To:</span></b> nunu abe &lt;nunu_abe@yahoo.com&gt; <br><b><span style="font-weight: bold;">Cc:</span></b> SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) - Users Mailing List &lt;sr-users@lists.sip-router.org&gt; <br> <b><span style="font-weight: bold;">Sent:</span></b> Friday, January 6, 2012 12:02 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [SR-Users] RTPproxy on Kamailio 3.2.1 difficulty.<br> </font> <br><div id="yiv195300287">Congrats so now RTPproxy issue has been resolved and Kamailio is saying that support for it has been enables.<div>&nbsp;Next thing is ...ignore the reverse resolving of IPv6 IP !! thats not an issue at all for now.</div><div><br>
</div><div>The error you are receiving is due to sip PUBLISH method ... that can be a bug in Kamailio or anything on which I can't comment any better than you.</div><div><br></div><div>I hope some other gy take over the thread from here and see if this _IS_ really an issue or not, if so why is this here then !!</div>
<div><br></div><div>Regards,</div><div>Sammy.</div><div><br><br><div class="yiv195300287gmail_quote">On Fri, Jan 6, 2012 at 3:37 PM, nunu abe <span dir="ltr">&lt;<a href="mailto:nunu_abe@yahoo.com" rel="nofollow" target="_blank" ymailto="mailto:nunu_abe@yahoo.com">nunu_abe@yahoo.com</a>&gt;</span> wrote:<br>
<blockquote style="margin: 0px 0px 0px 0.8ex; padding-left: 1ex; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid;" class="yiv195300287gmail_quote"><div><div style="color: rgb(0, 0, 0); font-family: lucida console, sans-serif; font-size: 10pt; background-color: rgb(255, 255, 255);"><div style="font-family: tahoma, new york, times, serif;">
<span>Hi,</span></div><div style="font-family: tahoma, new york, times, serif;"><br><span></span></div><div style="font-family: tahoma, new york, times, serif;"><span>I commented out the unix socket in the modparam as instructed and there is still no change.</span></div>
<div style="font-family: tahoma, new york, times, serif;"><span><br></span></div><div style="font-family: tahoma, new york, times, serif;"><span>1. The rtpproxy was listening to port 7722, but to make sure I stopped it and restarted it with the command: <br>
</span><span>&nbsp;&nbsp;&nbsp; </span><span>xxx@DualStackCS:~$ sudo netstat -pln |grep rtpp<br></span><span>&nbsp;&nbsp;&nbsp; </span><span>udp&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0
 <a  href="http://127.0.0.1:7722" rel="nofollow" target="_blank">127.0.0.1:7722</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.0.0.0:*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 860/rtpproxy&nbsp;&nbsp;&nbsp;&nbsp;</span></div><div style="font-family: tahoma, new york, times, serif;"><br><span></span></div><div style="font-family: tahoma, new york, times, serif;">
<span></span><span>&nbsp;&nbsp;&nbsp; </span><span>xxx@DualStackCS:~$ sudo /etc/init.d/rtpproxy restart<br></span><span>&nbsp;&nbsp;&nbsp; </span><span>Restarting RTP relay: rtpproxy.</span></div><div style="font-family: tahoma, new york, times, serif;"><br>
<span></span></div><div style="font-family: tahoma, new york, times, serif;"><span></span><span>&nbsp;&nbsp;&nbsp; </span><span>xxxxx@DualStackCS:~$ sudo netstat -pln |grep rtpp<br></span><span>&nbsp;&nbsp;&nbsp;
 </span><span>udp&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 <a  href="http://127.0.0.1:7722" rel="nofollow" target="_blank">127.0.0.1:7722</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.0.0.0:*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2303/rtpproxy&nbsp;&nbsp;&nbsp;</span></div><div style="font-family: tahoma, new york, times, serif;">
<br><span></span></div><div style="font-family: tahoma, new york, times, serif;"><span></span><span>&nbsp;&nbsp;&nbsp; </span><span>xxxx@DualStackCS:~$ sudo /etc/init.d/rtpproxy stop<br></span><span>&nbsp;&nbsp;&nbsp; </span><span>Stopping RTP relay: rtpproxy.<br>
</span><span>&nbsp;&nbsp; <br></span></div><div style="font-family: tahoma, new york, times, serif;"><span>&nbsp;&nbsp; </span><span>xxxxx@DualStackCS:~$ sudo netstat -pln |grep rtpp<br></span><span>&nbsp;&nbsp;&nbsp;
 </span><span>xxxxx@DualStackCS:~$ sudo rtpproxy -F -l 10.10.10.10 -6 /3001:0:0:1::10 -s udp:<a  href="http://127.0.0.1:7722" rel="nofollow" target="_blank">127.0.0.1:7722</a><br></span><span>&nbsp;&nbsp;&nbsp; </span><span>xxxxx@DualStackCS:~$ sudo netstat -pln |grep rtpp<br>
</span><span>&nbsp;&nbsp;&nbsp;&nbsp;</span><span></span><span>udp&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 <a  href="http://127.0.0.1:7722" rel="nofollow" target="_blank">127.0.0.1:7722</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.0.0.0:*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2366/rtpproxy&nbsp;&nbsp; <br><br>2.Kamailio service started without error message but with this warning:<br>
&nbsp;</span><span>&nbsp;&nbsp;&nbsp; </span><span>0(1549) WARNING: &lt;core&gt; [socket_info.c:1275]: WARNING: fix_hostname: could not rev. resolve 3001:0:0:1:0:0:0:10<br><br>&nbsp;</span><span>&nbsp;&nbsp;&nbsp; </span><span>16(2422) DEBUG: &lt;core&gt; [sr_module.c:892]: DEBUG: init_mod_child (11): nathelper<br>
&nbsp;</span><span>&nbsp;&nbsp;&nbsp; </span><span>16(2422) DEBUG: &lt;core&gt; [sr_module.c:892]: DEBUG: init_mod_child (11): rtpproxy<br>&nbsp;</span><span>&nbsp;&nbsp;&nbsp; </span><span>15(2421) INFO: rtpproxy [rtpproxy.c:1415]: rtp proxy &lt;udp:localhost:7722&gt; found, support for it enabled<br>
<br>3.As soon as clients register, these errors appear in the logs <br>(similar errors appear even more frequently while making a call, shown in the attachment):<br>&nbsp;7(2407) DEBUG: &lt;core&gt; [parser/msg_parser.c:630]:&nbsp; method:&nbsp; &lt;PUBLISH&gt;<br>
&nbsp;7(2407) DEBUG: &lt;core&gt; [parser/msg_parser.c:632]:&nbsp; uri:&nbsp;&nbsp;&nbsp;&nbsp; &lt;sip:300@[3001:0:0:1::10]&gt;<br>&nbsp;7(2407) DEBUG: &lt;core&gt; [parser/msg_parser.c:634]:&nbsp; version: &lt;SIP/2.0&gt;<br>&nbsp;7(2407)
 DEBUG: &lt;core&gt; [parser/parse_via.c:1288]: Found param type 232, &lt;branch&gt; = &lt;z9hG4bK3847&gt;; state=16<br>&nbsp;7(2407) DEBUG: &lt;core&gt; [parser/parse_via.c:2563]: end of header reached, state=5<br>&nbsp;7(2407) DEBUG: &lt;core&gt; [parser/msg_parser.c:515]: parse_headers: Via found, flags=2<br>
&nbsp;7(2407) DEBUG: &lt;core&gt; [parser/msg_parser.c:517]: parse_headers: this is the first via<br>&nbsp;7(2407) DEBUG: &lt;core&gt; [receive.c:147]: After parse_msg...<br>&nbsp;7(2407) DEBUG: &lt;core&gt; [receive.c:188]: preparing to run routing scripts...<br>
&nbsp;7(2407) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=464 a=6 n=route<br>&nbsp;7(2407) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=573 a=17 n=if<br>&nbsp;7(2407) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=568 a=26 n=mf_process_maxfwd_header<br>
&nbsp;<br>&nbsp;6(2406) ERROR: *** cfgtrace:
 c=[/usr/local/etc/kamailio/kamailio.cfg] l=744 a=26 n=is_method<br>&nbsp;6(2406) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=767 a=25 n=consume_credentials<br>&nbsp;6(2406) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=780 a=3 n=return<br>
&nbsp;6(2406) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=489 a=26 n=remove_hf<br>&nbsp;6(2406) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=500 a=6 n=route<br>&nbsp;6(2406) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=704 a=27 n=sl_send_reply<br>
<br>&nbsp;4(2458) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=467 a=6 n=route<br>&nbsp;4(2458) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=789 a=17 n=if<br>&nbsp;4(2458) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=789 a=57 n=force_rport<br>
&nbsp;4(2458) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=799
 a=17 n=if<br>&nbsp;4(2458) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=790 a=26 n=nat_uac_test<br>&nbsp;4(2458) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=795 a=17 n=if<br>&nbsp;4(2458) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=791 a=26 n=is_method<br>
&nbsp;4(2458) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=792 a=25 n=fix_nated_register<br>&nbsp;4(2458) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=796 a=40 n=setflag<br>&nbsp;4(2458) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=799 a=3 n=return<br>
&nbsp;4(2458) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=470 a=6 n=route<br>&nbsp;4(2458) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=617 a=17 n=if<br>&nbsp;4(2458) ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio/kamailio.cfg] l=582 a=25 n=has_totag</span></div>
<div style="font-family: tahoma, new york, times, serif;"><br></div><div style="font-family: tahoma, new york, times, serif;">So still lost in this issue.</div><div style="font-family: tahoma, new york, times, serif;">Thanks for your help!</div>
<div style="font-family: tahoma, new york, times, serif;"><br></div><div style="font-family: tahoma, new york, times, serif;">Regards,</div><div><span style="font-family: tahoma, new york, times, serif;">Maedot</span><br></div>  <div style="font-family: lucida console, sans-serif; font-size: 10pt;">
 <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <font face="Arial"> <div style="margin: 5px 0px; padding: 0px; border: 1px solid rgb(204, 204, 204); height: 0px; line-height: 0; font-size: 0px;" class="hr" contentEditable="false" readonly="true"></div><div class="yiv195300287im">  <b><span style="font-weight: bold;">From:</span></b> Sammy Govind &lt;<a href="mailto:govoiper@gmail.com" rel="nofollow" target="_blank" ymailto="mailto:govoiper@gmail.com">govoiper@gmail.com</a>&gt;<br>
 <b><span style="font-weight: bold;">To:</span></b> nunu abe &lt;<a href="mailto:nunu_abe@yahoo.com" rel="nofollow" target="_blank" ymailto="mailto:nunu_abe@yahoo.com">nunu_abe@yahoo.com</a>&gt;; SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) - Users Mailing List &lt;<a href="mailto:sr-users@lists.sip-router.org" rel="nofollow" target="_blank" ymailto="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>&gt; <br>
 </div><b><span style="font-weight: bold;">Sent:</span></b> Friday, January 6, 2012 10:06 AM<div><div class="yiv195300287h5"><br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [SR-Users] RTPproxy on Kamailio 3.2.1 difficulty.<br>
 </div></div></font><div><div class="yiv195300287h5"> <br>
<div>Don't forget to change the modparams for RTPproxy as&nbsp;<div><br></div><div><span style="color: rgb(80, 0, 80); font-size: 13px; background-color: rgb(255, 255, 255);">modparam("rtpproxy", "rtpproxy_sock", "udp:localhost:7722")</span><br style="color: rgb(80, 0, 80); font-size: 13px; background-color: rgb(255, 255, 255);">

<span style="color: rgb(80, 0, 80); font-size: 13px; background-color: rgb(255, 255, 255);"># modparam</span><span style="color: rgb(80, 0, 80); font-size: 13px; background-color: rgb(255, 255, 255);">(</span><span style="color: rgb(80, 0, 80); font-size: 13px; background-color: rgb(255, 255, 255);">"rtpproxy"</span><span style="color: rgb(80, 0, 80); font-size: 13px; background-color: rgb(255, 255, 255);">,</span><span style="color: rgb(80, 0, 80); font-size: 13px; background-color: rgb(255, 255, 255);">&nbsp;</span><span style="color: rgb(80, 0, 80); font-size: 13px; background-color: rgb(255, 255, 255);">"rtpproxy_sock"</span><span style="color: rgb(80, 0, 80); font-size: 13px; background-color: rgb(255, 255, 255);">,</span><span style="color: rgb(80, 0, 80); font-size: 13px; background-color: rgb(255, 255, 255);">&nbsp;</span><span style="color: rgb(80, 0, 80); font-size: 13px; background-color: rgb(255, 255,
 255);">"unix:/var/run/rtpproxy/rtpproxy.sock"</span><span style="color: rgb(80, 0, 80); font-size: 13px; background-color: rgb(255, 255, 255);">)</span>&nbsp;<br>

<br><br><div>On Fri, Jan 6, 2012 at 2:05 PM, Sammy Govind <span dir="ltr">&lt;<a href="mailto:govoiper@gmail.com" rel="nofollow" target="_blank" ymailto="mailto:govoiper@gmail.com">govoiper@gmail.com</a>&gt;</span> wrote:<br><blockquote style="margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid;">

Hi,<div><br></div><div>Kamailio is trying to communicate to RTproxy using port&nbsp;
<span style="font-size: 13px; background-color: rgb(255, 255, 255);">7722</span>&nbsp;, execute the command</div><div><br></div><div>#<font face="'courier new', monospace"> netstat -pln | grep rtpp</font></div>

<div><br></div><div>and see if your rtpproxy is even listening on that interface, which it isn't for sure.</div><div><br>No if above is true then stop rtpproxy and start rtpproxy using the b/m command</div><div><br></div>


<div><span style="background-color: rgb(255, 255, 255);">#</span><font face="'courier new', monospace"><span style="background-color: rgb(255, 255, 255);">sudo rtpproxy -F -l 10.10.10.10 -6 /3001:0:0:1::10&nbsp;</span><span style="background-color: rgb(0, 0, 0);"><span style="text-align: left; color: rgb(204, 204, 204); line-height: 20px; font-size: 15px;">-s udp:<a  href="http://127.0.0.1:7722" rel="nofollow" target="_blank">127.0.0.1:7722</a></span>&nbsp;</span></font><br>


<br>confirm using the netstat command that RTPproxy is indeed listening on 7722 port, if yes restart Kamailio and make sure you don't see kamailio complaining about not connecting to RTPproxy anymore.</div><div><br></div>


<div><br></div><div>Regards,</div><div>Sammy.</div><div><div><div><br><div>On Fri, Jan 6, 2012 at 1:31 PM, nunu abe <span dir="ltr">&lt;<a href="mailto:nunu_abe@yahoo.com" rel="nofollow" target="_blank" ymailto="mailto:nunu_abe@yahoo.com">nunu_abe@yahoo.com</a>&gt;</span> wrote:<br>


<blockquote style="margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid;"><div><div style="color: rgb(0, 0, 0); font-family: lucida console, sans-serif; font-size: 10pt; background-color: rgb(255, 255, 255);">
<span><div><span>Hi,</span></div>

<div><span></span>&nbsp;</div><div><span>I have already posted this message but it was sent only to Sammy <font face="Arial">Govind somehow, not to the mailing list. So I am posting it again to the list. I am sorry if this is double posting or&nbsp;if this is not the right way to do it.</font></span></div>


<div><span><font face="Arial"></font></span>&nbsp;</div><div><span><font face="Arial">**Original message***</font></span></div><div><div><span></span>&nbsp;</div><div><span></span>&nbsp;</div><div><span>Hi Sammy</span></div><div>
<span></span> </div><div><span>These are the params from my kamilio cfg file. Just a reminder, the whole cfg file is copied from the link: <a href="http://kb.asipto.com/kamailio:kamailio-mixed-ipv4-ipv6" rel="nofollow" target="_blank"><span><font color="#0066cc">http://kb.asipto.com/kamailio:kamailio-mixed-ipv4-ipv6</font></span></a>, i just edited the IP addresses and DB_URL line to fit my settings.</span></div>


<div><span></span> </div><div><span><span>#!ifdef WITH_NAT</span><br><span># ----- rtpproxy params -----</span><br><span># modparam("rtpproxy", "rtpproxy_sock", "udp:localhost:7722")</span><br>


modparam<span>(</span><span>"rtpproxy"</span><span>,</span> <span>"rtpproxy_sock"</span><span>,</span> <span>"unix:/var/run/rtpproxy/rtpproxy.sock"</span><span>)</span><br> <br><span># ----- nathelper params -----</span><br>


modparam<span>(</span><span>"nathelper"</span><span>,</span> <span>"natping_interval"</span><span>,</span> <span>30</span><span>)</span><br>modparam<span>(</span><span>"nathelper"</span><span>,</span> <span>"ping_nated_only"</span><span>,</span> <span>1</span><span>)</span><br>


modparam<span>(</span><span>"nathelper"</span><span>,</span> <span>"sipping_bflag"</span><span>,</span> FLB_NATSIPPING<span>)</span><br>modparam<span>(</span><span>"nathelper"</span><span>,</span> <span>"sipping_from"</span><span>,</span> <span>"<a href="mailto:sip%3Apinger@kamailio.org" rel="nofollow" target="_blank" ymailto="mailto:sip%3Apinger@kamailio.org">sip:pinger@kamailio.org</a>"</span><span>)</span><br>


 <br><span># params needed for NAT traversal in other modules</span><br>modparam<span>(</span><span>"nathelper|registrar"</span><span>,</span> <span>"received_avp"</span><span>,</span> <span>"$avp(RECEIVED)"</span><span>)</span><br>


modparam<span>(</span><span>"usrloc"</span><span>,</span> <span>"nat_bflag"</span><span>,</span> FLB_NATB<span>)</span><br><span>#!endif</span><br></span></div><div>I
 have tried to use both unix and UDP sockets each at a time.I removed the square braces from the IP addresses in the rtpproxy default files and its no more complainig about the "<span>rtpproxy: setbindhost: No <span><span>address</span></span>            associated with hostname</span>" but still have the same messages in the logs.<br>


</div><div> </div><div>Thank you four your help.</div><div> </div><div>Regards,</div><div>Maedot</div></div></span></div><div><br></div>  <div style="font-family: lucida console, sans-serif; font-size: 10pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;">


 <font face="Arial"> <div style="margin: 5px 0px; padding: 0px; border: 1px solid rgb(204, 204, 204); line-height: 0pt; font-size: 0px; min-height: 0px;"></div>  <b><span style="font-weight: bold;">From:</span></b> Sammy Govind &lt;<a href="mailto:govoiper@gmail.com" rel="nofollow" target="_blank" ymailto="mailto:govoiper@gmail.com">govoiper@gmail.com</a>&gt;<div>


<br> <b><span style="font-weight: bold;">To:</span></b> nunu abe &lt;<a href="mailto:nunu_abe@yahoo.com" rel="nofollow" target="_blank" ymailto="mailto:nunu_abe@yahoo.com">nunu_abe@yahoo.com</a>&gt;; SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) - Users Mailing List &lt;<a href="mailto:sr-users@lists.sip-router.org" rel="nofollow" target="_blank" ymailto="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>&gt; <br>


 </div><b><span style="font-weight: bold;">Sent:</span></b> Thursday, January 5, 2012 8:13 PM<div><br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [SR-Users] RTPproxy on Kamailio 3.2.1 difficulty.<br>
 </div></font> <br>
<div><div><div>hi,<div><br></div><div>quick look at your logs,</div><div><br></div><div><pre style="white-space: pre-wrap; word-wrap: break-word;">14(1596) ERROR: rtpproxy [rtpproxy.c:1466]: can't connect to RTP proxy
15(1597) DEBUG: &lt;core&gt; [sr_module.c:892]: DEBUG: init_mod_child (10): nathelper
14(1596) ERROR: rtpproxy [rtpproxy.c:1538]: proxy &lt;unix:/var/run/rtpproxy/rtpproxy.sock&gt; does not respond, disable it
 5(1584) DEBUG: db_mysql [km_my_con.c:123]: server version is 5.1.41-3ubuntu12.10
14(1596) WARNING: rtpproxy [rtpproxy.c:1395]: can't get version of the RTP proxy
14(1596) WARNING: rtpproxy [rtpproxy.c:1432]: support for RTP proxy &lt;unix:/var/run/rtpproxy/rtpproxy.sock&gt; has been disabled temporarily
14(1596) DEBUG: &lt;core&gt; [sr_module.c:892]: DEBUG: init_mod_child (9): debugger
 5(1584) DEBUG: &lt;core&gt; [sr_module.c:892]: DEBUG: init_mod_child (5): nathelper
14(1596) DEBUG: debugger [debugger_mod.c:124]: rank is (9)
 5(1584) DEBUG: &lt;core&gt; [sr_module.c:892]: DEBUG: init_mod_child (5): rtpproxy
 5(1584) ERROR: rtpproxy [rtpproxy.c:1466]: can't connect to RTP proxy
 5(1584) ERROR: rtpproxy [rtpproxy.c:1538]: proxy &lt;unix:/var/run/rtpproxy/rtpproxy.sock&gt; does not respond, disable it
 5(1584) WARNING: rtpproxy [rtpproxy.c:1395]: can't get version of the RTP proxy
 5(1584) WARNING: rtpproxy [rtpproxy.c:1432]: support for RTP proxy &lt;unix:/var/run/rtpproxy/rtpproxy.sock&gt; has been disabled temporarily
 5(1584) DEBUG: &lt;core&gt; [sr_module.c:892]: DEBUG: init_mod_child (5): debugger
 5(1584) DEBUG: debugger [debugger_mod.c:124]: rank is (5)
15(1597) DEBUG: &lt;core&gt; [sr_module.c:892]: DEBUG: init_mod_child (10): rtpproxy
15(1597) ERROR: rtpproxy [rtpproxy.c:1466]: can't connect to RTP proxy
15(1597) ERROR: rtpproxy [rtpproxy.c:1538]: proxy &lt;unix:/var/run/rtpproxy/rtpproxy.sock&gt; does not respond, disable it
15(1597) WARNING: rtpproxy [rtpproxy.c:1395]: can't get version of the RTP proxy
15(1597) WARNING: rtpproxy [rtpproxy.c:1432]: support for RTP proxy &lt;unix:/var/run/rtpproxy/rtpproxy.sock&gt; has been disabled temporarily
15(1597) DEBUG: &lt;core&gt; [sr_module.c:892]: DEBUG: init_mod_child (10): debugger</pre><div><br></div><div><br></div>paste the rtpproxy/nathelper module params lines which are in your kamailio.cfg.</div><div><br></div>



<div>regards,</div><div>sammy</div><div><br></div></div></div><div><br><div><div><div>On Wed, Jan 4, 2012 at 7:59 PM, nunu abe <span dir="ltr">&lt;<a href="mailto:nunu_abe@yahoo.com" rel="nofollow" target="_blank" ymailto="mailto:nunu_abe@yahoo.com">nunu_abe@yahoo.com</a>&gt;</span> wrote:<br>



</div></div><blockquote style="margin: 0px 0px 0px 0.8ex; padding-left: 1ex; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid;"><div><div style="color: rgb(0, 0, 0); font-family: times new roman, new york, times, serif; font-size: 12pt; background-color: rgb(255, 255, 255);">


<div><div><div>
<span><font style="font-family: lucida console, sans-serif;" size="2"><span>Thank you Sammy for noticing :)</span><br><br><span>Now I have a bit of different but same problem. After the earlier posting the message I decided to start everything from scratch and I installed everything new. </span><br>



<span>But I still have problem. The rtpproxy server is not working, it fails to replace the IP address of the sender in the SDP and hence there is no RTP communication.</span><br>These are the steps I followed:<br><br><br>



<span>1. Freshly installed kamailio 3.2.1 on Kubuntu from GIT</span><br><br>2. Installed mysql server<br><br>4. installed rtpproxy, changed its user to be kamailio.<br><br>3.Copied the provided kamailio.cfg file from the link and edited the IP addresses and the DBURL to reflect my settings<br>



<br>4. Uncommented
 the Control socket line and added these lines in the /etc/default/rtpproxy file<br>&nbsp; CONTROL_SOCK="unix:/var/run/rtpproxy/rtpproxy.sock"<br>&nbsp; ADDR_IPV4=[10.10.10.10]<br>&nbsp; ADDR_IPV6=[3001:0:0:1::10]<br>&nbsp; EXTRA_OPTS="-l {ADDR_IPV4} -6 /{ADDR_IPV6}"<br>



<br>*** I aslso tried without adding the last three lines, but it made no difference.***<br><br><span>5. Started rtpproxy in a bridge mode</span><br><br>xxxx@DualStackCS:~$ sudo rtpproxy -F -l 10.10.10.10 -6 /3001:0:0:1::10 <br>



*** I have also tried to start it this way :xxxx@DualStackCS:~$ sudo rtpproxy -F -l 10.10.10.10 -6 /3001:0:0:1::10 -s unix:/var/run/rtpproxy/rtpproxy.sock&nbsp; - but no difference****<br><br>xxxx@DualStackCS:~$ ps aux|grep rtpproxy<br>



root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1522&nbsp; 0.0&nbsp; 0.0&nbsp; 11384&nbsp;&nbsp; 696 ?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Ssl&nbsp; 15:31&nbsp;&nbsp; 0:00 rtpproxy -F -l 10.10.10.10 -6&nbsp;
 3001:0:0:1::10<br>xxxx&nbsp;&nbsp;&nbsp; 1528&nbsp; 0.0&nbsp; 0.0&nbsp;&nbsp; 3324&nbsp;&nbsp; 804 pts/1&nbsp;&nbsp;&nbsp; S+&nbsp;&nbsp; 15:31&nbsp;&nbsp; 0:00 grep --color=auto rtpproxy<br><br>xxxxx@DualStackCS:~$ sudo /etc/init.d/kamailio start<br><br><br>6. Started kamailio<br>@DualStackCS:~$ sudo /etc/init.d/kamailio restart<br>



<br>I have attached the log file.<br><br>Many thanks for your help.<br><br>Regards,<br><br><span>Maedot</span></font></span></div><div><br></div>  </div></div><div><div><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;">



 <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <font face="Arial"> <div style="margin: 5px 0px; padding: 0px; border: 1px solid rgb(204, 204, 204); line-height: 0pt; font-size: 0px; min-height: 0px;">

</div>  <b><span style="font-weight: bold;">From:</span></b> Sammy Govind &lt;<a href="mailto:govoiper@gmail.com" rel="nofollow" target="_blank" ymailto="mailto:govoiper@gmail.com">govoiper@gmail.com</a>&gt;<br>
 <b><span style="font-weight: bold;">To:</span></b> <a href="mailto:miconda@gmail.com" rel="nofollow" target="_blank" ymailto="mailto:miconda@gmail.com">miconda@gmail.com</a>; SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) - Users Mailing List
 &lt;<a href="mailto:sr-users@lists.sip-router.org" rel="nofollow" target="_blank" ymailto="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>&gt; <br> <b><span style="font-weight: bold;">Sent:</span></b> Tuesday, January 3, 2012 2:04 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [SR-Users] RTPproxy on Kamailio 3.2.1 difficulty.<br>



 </font><div><div> <br>
<div>Hi,<div><br></div><div>I had a good laugh when I read the reply, but going through the whole thread again I found this:</div><div>"
<span style="font-size: 16px; background-color: rgb(255, 255, 255);">It displays the same message&nbsp;even when I replace ADDR_IPV4 and ADDR_IPV6 with IP addresses.</span>&nbsp;"</div>
<div><br></div><div>So there _IS_ some problem here.</div><div><br></div><div>Nuno, can you please copy paste the exact command which you executing, plus paste the logs,</div><div><br></div><div>--</div><div>Regards,</div>




<div>Sammy.</div><div><br><div>On Tue, Jan 3, 2012 at 2:22 PM, Daniel-Constantin Mierla <span dir="ltr">&lt;<a href="mailto:miconda@gmail.com" rel="nofollow" target="_blank" ymailto="mailto:miconda@gmail.com">miconda@gmail.com</a>&gt;</span> wrote:<br><blockquote style="margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid;">





  
    
  
  <div>
    Hello,<br>
    <br>
    the ADDR_IPV4 and ADDR_IPV6 have to be replaced with real IP
    addresses that you have on the system runnin RTPProxy.<br>
    <br>
    Cheers,<br>
    Daniel<div><div><br>
    <br>
    On 1/3/12 8:56 AM, nunu abe wrote:
    </div></div><blockquote type="cite"><div><div>
      <div style="color: rgb(0, 0, 0); font-family: times new roman, new york, times, serif; font-size: 12pt; background-color: rgb(255, 255, 255);">
        <div>Dear Daniel,</div>
        <div> </div>
        <div>Greetings and Happy New year to you all! I would like to
          thank you very much for your detailed and well <span><span>structured</span></span> 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.</div>
        <div> </div>
        <div>I was trying to design a similar scenario like&nbsp;the one " <a name="134b29820f8789ca_134b2442206dd29f_134b2251b99ee7ba_134ae08d59ee2b6f_134a2e0b2fbc09be_run_your_own_sip_voip_service_on_both_ipv4_and_ipv6" rel="nofollow"><font color="#000000">Run your own SIP VoIP
              service on both IPv4 and IPv6</font></a> " as explained on
          Asipto <span><span>web-page</span></span>(<a href="http://kb.asipto.com/kamailio:kamailio-mixed-ipv4-ipv6" rel="nofollow" target="_blank"><span><font color="#0066cc">http://kb.asipto.com/kamailio:kamailio-mixed-ipv4-ipv6</font></span></a>).
          However I ran into <span><span>difficulties</span></span>
          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.</div>
        <div> </div>
        <div>1. I edited the /etc/default/rtpproxy file. i.e. I
          uncommented the line -
          CONTROL_SOCK="unix:/var/run/rtpproxy/rtpproxy.sock"</div>
        <div> </div>
        <div>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 : <span>
            rtpproxy: setbindhost: No <span><span>address</span></span>
            associated with hostname</span></div>
        <div><span>It displays the same
            message&nbsp;even when I replace ADDR_IPV4 and ADDR_IPV6 with IP
            addresses.</span></div>
        <div><span></span>&nbsp;</div>
        <div><span>3. I have also tried using
            the udp socket:- CONTROL_SOCK=udp:<a  href="http://127.0.0.1:22222" rel="nofollow" target="_blank">127.0.0.1:22222</a>, of course
            I have replaced the unix socket by this udp socket in the
            kamilio.cfg file.</span></div>
        <div><span></span> </div>
        <div><span>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.</span></div>
        <div><span></span> </div>
        <div><span>Thanks for your help.</span></div>
        <div><span></span> </div>
        <div><span>Maedot</span></div>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      </div></div><pre>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a href="mailto:sr-users@lists.sip-router.org" rel="nofollow" target="_blank" ymailto="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" rel="nofollow" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><span><font color="#888888">
</font></span></pre><span><font color="#888888">
    </font></span></blockquote><span><font color="#888888">
    <br>
    <pre>-- 
Daniel-Constantin Mierla -- <a href="http://www.asipto.com" rel="nofollow" target="_blank">http://www.asipto.com</a>
<a href="http://linkedin.com/in/miconda" rel="nofollow" target="_blank">http://linkedin.com/in/miconda</a> -- <a href="http://twitter.com/miconda" rel="nofollow" target="_blank">http://twitter.com/miconda</a></pre>
  </font></span></div>

<br>_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org" rel="nofollow" target="_blank" ymailto="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" rel="nofollow" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div><br></div>
</div><br>_______________________________________________<br>SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br><a href="mailto:sr-users@lists.sip-router.org" rel="nofollow" target="_blank" ymailto="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>



<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" rel="nofollow" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br><br><br> </div></div></div> </div>  </div></div>


</div></div><div><div><br>_______________________________________________<br>

SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org" rel="nofollow" target="_blank" ymailto="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" rel="nofollow" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></div></div></blockquote></div><br></div>
</div><br><br> </div> </div>  </div><br>_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org" rel="nofollow" target="_blank" ymailto="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" rel="nofollow" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div><br><br> </div></div></div> </div>  </div></div></blockquote></div><br></div>
</div><br><br> </div> </div>  </div></body></html>