<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:PMingLiU;
        panose-1:2 2 5 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:PMingLiU;
        panose-1:2 2 5 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"\8A3B\89E3\65B9\584A\6587\5B57 \5B57\5143";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:9.0pt;
        font-family:"Cambria","serif";}
span.a
        {mso-style-name:"\8A3B\89E3\65B9\584A\6587\5B57 \5B57\5143";
        mso-style-priority:99;
        mso-style-link:\8A3B\89E3\65B9\584A\6587\5B57;
        font-family:"Cambria","serif";}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=ZH-TW link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'>Hello Sammy<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'>No, I don’t forget.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'>My rtpproxy’s startup script is “/usr/local/bin/rtpproxy -l 111.22.33.44/10.1.2.103 -s udp:10.1.2.103 19999 -F -m 36000 -M 36010 -d DBUG”<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'>I have forwarded the 36000~36010 port to rtpproxy server.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-indent:24.0pt;mso-line-height-alt:0pt'><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'>Firewall ----------------------- Opensips/rtpproxy Server</span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-line-height-alt:0pt'><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'>111.22.33.44:5060 10.1.2.103:5050<o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-line-height-alt:0pt'><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'>111.22.33.44:36000/36010 10.1.2.103:36000/36010<o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US>But, Now sometime no audio. <o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US>Do you have any suggest<o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US>Thanks<o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US>Nick<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> users-bounces@lists.opensips.org [mailto:users-bounces@lists.opensips.org] <b>On Behalf Of </b>SamyGo<br><b>Sent:</b> Tuesday, September 11, 2012 10:28 AM<br><b>To:</b> OpenSIPS users mailling list<br><b>Subject:</b> Re: [OpenSIPS-Users] RTPPRoxy behind NAT<o:p></o:p></span></p></div><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p><span lang=EN-US>Hi Nick,<br>So you've forwarded the 5060 port to opensips server, cool. Did you forget to mention about the RTP ports forwarded to server ? <br>Start RTPproxy with param -m and -M to assign range of RTP ports to use. Then forward that UDP port range to opensips server too.<br>Then see what happens with audio.<br>Also what is your total voip diagram with their network addresses. <o:p></o:p></span></p><p><span lang=EN-US>Thanks,<br>Sammy<o:p></o:p></span></p><div><p class=MsoNormal><span lang=EN-US>On Sep 11, 2012 6:46 AM, "Nick Chang" <<a href="mailto:nick.chang@kland.com.tw">nick.chang@kland.com.tw</a>> wrote:<o:p></o:p></span></p><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'>Hello Sammy</span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'> </span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'>My NAT type is Full cone NAT.</span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'> </span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'>In Firewall, I setting a IP & port 5060 to LAN IP.</span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'> </span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'>Example:</span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'> </span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-indent:24.0pt'><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'>Firewall ----------------------- Opensips Server</span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'><a href="http://111.22.33.44:5060" target="_blank">111.22.33.44:5060</a> <a href="http://10.1.2.103:5050" target="_blank">10.1.2.103:5050</a></span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'> </span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'>Thanks</span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'>Nick</span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'> </span><span lang=EN-US><o:p></o:p></span></p><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> <a href="mailto:users-bounces@lists.opensips.org" target="_blank">users-bounces@lists.opensips.org</a> [mailto:<a href="mailto:users-bounces@lists.opensips.org" target="_blank">users-bounces@lists.opensips.org</a>] <b>On Behalf Of </b>SamyGo<br><b>Sent:</b> Monday, September 10, 2012 7:32 PM<br><b>To:</b> OpenSIPS users mailling list<br><b>Subject:</b> Re: [OpenSIPS-Users] RTPPRoxy behind NAT</span><span lang=EN-US><o:p></o:p></span></p></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US> <o:p></o:p></span></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US>Hi,<o:p></o:p></span></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US> <o:p></o:p></span></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US>Nick what is your NAT type? how is your network topology working !!<o:p></o:p></span></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US> <o:p></o:p></span></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US>BR<br>Sammy <o:p></o:p></span></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US> <o:p></o:p></span></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US>P.S: The blog only takes care of configurations of RTPproxy with servers on Public IPs and clients behind NAT using Kamailio - This won't make much sense here. Also alot of things have evolved in kamailio since I wrote that post.<o:p></o:p></span></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US> <o:p></o:p></span></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US> <o:p></o:p></span></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US>On Mon, Sep 10, 2012 at 4:13 PM, Binan AL Halabi <<a href="mailto:binanalhalabi@yahoo.com" target="_blank">binanalhalabi@yahoo.com</a>> wrote:<o:p></o:p></span></p><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0><tr><td valign=top style='padding:0cm 0cm 0cm 0cm'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US>Hi Nick,<br>see this link posted by Qasim,<br><a href="http://saevolgo.blogspot.com/2012/03/making-rtpproxy-work.html" target="_blank">http://saevolgo.blogspot.com/2012/03/making-rtpproxy-work.html</a><br><br>I like it really, you can read it and adjust it as u need,<o:p></o:p></span></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US><br><br>//Binan<br><br>--- On <b>Mon, 9/10/12, Nick Chang <i><<a href="mailto:nick.chang@kland.com.tw" target="_blank">nick.chang@kland.com.tw</a>></i></b> wrote:<o:p></o:p></span></p></div><blockquote style='border:none;border-left:solid #1010FF 1.5pt;padding:0cm 0cm 0cm 4.0pt;margin-left:3.75pt;margin-top:5.0pt;margin-bottom:5.0pt'><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US><br>From: Nick Chang <<a href="mailto:nick.chang@kland.com.tw" target="_blank">nick.chang@kland.com.tw</a>><br>Subject: Re: [OpenSIPS-Users] RTPPRoxy behind NAT<br>To: "'OpenSIPS users mailling list'" <<a href="mailto:users@lists.opensips.org" target="_blank">users@lists.opensips.org</a>><o:p></o:p></span></p></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US>Date: Monday, September 10, 2012, 2:16 AM<o:p></o:p></span></p><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;margin-bottom:12.0pt'><span lang=EN-US> <o:p></o:p></span></p><div><div><div><p><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'>Dear Binan</span><span lang=EN-US><o:p></o:p></span></p><p><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'> </span><span lang=EN-US><o:p></o:p></span></p><p><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'>Yes, It’s my setting.</span><span lang=EN-US><o:p></o:p></span></p><p><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'> </span><span lang=EN-US><o:p></o:p></span></p><p><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'>route[nat_fixups] {</span><span lang=EN-US><o:p></o:p></span></p><p><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'> #---- RTP Proxy handling ---#</span><span lang=EN-US><o:p></o:p></span></p><p><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'> if (is_method("BYE|CANCEL")) {</span><span lang=EN-US><o:p></o:p></span></p><p><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'> unforce_rtp_proxy();</span><span lang=EN-US><o:p></o:p></span></p><p><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'> } else if (is_method("INVITE")){</span><span lang=EN-US><o:p></o:p></span></p><p><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'> #---- Activates the RTP Proxy for the CALLEE ---#</span><span lang=EN-US><o:p></o:p></span></p><p><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'> rtpproxy_offer(“cowf”,”202.55.233.194”);</span><span lang=EN-US><o:p></o:p></span></p><p><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'> };</span><span lang=EN-US><o:p></o:p></span></p><p><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'> # catch and fix replies</span><span lang=EN-US><o:p></o:p></span></p><p><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'> t_on_reply("2");</span><span lang=EN-US><o:p></o:p></span></p><p><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'>}</span><span lang=EN-US><o:p></o:p></span></p><p><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'> </span><span lang=EN-US><o:p></o:p></span></p><p><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'>onreply_route[2] {</span><span lang=EN-US><o:p></o:p></span></p><p><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'> #xlog("incoming reply\n");</span><span lang=EN-US><o:p></o:p></span></p><p><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'> </span><span lang=EN-US><o:p></o:p></span></p><p><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'> #---- Handling of the SDP for the 200 or 183 reply ----#</span><span lang=EN-US><o:p></o:p></span></p><p><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'> #---- If behind nat (flags 5 or 6) start RTP Proxy ----#</span><span lang=EN-US><o:p></o:p></span></p><p><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'> #---- Activates the RTP Proxy for the CALLER ----#</span><span lang=EN-US><o:p></o:p></span></p><p><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'> if ( is_method("INVITE") &&</span><span lang=EN-US><o:p></o:p></span></p><p><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'> (isflagset(5) || isbflagset(6)) &&</span><span lang=EN-US><o:p></o:p></span></p><p><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'> has_body("application/sdp") ){</span><span lang=EN-US><o:p></o:p></span></p><p><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'> rtpproxy_answer(“cowf”,”202.55.233.194”);</span><span lang=EN-US><o:p></o:p></span></p><p><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'> }</span><span lang=EN-US><o:p></o:p></span></p><p><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'> </span><span lang=EN-US><o:p></o:p></span></p><p><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'> #---- If the CALLEE is behind NAT, fix the CONTACT HF ----#</span><span lang=EN-US><o:p></o:p></span></p><p><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'> if (isbflagset(6)) {</span><span lang=EN-US><o:p></o:p></span></p><p><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'> fix_nated_contact();</span><span lang=EN-US><o:p></o:p></span></p><p><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'> search_append('Contact:.*sip:[^>[:cntrl:]]*', ';nat=yes');</span><span lang=EN-US><o:p></o:p></span></p><p><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'> }</span><span lang=EN-US><o:p></o:p></span></p><p><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'> exit;</span><span lang=EN-US><o:p></o:p></span></p><p><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'>}</span><span lang=EN-US><o:p></o:p></span></p><p><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'> </span><span lang=EN-US><o:p></o:p></span></p><p><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'>Thanks</span><span lang=EN-US><o:p></o:p></span></p><p><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'>Nick</span><span lang=EN-US><o:p></o:p></span></p><p><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'> </span><span lang=EN-US><o:p></o:p></span></p><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> <a href="mailto:users-bounces@lists.opensips.org" target="_blank">users-bounces@lists.opensips.org</a> [mailto:<a href="mailto:users-bounces@lists.opensips.org" target="_blank">users-bounces@lists.opensips.org</a>] <b>On Behalf Of </b>Binan AL Halabi<br><b>Sent:</b> Monday, September 10, 2012 5:12 PM<br><b>To:</b> OpenSIPS users mailling list<br><b>Subject:</b> Re: [OpenSIPS-Users] RTPPRoxy behind NAT</span><span lang=EN-US><o:p></o:p></span></p></div><p><span lang=EN-US> <o:p></o:p></span></p><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0><tr><td valign=top style='padding:0cm 0cm 0cm 0cm'><p><span lang=EN-US>Hi Nick,<br>and you are setting <strong>rtpproxy_offer()</strong> for Invite right !<br><br>//Binan<br><br>--- On <b>Mon, 9/10/12, Nick Chang <i><<a href="http://mc/compose?to=nick.chang@kland.com.tw" target="_blank">nick.chang@kland.com.tw</a>></i></b> wrote:<o:p></o:p></span></p><p style='margin-bottom:12.0pt'><span lang=EN-US><br>From: Nick Chang <<a href="http://mc/compose?to=nick.chang@kland.com.tw" target="_blank">nick.chang@kland.com.tw</a>><br>Subject: Re: [OpenSIPS-Users] RTPPRoxy behind NAT<br>To: "'OpenSIPS users mailling list'" <<a href="http://mc/compose?to=users@lists.opensips.org" target="_blank">users@lists.opensips.org</a>><br>Date: Monday, September 10, 2012, 2:02 AM<o:p></o:p></span></p><div><div><div><p><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'>Hi Binan</span><span lang=EN-US><o:p></o:p></span></p><p><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'> </span><span lang=EN-US><o:p></o:p></span></p><p><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'>But, My problem still it.</span><span lang=EN-US><o:p></o:p></span></p><p><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'>It’s not work for this setting.</span><span lang=EN-US><o:p></o:p></span></p><p><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'> </span><span lang=EN-US><o:p></o:p></span></p><p><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'>Or Do you have any suggest?</span><span lang=EN-US><o:p></o:p></span></p><p><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'> </span><span lang=EN-US><o:p></o:p></span></p><p><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'>Thanks</span><span lang=EN-US><o:p></o:p></span></p><p><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'>Nick</span><span lang=EN-US><o:p></o:p></span></p><p><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'> </span><span lang=EN-US><o:p></o:p></span></p><p><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'> </span><span lang=EN-US><o:p></o:p></span></p><p><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'> </span><span lang=EN-US><o:p></o:p></span></p><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> <a href="http://mc/compose?to=users-bounces@lists.opensips.org" target="_blank">users-bounces@lists.opensips.org</a> [<a href="http://mc/compose?to=users-bounces@lists.opensips.org" target="_blank">mailto:users-bounces@lists.opensips.org</a>] <b>On Behalf Of </b>Binan AL Halabi<br><b>Sent:</b> Monday, September 10, 2012 4:57 PM<br><b>To:</b> OpenSIPS users mailling list<br><b>Subject:</b> Re: [OpenSIPS-Users] RTPPRoxy behind NAT</span><span lang=EN-US><o:p></o:p></span></p></div><p><span lang=EN-US> <o:p></o:p></span></p><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0><tr><td valign=top style='padding:0cm 0cm 0cm 0cm'><p><span lang=EN-US>Hi Nick,<br>thank you too,<br><br>//Binan<br><br>--- On <b>Mon, 9/10/12, Nick Chang <i><<a href="mailto:nick.chang@kland.com.tw" target="_blank">nick.chang@kland.com.tw</a>></i></b> wrote:<o:p></o:p></span></p><p style='margin-bottom:12.0pt'><span lang=EN-US><br>From: Nick Chang <<a href="mailto:nick.chang@kland.com.tw" target="_blank">nick.chang@kland.com.tw</a>><br>Subject: Re: [OpenSIPS-Users] RTPPRoxy behind NAT<br>To: "'OpenSIPS users mailling list'" <<a href="mailto:users@lists.opensips.org" target="_blank">users@lists.opensips.org</a>><br>Date: Monday, September 10, 2012, 1:46 AM<o:p></o:p></span></p><div><div><div><p><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'>Hello Binan</span><span lang=EN-US><o:p></o:p></span></p><p><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'> </span><span lang=EN-US><o:p></o:p></span></p><p><span lang=EN-US>force_rtp_proxy do not support opensips 1.8.1. It is old function.<o:p></o:p></span></p><p><span lang=EN-US> <o:p></o:p></span></p><p><span lang=EN-US>You can saw this page <a href="http://www.opensips.org/Resources/DocsMigration163to164" target="_blank">http://www.opensips.org/Resources/DocsMigration163to164</a><o:p></o:p></span></p><p><span lang=EN-US> <o:p></o:p></span></p><p><span lang=EN-US>Now, I setting “rtpproxy_answer("cowf","202.55.233.194")”<o:p></o:p></span></p><p><span lang=EN-US> <o:p></o:p></span></p><p><span lang=EN-US>Thanks<o:p></o:p></span></p><p><span lang=EN-US>Nick<o:p></o:p></span></p><p><span lang=EN-US style='font-family:"Calibri","sans-serif";color:#1F497D'> </span><span lang=EN-US><o:p></o:p></span></p><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> <a href="mailto:users-bounces@lists.opensips.org" target="_blank">users-bounces@lists.opensips.org</a> [<a href="mailto:users-bounces@lists.opensips.org" target="_blank">mailto:users-bounces@lists.opensips.org</a>] <b>On Behalf Of </b>Binan AL Halabi<br><b>Sent:</b> Monday, September 10, 2012 4:37 PM<br><b>To:</b> OpenSIPS users mailling list<br><b>Subject:</b> Re: [OpenSIPS-Users] RTPPRoxy behind NAT</span><span lang=EN-US><o:p></o:p></span></p></div><p><span lang=EN-US> <o:p></o:p></span></p><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0><tr><td valign=top style='padding:0cm 0cm 0cm 0cm'><p><span lang=EN-US>Hi Nick,<br>use force_rtp_proxy <br>here is the link: <br><br><a href="http://www.opensips.org/html/docs/modules/1.4.x/nathelper.html#id271191" target="_blank">http://www.opensips.org/html/docs/modules/1.4.x/nathelper.html#id271191</a><br><br>//Binan<br><br>--- On <b>Mon, 9/10/12, Nick Chang <i><<a href="http://mc/compose?to=nick.chang@kland.com.tw" target="_blank">nick.chang@kland.com.tw</a>></i></b> wrote:<o:p></o:p></span></p><p style='margin-bottom:12.0pt'><span lang=EN-US><br>From: Nick Chang <<a href="http://mc/compose?to=nick.chang@kland.com.tw" target="_blank">nick.chang@kland.com.tw</a>><br>Subject: [OpenSIPS-Users] RTPPRoxy behind NAT<br>To: "'OpenSIPS users mailling list'" <<a href="http://mc/compose?to=users@lists.opensips.org" target="_blank">users@lists.opensips.org</a>><br>Date: Monday, September 10, 2012, 1:01 AM<o:p></o:p></span></p><div><div><div><p><span lang=EN-US>Hello<o:p></o:p></span></p><p><span lang=EN-US> <o:p></o:p></span></p><p><span lang=EN-US>My RTPPRoxy and Opensips installed on the same server.<o:p></o:p></span></p><p><span lang=EN-US>Then It behind a NAT.<o:p></o:p></span></p><p><span lang=EN-US> <o:p></o:p></span></p><p><span lang=EN-US>It’s my log. How to change “c=IN IP4 10.1.1.51” to “c=IN IP4 public IP”<o:p></o:p></span></p><p><span lang=EN-US> <o:p></o:p></span></p><p><span lang=EN-US>U 2012/09/10 15:57:22.704873 <a href="http://10.1.2.103:5060" target="_blank">10.1.2.103:5060</a> -> <a href="http://111.81.182.252:2151" target="_blank">111.81.182.252:2151</a><o:p></o:p></span></p><p><span lang=EN-US>INVITE <a href="sip:0939723377@111.81.182.252:2151;line=d210bc79dfd2c52">sip:0939723377@111.81.182.252:2151;line=d210bc79dfd2c52</a> SIP/2.0.<o:p></o:p></span></p><p><span lang=EN-US>Record-Route: <<a href="sip:202.55.233.194;lr;ftag=3554;did=72b.08b17766">sip:202.55.233.194;lr;ftag=3554;did=72b.08b17766</a>>.<o:p></o:p></span></p><p><span lang=EN-US>Via: SIP/2.0/UDP 202.55.233.194;branch=z9hG4bK6aff.e20d892.0.<o:p></o:p></span></p><p><span lang=EN-US>Via: SIP/2.0/UDP 10.1.1.51:5060;received=118.163.61.141;rport=40696;branch=z9hG4bK3339.<o:p></o:p></span></p><p><span lang=EN-US>From: <<a href="sip:886988000076@202.55.233.194">sip:886988000076@202.55.233.194</a>>;tag=3554.<o:p></o:p></span></p><p><span lang=EN-US>To: <<a href="sip:0939723377@202.55.233.194">sip:0939723377@202.55.233.194</a>>.<o:p></o:p></span></p><p><span lang=EN-US>Call-ID: 32313.<o:p></o:p></span></p><p><span lang=EN-US>CSeq: 20 INVITE.<o:p></o:p></span></p><p><span lang=EN-US>Contact: <<a href="sip:886988000076@118.163.61.141:40696;nat=yes">sip:886988000076@118.163.61.141:40696;nat=yes</a>>.<o:p></o:p></span></p><p><span lang=EN-US>Content-Type: application/sdp.<o:p></o:p></span></p><p><span lang=EN-US>Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO.<o:p></o:p></span></p><p><span lang=EN-US>Max-Forwards: 69.<o:p></o:p></span></p><p><span lang=EN-US>User-Agent: Linphone/3.5.2 (eXosip2/3.6.0).<o:p></o:p></span></p><p><span lang=EN-US>Subject: Phone call.<o:p></o:p></span></p><p><span lang=EN-US>Content-Length: 337.<o:p></o:p></span></p><p><span lang=EN-US>.<o:p></o:p></span></p><p><span lang=EN-US>v=0.<o:p></o:p></span></p><p><span lang=EN-US>o=886988000076 1752 1752 IN IP4 10.1.1.51.<o:p></o:p></span></p><p><span lang=EN-US>s=Talk.<o:p></o:p></span></p><p><span lang=EN-US>c=IN IP4 10.1.1.51.<o:p></o:p></span></p><p><span lang=EN-US>t=0 0.<o:p></o:p></span></p><p><span lang=EN-US>m=audio 7078 RTP/AVP 112 111 110 3 0 8 9 101.<o:p></o:p></span></p><p><span lang=EN-US>a=rtpmap:112 speex/32000.<o:p></o:p></span></p><p><span lang=EN-US>a=fmtp:112 vbr=on.<o:p></o:p></span></p><p><span lang=EN-US>a=rtpmap:111 speex/16000.<o:p></o:p></span></p><p><span lang=EN-US>a=fmtp:111 vbr=on.<o:p></o:p></span></p><p><span lang=EN-US>a=rtpmap:110 speex/8000.<o:p></o:p></span></p><p><span lang=EN-US>a=fmtp:110 vbr=on.<o:p></o:p></span></p><p><span lang=EN-US>a=rtpmap:9 G722/8000.<o:p></o:p></span></p><p><span lang=EN-US>a=rtpmap:101 telephone-event/8000.<o:p></o:p></span></p><p><span lang=EN-US>a=fmtp:101 0-11.<o:p></o:p></span></p><p><span lang=EN-US> <o:p></o:p></span></p><p><span lang=EN-US>Thanks<o:p></o:p></span></p><p><span lang=EN-US>Nick<o:p></o:p></span></p></div></div></div><p style='margin-bottom:12.0pt'><span lang=EN-US><br>-----Inline Attachment Follows-----<o:p></o:p></span></p><div><p><span lang=EN-US>_______________________________________________<br>Users mailing list<br><a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><o:p></o:p></span></p></div></td></tr></table><p><span lang=EN-US style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> </span><span lang=EN-US><o:p></o:p></span></p></div></div></div><p style='margin-bottom:12.0pt'><span lang=EN-US><br>-----Inline Attachment Follows-----<o:p></o:p></span></p><div><p><span lang=EN-US>_______________________________________________<br>Users mailing list<br><a href="http://mc/compose?to=Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><o:p></o:p></span></p></div></td></tr></table><p><span lang=EN-US style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> </span><span lang=EN-US><o:p></o:p></span></p></div></div></div><p style='margin-bottom:12.0pt'><span lang=EN-US><br>-----Inline Attachment Follows-----<o:p></o:p></span></p><div><p><span lang=EN-US>_______________________________________________<br>Users mailing list<br><a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><o:p></o:p></span></p></div></td></tr></table><p><span lang=EN-US style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> </span><span lang=EN-US><o:p></o:p></span></p></div></div></div><p class=MsoNormal style='mso-margin-top-alt:auto;margin-bottom:12.0pt'><span lang=EN-US><br>-----Inline Attachment Follows-----<o:p></o:p></span></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US>_______________________________________________<br>Users mailing list<br><a href="http://mc/compose?to=Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><o:p></o:p></span></p></div></div></div></blockquote></td></tr></table><p class=MsoNormal style='mso-margin-top-alt:auto;margin-bottom:12.0pt'><span lang=EN-US><br>_______________________________________________<br>Users mailing list<br><a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><o:p></o:p></span></p></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US> <o:p></o:p></span></p></div></div></div></div><p class=MsoNormal style='margin-bottom:12.0pt'><span lang=EN-US><br>_______________________________________________<br>Users mailing list<br><a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><o:p></o:p></span></p></div></div></body></html>