<div dir="ltr">Hi ,<div>I have attached working rtp pcap file. But it is getting reverted back to me .</div><div><br></div><div>As you said , i have tried restarting rtpproxy several times. but it didnt work .</div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, May 14, 2020 at 7:11 PM supreeth herle <<a href="mailto:herlesupreeth@gmail.com">herlesupreeth@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div>Thanks for the pcap. Sorry, to ask this but can you also send pcap of scenario where you see RTP packets?</div><div><br></div><div>Also, did you restart the rtpproxy after altering the /etc/default/rtpproxy ?<br></div><div><br></div><div>i.e.</div><div><br></div><div>$ systemctl restart rtpproxy</div><div><br></div><div>Best Regards,</div><div>Supreeth<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 14 May 2020 at 14:51, Pavithra Mohanraja <<a href="mailto:pavimohan3004@gmail.com" target="_blank">pavimohan3004@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Supreeth,<div>I have attached pcap files . kindly check and let me know.</div><div>filter of rtp packets and check.</div><div><br></div><div><b>filter : sip || rtp</b></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, May 14, 2020 at 5:15 PM supreeth herle <<a href="mailto:herlesupreeth@gmail.com" target="_blank">herlesupreeth@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi Pavithra,</div><div><br></div><div>Thanks for the clarification. Can you please attach a pcap of the call where you are not seeing the RTP packets? And, btw is the call getting dropped or something in that scenario?</div><div><br></div><div>Regards,</div><div>Supreeth<br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 14 May 2020 at 13:34, Pavithra Mohanraja <<a href="mailto:pavimohan3004@gmail.com" target="_blank">pavimohan3004@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Supreeth,<div><br></div><div>I have kamailio ims installed in 4 vms inside openstack.</div><div><br></div><div>10.40.10.3 - pcscf in port 4060 (pcscf with NAT enabled in pcscf.cfg (!#define WITH_NAT) and configured rtpproxy)</div><div>10.40.10.12 - icscf in port 4070</div><div>10.40.10.5 - scscf in port 4080</div><div>10.40.10.30 - hss </div><div><br></div><div>so all these vms are running in same subnet.</div><div>I have a floating ip associated to pcscf.</div><div>Now I have two zoiper clients outside openstack </div><div>zoiper1 - 10.0.2.15 (NAT Enabled Network adaptor)</div><div>zoiper2 - 10.0.2.15</div><div><br></div><div>when i am making a call from zoiper1 to zoiper2, call is going properly . SIP messages are coming properly in wireshark packets.</div><div>when i filter for RTP packets in wireshark,  it is not coming.</div><div><br></div><div><br></div><div>when i have the zoiper clients inside openstack itself ,i can able to see RTP Packets in wireshark between two sip clients without any NAT related configurations done.</div><div><br></div><div>Kindly help me. </div><div>Thanks.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, May 14, 2020 at 4:49 PM supreeth herle <<a href="mailto:herlesupreeth@gmail.com" target="_blank">herlesupreeth@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Can you explain some more when you mean by "RTP alone is not coming."? And, how are you checking/verifying that?<br></div><div><br></div><div>Regards,</div><div>Supreeth<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 14 May 2020 at 13:12, Pavithra Mohanraja <<a href="mailto:pavimohan3004@gmail.com" target="_blank">pavimohan3004@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi ,<div><br></div><div>Yes I have configured as you mentioned only . In my pcscf only i have rtpproxy also configured. </div><div>Floating IP i have given in listen address also as</div><div>listen = <a href="http://10.40.10.3:4060" target="_blank">10.40.10.3:4060</a> advertise <a href="http://10.45.4.22:4060" target="_blank">10.45.4.22:4060</a></div><div><br></div><div>10.40.10.3 - private ip</div><div>10.45.4.22 - floating ip</div><div>Still RTP alone is not coming.</div><div><br></div><div>Is it the only way of configuring NAT ?</div><div><br></div><div>Thanks.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, May 14, 2020 at 4:37 PM supreeth herle <<a href="mailto:herlesupreeth@gmail.com" target="_blank">herlesupreeth@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hello Pavithra,</div><div><br></div><div>Have you tried advertising the floating IP of the VM running RTPProxy as follows?</div><div><br></div><div>Edit /etc/default/rtpproxy file as follows:<br><br># Additional options that are passed to the daemon.<br>EXTRA_OPTS="-l 172.24.15.30 -d DBUG:LOG_LOCAL0"<br><br>here, "-l <PUBLIC_IP>"</div><div><br></div><div>Hope it helps.</div><div><br></div><div>Regards,</div><div>Supreeth<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 14 May 2020 at 13:01, Pavithra Mohanraja <<a href="mailto:pavimohan3004@gmail.com" target="_blank">pavimohan3004@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi ,<div><br></div><div>Could anybody please give me the approach how to configure NAT in kamailio IMS.</div><div><br></div><div>I have installed kamailio IMS in openstack environment which has private ips for all four vms (each component in one vm). pcscf has one floating IP attached. I have enabled "WITH_NAT" and configured rtpproxy .</div><div><br></div><div>when i make a call from outside of openstack using 2 zoiper clients with outbound proxy keeping floating ip of pcscf, I am getting 200 ok with all SIP packets correctly flowing but there is no RTP Packet.</div><div><br></div><div>When i try the same within openstack environment without using public ip, I am getting RTP Packets.</div><div><br></div><div>Kindly tell me the procedure of NAT Enablement or do i need to do anything other than this.</div><div><br></div><div>Kindly help because i am stuck with this for long time.</div><div><br></div><div><br></div><div>Thanks.</div></div>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div></div>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div>