<div>Hi Carsten</div>
<div>Many thanks to you.</div>
<div> </div>
<div>Now I am able to run kamailio and rtp proxy properly.</div>
<div> </div>
<div> </div>
<div>Thanks<br>Austin</div>
<div><br> </div>
<div class="gmail_quote">On Fri, Oct 7, 2011 at 6:51 PM, Carsten Bock <span dir="ltr">&lt;<a href="mailto:carsten@ng-voice.com">carsten@ng-voice.com</a>&gt;</span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">Hi Austin,<br><br>you could simply add dlg_manage() for INVITE&#39;s directly after your<br>&quot;route(REQINIT)&quot; request + a similar check in the &quot;onreply_route&quot;.<br>
If you use rtpproxy_destroy() it will only destroy the current<br>RTP-Session, not all of them.<br><br>Kind regards,<br>Carsten<br><br>2011/10/7 Austin Einter &lt;<a href="mailto:austin.einter@gmail.com">austin.einter@gmail.com</a>&gt;:<br>

<div>
<div></div>
<div class="h5">&gt; Carsten<br>&gt; Really appreciate your input.<br>&gt;<br>&gt; I am completely new to this. Please bear with me with easy questions.<br>&gt;<br>&gt; When you say I can use rtpproxy_manage() in the request and response and use<br>
&gt; rtpproxy_destroy() in BYE, I want to know where I have to modify. Is it<br>&gt; kamailio.cfg file where I need to modify. If it is the case, do I need to<br>&gt; modify the route block as below..., kindly guide me here with steps...<br>
&gt;<br>&gt;<br>&gt; # Main SIP request routing logic<br>&gt;<br>&gt; # - processing of any incoming SIP request starts with this route<br>&gt;<br>&gt; route {<br>&gt;<br>&gt; # per request initial checks<br>&gt;<br>&gt; route(REQINIT);<br>
&gt;<br>&gt; # NAT detection<br>&gt;<br>&gt; route(NAT); .......................<br>&gt;<br>&gt; Also, we are just telling rtpproxy_destroy in BYE case, will it not affect<br>&gt; other calls. At any given point of time, there might be more than 1 calls,<br>
&gt; doing rtpproxy_destroy will stop rtp session for disconnecting call or can<br>&gt; it affect the existing active calls.<br>&gt;<br>&gt;<br>&gt;<br>&gt; Thanks<br>&gt;<br>&gt; Austin.<br>&gt;<br>&gt;<br>&gt;<br>&gt; On Fri, Oct 7, 2011 at 5:39 PM, Carsten Bock &lt;<a href="mailto:carsten@ng-voice.com">carsten@ng-voice.com</a>&gt; wrote:<br>
&gt;&gt;<br>&gt;&gt; Hi,<br>&gt;&gt; you can simply use Kamailio and RTPProxy here.<br>&gt;&gt; You simply can use rtpproxy_manage() in the request and in the reply;<br>&gt;&gt; rtpproxy_destroy() in the Bye-Message. You must also use<br>
&gt;&gt; record_route() in order to have all subsequent requests going through<br>&gt;&gt; your proxy. That should do your job.<br>&gt;&gt;<br>&gt;&gt; May you want also to look at SEMS (<a href="http://iptel.org/sems" target="_blank">iptel.org/sems</a>) as an SBC. SEMS can<br>
&gt;&gt; do that as well, but additionally also teardown in case of<br>&gt;&gt; RTP-Timeout, Codec Enforcement (e.g. only allow G711) and of course<br>&gt;&gt; topology hiding.<br>&gt;&gt;<br>&gt;&gt; Kind regards,<br>&gt;&gt; Carsten<br>
&gt;&gt;<br>&gt;&gt; 2011/10/7 Austin Einter &lt;<a href="mailto:austin.einter@gmail.com">austin.einter@gmail.com</a>&gt;<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; Dear Carsten<br>&gt;&gt; &gt; Thanks for reply.<br>&gt;&gt; &gt;<br>
&gt;&gt; &gt; I did not install rtp proxy .  I just installed kamailio after that I<br>&gt;&gt; &gt; was able to run both kamailio and rtp proxy.<br>&gt;&gt; &gt; I am surprised, I thought after installing kamailio 3.1.5, I will be<br>
&gt;&gt; &gt; able to execute both kamailio and rtpproxy.<br>&gt;&gt; &gt; Not sure it it was installed in my lab pc by somebody else previously.<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; First of all I would like to check if the scenario I am talking of is a<br>
&gt;&gt; &gt; right case to use Kamalio or not.<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; 1. I will be running the sip softphones in private/public network.<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; 2. I want to run kamailio proxy in public network (as an intermediate<br>
&gt;&gt; &gt; proxy).<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; 3. I will hav a main proxy in public detwork.<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; What I want is all my signalling and RTP packets should pass through<br>&gt;&gt; &gt; intermediate proxy (that is Kamailio only).<br>
&gt;&gt; &gt;<br>&gt;&gt; &gt; For this purpose do you suggest Kamailio or someother proxy/b2bua.<br>&gt;&gt; &gt; I am able to force SIP packets through kamailio proxy (by use of route<br>&gt;&gt; &gt; stuff in softphone).<br>
&gt;&gt; &gt;<br>&gt;&gt; &gt; My main concern is when INVITE message pass through Kamailio,<br>&gt;&gt; &gt; will Kamailio proxy change the IP address of phone present in SDP to self<br>&gt;&gt; &gt; address so that media packets from called party side will come to kamailio<br>
&gt;&gt; &gt; proxy.<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; Same concern otherway. Like when 200 OK to INVITE passes through<br>&gt;&gt; &gt; kamailio, will kamailio change IPaddress in SDP to self IP, so that media<br>&gt;&gt; &gt; packets from calling side will reach kamailio.<br>
&gt;&gt; &gt;<br>&gt;&gt; &gt; Kindly help me to choose right proxy or should I look for b2bua.<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; Thanks<br>&gt;&gt; &gt; Austin<br>&gt;&gt; &gt;<br>&gt;&gt; &gt;<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; On Fri, Oct 7, 2011 at 3:05 PM, Carsten Bock &lt;<a href="mailto:carsten@ng-voice.com">carsten@ng-voice.com</a>&gt;<br>
&gt;&gt; &gt; wrote:<br>&gt;&gt; &gt;&gt;<br>&gt;&gt; &gt;&gt; Hi,<br>&gt;&gt; &gt;&gt; did you also install the RTPProxy itself? It is an addon to Kamailio<br>&gt;&gt; &gt;&gt; and not a part of Kamailio.<br>&gt;&gt; &gt;&gt; You find the RTPProxy here: <a href="http://www.rtpproxy.org/" target="_blank">www.rtpproxy.org</a><br>
&gt;&gt; &gt;&gt; Carsten<br>&gt;&gt; &gt;&gt;<br>&gt;&gt; &gt;&gt; 2011/10/7 Austin Einter &lt;<a href="mailto:austin.einter@gmail.com">austin.einter@gmail.com</a>&gt;<br>&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt; &gt;&gt;&gt; Hi<br>
&gt;&gt; &gt;&gt;&gt; I downloaded 3.1.5 Kamalio source, did make and install. Tried to run,<br>&gt;&gt; &gt;&gt;&gt; and tested few basic scenarios, everything working fine.<br>&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt; &gt;&gt;&gt; I have a main proxy, want to use kamailio as intermediate proxy and my<br>
&gt;&gt; &gt;&gt;&gt; requirement is all RTP packets should pass through machine in which Kamalio<br>&gt;&gt; &gt;&gt;&gt; proxy is running. I beleive RTP Proxy I can run in same machine where<br>&gt;&gt; &gt;&gt;&gt; Kamailio proxy is running with proper configuration .<br>
&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt; &gt;&gt;&gt; For this I am referring,<br>&gt;&gt; &gt;&gt;&gt; <a href="http://nil.uniza.sk/sip/nat-fw/configuring-nat-traversal-using-kamailio-31-and-rtpproxy-server" target="_blank">http://nil.uniza.sk/sip/nat-fw/configuring-nat-traversal-using-kamailio-31-and-rtpproxy-server</a> page.<br>
&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt; &gt;&gt;&gt; In one of the steps it says &quot;So, if we are using the Rtpproxy server<br>&gt;&gt; &gt;&gt;&gt; with default configuration, we have to open /etc/default/rtpproxy file and<br>
&gt;&gt; &gt;&gt;&gt; uncomment following line regarding of udp socket, that will be sued for<br>&gt;&gt; &gt;&gt;&gt; interconnection:&quot;.<br>&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt; &gt;&gt;&gt; I tried to search rtpproxy configuration file, could not locate.<br>
&gt;&gt; &gt;&gt;&gt; While making and installing Kamalio proxy, the commands I used &quot;make<br>&gt;&gt; &gt;&gt;&gt; prefix=/usr/local/ all  and make prefix=/usr/local/ install&quot;.<br>&gt;&gt; &gt;&gt;&gt; Can somebody point me why rtpproxy config file is missing.<br>
&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt; &gt;&gt;&gt; Also the link I am refering to is correct or wrong one.<br>&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt; &gt;&gt;&gt; Best Regards,<br>&gt;&gt; &gt;&gt;&gt; Austin<br>&gt;&gt; &gt;&gt;&gt; _______________________________________________<br>
&gt;&gt; &gt;&gt;&gt; SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing<br>&gt;&gt; &gt;&gt;&gt; list<br>&gt;&gt; &gt;&gt;&gt; <a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
&gt;&gt; &gt;&gt;&gt; <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><br>&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>&gt;&gt; &gt;&gt;<br>&gt;&gt; &gt;&gt; --<br>&gt;&gt; &gt;&gt; Carsten Bock<br>&gt;&gt; &gt;&gt; CEO (Geschäftsführer)<br>&gt;&gt; &gt;&gt; ng-voice GmbH i. Gr.<br>&gt;&gt; &gt;&gt; Schomburgstr. 80<br>
&gt;&gt; &gt;&gt; D-22767 Hamburg / Germany<br>&gt;&gt; &gt;&gt; <a href="http://www.ng-voice.com/" target="_blank">http://www.ng-voice.com</a><br>&gt;&gt; &gt;&gt; mailto:<a href="mailto:carsten@ng-voice.com">carsten@ng-voice.com</a><br>
&gt;&gt; &gt;&gt; Mobile +49 179 2021244<br>&gt;&gt; &gt;&gt; Office +49 40 34927219<br>&gt;&gt; &gt;&gt; Fax +49 40 34927220<br>&gt;&gt; &gt;&gt; Hier finden Sie unsere handelsrechtlichen Pflichtangaben:<br>&gt;&gt; &gt;&gt; <a href="http://www.ng-voice.com/imprint/" target="_blank">http://www.ng-voice.com/imprint/</a><br>
&gt;&gt; &gt;&gt;<br>&gt;&gt; &gt;&gt; _______________________________________________<br>&gt;&gt; &gt;&gt; SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>&gt;&gt; &gt;&gt; <a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
&gt;&gt; &gt;&gt; <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><br>&gt;&gt; &gt;&gt;<br>&gt;&gt; &gt;<br>&gt;&gt; &gt;<br>
&gt;&gt; &gt; _______________________________________________<br>&gt;&gt; &gt; SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>&gt;&gt; &gt; <a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
&gt;&gt; &gt; <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><br>&gt;&gt; &gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>
&gt;&gt; --<br>&gt;&gt; Carsten Bock<br>&gt;&gt; CEO (Geschäftsführer)<br>&gt;&gt; ng-voice GmbH i. Gr.<br>&gt;&gt; Schomburgstr. 80<br>&gt;&gt; D-22767 Hamburg / Germany<br>&gt;&gt; <a href="http://www.ng-voice.com/" target="_blank">http://www.ng-voice.com</a><br>
&gt;&gt; mailto:<a href="mailto:carsten@ng-voice.com">carsten@ng-voice.com</a><br>&gt;&gt; Mobile +49 179 2021244<br>&gt;&gt; Office +49 40 34927219<br>&gt;&gt; Fax +49 40 34927220<br>&gt;&gt; Hier finden Sie unsere handelsrechtlichen Pflichtangaben:<br>
&gt;&gt; <a href="http://www.ng-voice.com/imprint/" target="_blank">http://www.ng-voice.com/imprint/</a><br>&gt;&gt;<br>&gt;&gt; _______________________________________________<br>&gt;&gt; SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
&gt;&gt; <a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>&gt;&gt; <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><br>
&gt;<br>&gt;<br>&gt; _______________________________________________<br>&gt; SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>&gt; <a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
&gt; <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><br>&gt;<br>&gt;<br><br><br><br>--<br>Carsten Bock<br>CEO (Geschäftsführer)<br>
<br>ng-voice GmbH i. Gr.<br>Schomburgstr. 80<br>D-22767 Hamburg / Germany<br><br><a href="http://www.ng-voice.com/" target="_blank">http://www.ng-voice.com</a><br>mailto:<a href="mailto:carsten@ng-voice.com">carsten@ng-voice.com</a><br>
<br>Mobile +49 179 2021244<br>Office +49 40 34927219<br>Fax +49 40 34927220<br><br>Hier finden Sie unsere handelsrechtlichen Pflichtangaben:<br><a href="http://www.ng-voice.com/imprint/" target="_blank">http://www.ng-voice.com/imprint/</a><br>
<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><br>
</div></div></blockquote></div><br>