<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: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=utf-8"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Mangal;
        panose-1:2 4 5 3 5 2 3 3 2 2;}
@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:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        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;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;}
span.hoenzb
        {mso-style-name:hoenzb;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:195124118;
        mso-list-type:hybrid;
        mso-list-template-ids:2119962670 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></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=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>HI,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoListParagraph style='text-indent:-.25in;mso-list:l0 level1 lfo1'><![if !supportLists]><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><span style='mso-list:Ignore'>1.<span style='font:7.0pt "Times New Roman"'>       </span></span></span><![endif]><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>In wireshark we can check the OK message for parameter ā€˜Cā€™. If RTPproxy is used the IP shall be that of the server.<o:p></o:p></span></p><p class=MsoListParagraph style='text-indent:-.25in;mso-list:l0 level1 lfo1'><![if !supportLists]><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><span style='mso-list:Ignore'>2.<span style='font:7.0pt "Times New Roman"'>       </span></span></span><![endif]><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>In the wireshark if we see the RTP packets shall be between server and the SIP clients. If rtpproxy is not used, the RTP packets will be directly between two clients (although the SIP messages will be between the server and the client).<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Regards<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;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 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> sr-users [mailto:sr-users-bounces@lists.sip-router.org] <b>On Behalf Of </b>Safdar Khan<br><b>Sent:</b> Thursday, November 5, 2015 11:02 AM<br><b>To:</b> Daniel-Constantin Mierla; Kamailio (SER) - Users Mailing List<br><b>Subject:</b> Re: [SR-Users] RTP Proxy to integrate with kamailio<o:p></o:p></span></p></div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>Hi Daniel,<br>Your suggestion helped me a lot.Thanks.<o:p></o:p></p><div><p class=MsoNormal>But now i am running both rtp proxy and kamailio on same computer(i.e. localhost) and according to syslog there is no error.<br>Further will you tell me how can i test that they are working together or not, like in wireshark or any other method to trace out their signals.<br>How should i proceed furher now?<o:p></o:p></p></div></div><div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>On Wed, Nov 4, 2015 at 7:27 PM, Daniel-Constantin Mierla <<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>> wrote:<o:p></o:p></p><div><p class=MsoNormal>Hello,<br><br>you need to configure rtpproxy to listen on udp:<a href="http://192.168.5.97:7722" target="_blank">192.168.5.97:7722</a> for control commands, not on <a href="http://127.0.0.1:7722" target="_blank">127.0.0.1:7722</a>. The 127.0.0.1 network interface is available on inside same system, not from a remote system.<br><br>Cheers,<br>Daniel<o:p></o:p></p><div><div><p class=MsoNormal style='margin-bottom:12.0pt'><o:p> </o:p></p><div><p class=MsoNormal>On 04/11/15 13:41, Safdar Khan wrote:<o:p></o:p></p></div></div></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><div><div><div><p class=MsoNormal style='margin-bottom:12.0pt'>Hi friends,<br>Its been two days and still finding a way to install rtp proxy and integrate it with kamailio.<br>I have checked running status of rtp proxy by <b>netstat</b> command in this way...<o:p></o:p></p><p class=MsoNormal><b><u>#netstat -pln | grep rttpproxy</u></b><o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>and i got the output like that(i assume its working):<o:p></o:p></p></div><div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in'><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><b><u>udp  0  0  <a href="http://127.0.0.1:7722" target="_blank">127.0.0.1:7722</a>  0.0.0.0.*:</u></b><o:p></o:p></p></blockquote><p class=MsoNormal><br>Well here is my setup of kamailio and rtp proxy...<o:p></o:p></p></div><div><p class=MsoNormal>1.I am using two computers one for running kamailio and another one for rtp proxy.<o:p></o:p></p></div><div><p class=MsoNormal style='margin-bottom:12.0pt'>2.Both are running seperately.<br>3.Two android mobile phones to test the service(App using imsdroid).<o:p></o:p></p></div><div><p class=MsoNormal>I am little bit confused with ip settings in kamailio configuration file in the part where <b><span style='color:red'>rtpproxy_sock</span></b><o:p></o:p></p></div><div><p class=MsoNormal><span style='color:black'>is given.For now i have given the <b>ip:port of </b>the computer on which rtp proxy is running separately.</span><o:p></o:p></p></div><div><p class=MsoNormal style='margin-bottom:12.0pt'><span style='color:black'>And i am getting the error message in <b>syslog</b> like this</span><o:p></o:p></p><p class=MsoNormal><b><span style='color:black'>can't send command to a RTP proxy</span></b><o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p></div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in'><p class=MsoNormal><b><span style='color:black'>proxy <udp:<a href="http://192.168.5.97:7722" target="_blank">192.168.5.97:7722</a>> does not respond, disable it</span></b><o:p></o:p></p></blockquote><div><p class=MsoNormal><o:p> </o:p></p></div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in'><p class=MsoNormal><b>can't get version of the RTP proxy</b><o:p></o:p></p></blockquote><div><p class=MsoNormal> <o:p></o:p></p></div><div><p class=MsoNormal>Actually i want to record the calls.<o:p></o:p></p></div><div><p class=MsoNormal>Any kind of help to configure kamailio with rtp proxy is appreciated.<o:p></o:p></p></div></div><p class=MsoNormal style='margin-bottom:12.0pt'><o:p> </o:p></p></div></div><pre>_______________________________________________<o:p></o:p></pre><pre>SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<o:p></o:p></pre><pre><a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><o:p></o:p></pre><pre><a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><span class=hoenzb><span style='color:#888888'><o:p></o:p></span></span></pre></blockquote><p class=MsoNormal><span style='color:#888888'><br><br><span class=hoenzb><o:p></o:p></span></span></p><pre><span style='color:#888888'>-- <o:p></o:p></span></pre><pre><span style='color:#888888'>Daniel-Constantin Mierla<o:p></o:p></span></pre><pre><span style='color:#888888'><a href="http://twitter.com/#!/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/miconda</a><o:p></o:p></span></pre><pre><span style='color:#888888'>Book: SIP Routing With Kamailio - <a href="http://www.asipto.com" target="_blank">http://www.asipto.com</a><o:p></o:p></span></pre><pre><span style='color:#888888'>Kamailio Advanced Training, Nov 30-Dec 2, Berlin - <a href="http://asipto.com/kat" target="_blank">http://asipto.com/kat</a></span><o:p></o:p></pre></div><p class=MsoNormal style='margin-bottom:12.0pt'><br>_______________________________________________<br>SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br><a href="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" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><o:p></o:p></p></div><p class=MsoNormal><o:p> </o:p></p></div></div></body></html>