<div dir="ltr">Hi,<br><div><br></div><div>I am facing below error in kamailio-ims 5.3.4 version. </div><div><br></div><div>reason=404 (Not Found - destination user not found on this S-CSCF)]<br></div><div><br></div><div>could you please help me how should i proceed with and where the registration details will be stored in kamailio ims.</div><div><br></div><div>It fails at this line in kamailio.cfg file in scscf .</div><div><br></div><div>route[FINAL_TERM] {<br> if (lookup("location")) {<br> if (uri==myself) {<br> if (!t_newtran()) {<br> sl_reply_error();<br> exit;<br> }<br> xlog("Destination Not Found ----\n");<br> t_reply("404","Not Found - destination user not found on this S-CSCF");<br> exit;<br> }<br></div><div><br></div><div>here lookup(location) means what it means. Could you please help me</div><div><br></div><div><br></div><div><br></div><div>Thanks,</div><div>Pavithra</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, May 14, 2020 at 9:59 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>Hello Pavithra,</div><div><br></div><div>I have written a guide for how to integrate an IMS using Kamailio with open5gs EPC, here is the link <a href="https://open5gs.org/open5gs/docs/tutorial/02-VoLTE-setup/" target="_blank">https://open5gs.org/open5gs/docs/tutorial/02-VoLTE-setup/</a>. You can find steps to setup rtpengine in that guide.</div><div><br></div><div>Regarding requirement of rtpengine, its mandatory if you want to use the scripts in that example folder without modification. Also, read the READE of sipwise/rtpengine github repo, its very informative (in a gist rtpengine offer much more feature than rtpproxy) <br></div><div><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>why can't we have sip client to sip client rtps flowing like how it is happening without NAT.</div></blockquote><div><br></div><div>For this, i would definitely suggest to read about SIP working. This is a perfect link <a href="https://github.com/onmyway133/blog/issues/284" target="_blank">https://github.com/onmyway133/blog/issues/284</a> which offers extensive material (short and very interesting to read with examples) related to SIP.</div><div><br></div><div>Best 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 17: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="auto">Hi ,<div dir="auto"><br></div><div dir="auto">I didn't configure rtpengine ..instead of that only I used rrpproxy..will it not work?</div><div dir="auto"><br></div><div dir="auto">If not please tell me how to configure rtpengine and also tell me if it is really madatory .. why can't we have sip client to sip client rtps flowing like how it is happening without NAT.</div><div dir="auto"><br></div><div dir="auto">That's my doubt ..please clarify ..</div><div dir="auto"><br></div><div dir="auto">Thanks.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, May 14, 2020, 8:57 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,</div><div><br></div><div>Hold on a moment,</div><div><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><br></div><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 <br></div></div></blockquote><div><br></div><div>So i assume you are using the examples provided in the ims folder of kamailio repo right? Isn't it using RTPEngine and not RTPProxy? Or have you modified the P-CSCF configuration to work with 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 16:39, Pavithra Mohanraja <<a href="mailto:pavimohan3004@gmail.com" rel="noreferrer" 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>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" rel="noreferrer" 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 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" rel="noreferrer" 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" rel="noreferrer" 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" rel="noreferrer" 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" rel="noreferrer" 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" rel="noreferrer" 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" rel="noreferrer" target="_blank">10.40.10.3:4060</a> advertise <a href="http://10.45.4.22:4060" rel="noreferrer" 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" rel="noreferrer" 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" rel="noreferrer" 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" rel="noreferrer" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer 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" rel="noreferrer" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer 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" rel="noreferrer" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer 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" rel="noreferrer" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer 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" rel="noreferrer" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer 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" rel="noreferrer" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer 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" rel="noreferrer" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer 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" rel="noreferrer" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer 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" rel="noreferrer" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer 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" rel="noreferrer" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer 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>