<div dir="ltr">Hi Supreeth,<div><br></div><div>This is my DNS file </div><div><br></div><div>$ORIGIN <a href="http://sip.example.com">sip.example.com</a>.<br>$TTL 1W<br>@                       1D IN SOA       localhost. root.localhost. (<br>                                        1               ; serial<br>                                        3H              ; refresh<br>                                        15M             ; retry<br>                                        1W              ; expiry<br>                                        1D )            ; minimum<br><br>                        1D IN NS        ns<br>ns                      1D IN A         10.45.5.95<br><br>pcscf                   1D IN A         10.45.5.95<br>_sip._udp.pcscf         1D SRV 0 0 5070 pcscf<br>_sip._tcp.pcscf         1D SRV 0 0 5070 pcscf<br><br>icscf                   1D IN A         10.45.5.95<br>_sip._udp               1D SRV 0 0 4060 icscf<br>_sip._tcp               1D SRV 0 0 4060 icscf<br><br>scscf                   1D IN A         10.45.5.95<br>_sip._udp.scscf         1D SRV 0 0 6060 scscf<br>_sip._tcp.scscf         1D SRV 0 0 6060 scscf<br><br>hss                     1D IN A         10.45.5.95<br><div><br></div></div><div><br></div><div><br></div><div>And pcscf config file is taken from ur git source </div><div><br></div><div><a href="https://github.com/herlesupreeth/Kamailio_IMS_Config">https://github.com/herlesupreeth/Kamailio_IMS_Config</a> </div><div>changed only IP and domain name</div><div><br></div># IP-Adress for incoming SIP-Traffic, in the following format:<br><br># SIP / UDP<br>listen=udp:<a href="http://10.45.5.95:5070">10.45.5.95:5070</a><br># Uncomment the below line only when UE is behind double NAT (e.g. VoIP calling over WiFi/ CN behind a NAT)<br>#listen=udp:<a href="http://10.4.128.21:5060">10.4.128.21:5060</a> advertise <a href="http://172.24.15.30:5060">172.24.15.30:5060</a><br># SIP / TCP<br>listen=tcp:<a href="http://10.45.5.95:5070">10.45.5.95:5070</a><br># Uncomment the below line only when UE is behind double NAT (e.g. VoIP calling over WiFi/ CN behind a NAT)<br>#listen=tcp:<a href="http://10.4.128.21:5060">10.4.128.21:5060</a> advertise <a href="http://172.24.15.30:5060">172.24.15.30:5060</a><br># SIP / TCP/TLS<br>#listen=tls:<a href="http://11.22.33.44:5061">11.22.33.44:5061</a><br><br># IPSEC / UDP<br>#!define IPSEC_LISTEN_ADDR "10.45.5.95"<br>#!define IPSEC_CLIENT_PORT 5100<br>#!define IPSEC_SERVER_PORT 6100<br><br># IP used in Rx_AAR_Register - IP of this P-CSCF, to be used in the flow for the AF-signaling<br>#!define RX_AF_SIGNALING_IP "10.4.128.21"<br># Uncomment the below line only when UE is behind double NAT (e.g. VoIP calling over WiFi/ CN behind a NAT)<br>##!define RX_AF_SIGNALING_IP "172.24.15.30"<br><br>alias=<a href="http://pcscf.sip.example.com">pcscf.sip.example.com</a><br><br>#!define MY_WS_PORT 80<br>#!define MY_WSS_PORT 443<br><br>#!define PCSCF_URL "sip:<a href="http://pcscf.sip.example.com:5070">pcscf.sip.example.com:5070</a>"<br><br>#!define TCP_PROCESSES 8<br><div><br></div><div><br></div><div><br></div><div>I am not using pcrf .. rest of the things are same.</div><div>OPTIONS request are looping and sometimes registration is getting stopped with 504 server timeout ..</div><div>Unable to find the root-cause.</div><div><br></div><div>Kindly do the needful.</div><div><br></div><div> <br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jun 25, 2020 at 12:29 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>can you please paste here your DNS zone file and pcscf configuration files? It looks like DNS is not setup properly as sip:<a href="http://example.com" target="_blank">example.com</a> is not being resolved to point to ICSCF.</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, 25 Jun 2020 at 07:20, 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 followed your guide to build kamailio IMS</div><div><br></div><div><a href="https://open5gs.org/open5gs/docs/tutorial/02-VoLTE-setup/" target="_blank">https://open5gs.org/open5gs/docs/tutorial/02-VoLTE-setup/</a> </div><div><br></div><div>services are running fine .</div><div>when i try to make a call . registration fails with 478 unresolvable destination</div><div><br></div>93(25632) INFO: rr [rr_mod.c:515]: pv_get_route_uri_f(): No route header present.<br>93(25632) NOTICE: <script>: PCSCF REGISTER:<br> Destination URI: <null><br> Request URI: sip:<a href="http://sip.example.com" target="_blank">sip.example.com</a>;transport=TCP<br>93(25632) INFO: rr [rr_mod.c:515]: pv_get_route_uri_f(): No route header present.<br>93(25632) NOTICE: <script>: Source IP and Port: (<a href="http://10.45.5.37:32945" target="_blank">10.45.5.37:32945</a>)<br> Route-URI:<br>93(25632) NOTICE: <script>: Received IP and Port: (<a href="http://10.45.5.95:5060" target="_blank">10.45.5.95:5060</a>)<br>93(25632) NOTICE: <script>: Contact header: <sip:bob@10.45.5.37:36858;rinstance=9cc3de25b0bbb76f;transport=tcp><br>93(25632) INFO: ims_registrar_pcscf [sec_agree.c:264]: cscf_get_security(): No security parameters found<br>93(25632) INFO: ims_registrar_pcscf [sec_agree.c:296]: cscf_get_security_verify(): No security-verify parameters found<br><b>93(25632) CRITICAL: <core> [core/dns_cache.c:3157]: dns_srv_sip_resolve(): unknown proto 0<br>93(25632) ERROR: tm [ut.h:284]: uri2dst2(): failed to resolve "<a href="http://sip.example.com" target="_blank">sip.example.com</a>" :bug - critical error (-13)<br>93(25632) ERROR: tm [t_fwd.c:1728]: t_forward_nonack(): failure to add branches<br>93(25632) ERROR: sl [sl_funcs.c:392]: sl_reply_error(): stateless error reply used: Unresolvable destination (478/SL)<br>93(25632) ERROR: <script>: REGISTER (<a href="mailto:sip%3Abob@sip.example.com" target="_blank">sip:bob@sip.example.com</a>;transport=TCP (<a href="http://10.45.5.37:32945" target="_blank">10.45.5.37:32945</a>) to <a href="mailto:sip%3Abob@sip.example.com" target="_blank">sip:bob@sip.example.com</a>;transport=TCP, QaTgoJXt7UGPJl9-jd0pxQ..)</b><br><div> <br></div><div><br></div><div><br></div><div>what might be the issue . I have configured dns server also.</div><div><br></div><div>kindly help .</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 Wed, Jun 24, 2020 at 6:23 PM 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>I am not sure if this issue comes in 5.3.4 version .</div><div><br></div><div>The below error i am facing in pcscf .</div><div>0(4152) ERROR: <script>: event_route[htable:mod-init] {<br> 1(4153) ERROR: db_mysql [km_dbase.c:122]: db_mysql_submit_query(): driver error on query: Unknown column 'aor' in 'field list' (1054)<br> 1(4153) ERROR: <core> [db_query.c:141]: db_do_query_internal(): error while submitting query<br> 1(4153) ERROR: ims_usrloc_pcscf [udomain.c:992]: preload_udomain(): db_query (1) failed<br> 1(4153) ERROR: ims_usrloc_pcscf [ims_usrloc_pcscf_mod.c:238]: child_init(): child(1): failed to preload domain 'location'<br> 1(4153) ERROR: <core> [core/sr_module.c:781]: init_mod_child(): error while initializing module ims_usrloc_pcscf (/usr/lib/x86_64-linux-gnu/kamailio/modules/ims_usrloc_pcscf.so) (idx: 1 rank: 1 desc: [udp receiver child=0 sock=<a href="http://172.17.0.3:4060" target="_blank">172.17.0.3:4060</a>])<br> 1(4153) ERROR: <core> [core/pt.c:336]: fork_process(): init_child failed for process 1, pid 4153, "udp receiver child=0 sock=<a href="http://172.17.0.3:4060" target="_blank">172.17.0.3:4060</a>"<br> 1(4153) CRITICAL: <core> [main.c:1663]: main_loop(): Cannot fork<br>24(4199) INFO: ctl [io_listener.c:214]: io_listen_loop(): io_listen_loop:  using epoll_lt io watch method (config)<br>25(4215) WARNING: ims_usrloc_pcscf [usrloc_db.c:67]: connect_db(): DB connection already open... continuing<br>28(4218) WARNING: ims_usrloc_pcscf [usrloc_db.c:67]: connect_db(): DB connection already open... continuing<br>29(4219) WARNING: ims_usrloc_pcscf [usrloc_db.c:67]: connect_db(): DB connection already open... continuing<br>30(4220) WARNING: ims_usrloc_pcscf [usrloc_db.c:67]: connect_db(): DB connection already open... continuing<br>31(4221) WARNING: ims_usrloc_pcscf [usrloc_db.c:67]: connect_db(): DB connection already open... continuing<br>32(4222) WARNING: ims_usrloc_pcscf [usrloc_db.c:67]: connect_db(): DB connection already open... continuing<br>27(4217) INFO: jsonrpcs [jsonrpcs_sock.c:443]: jsonrpc_dgram_process(): a new child 0/4217<br>33(4223) WARNING: ims_usrloc_pcscf [usrloc_db.c:67]: connect_db(): DB connection already open... continuing<br>34(4224) WARNING: ims_usrloc_pcscf [usrloc_db.c:67]: connect_db(): DB connection already open... continuing<br>root@7f3840db6813:/etc/kamailio/pcscf#  0(4152) ALERT: <core> [main.c:762]: handle_sigs(): child process 4153 exited normally, status=255<br> 0(4152) INFO: <core> [main.c:792]: handle_sigs(): terminating due to SIGCHLD<br>24(4199) INFO: <core> [main.c:847]: sig_usr(): signal 15 received<br>23(4198) INFO: <core> [main.c:847]: sig_usr(): signal 15 received<br>22(4197) INFO: <core> [main.c:847]: sig_usr(): signal 15 received<br>21(4196) INFO: <core> [main.c:847]: sig_usr(): signal 15 received<br>20(4195) INFO: <core> [main.c:847]: sig_usr(): signal 15 received<br></div><div><br></div><div><br></div><div>Kindly help..</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 Wed, Jun 24, 2020 at 5:16 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>Please try to keep the mailing list in loop so that it helps others as well facing this issue.<br></div><div><br></div><div>I believe this was resolved in 5.3.3 branch not sure why you are facing this issue. Anyways, make sure that modules loaded in kamailio.cfg of PCSCF is in following order</div><div><br></div><div>loadmodule "ims_dialog"<br>loadmodule "ims_usrloc_pcscf" <br>#!ifdef WITH_IPSEC<br>loadmodule "ims_ipsec_pcscf"<br>#!endif<br>loadmodule "ims_registrar_pcscf"</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 Wed, 24 Jun 2020 at 13:36, 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 am getting the below error</div><div><br></div><div>ms_usrloc_pcscf [/usr/lib/x86_64-linux-gnu/kamailio/modules/ims_usrloc_pcscf.so]<br> 0(455) DEBUG: ims_registrar_pcscf [ims_registrar_pcscf_mod.c:264]: mod_init(): Successfully bound to PCSCF Usrloc module<br> 0(455) DEBUG: <core> [core/sr_module.c:632]: find_mod_export_record(): found export of <bind_ims_ipsec_pcscf> in module ims_ipsec_pcscf [/usr/lib/x86_64-linux-gnu/kamailio/modules/ims_ipsec_pcscf.so]<br> 0(455) ERROR: ims_ipsec_pcscf [cmd.c:85]: bind_ipsec_pcscf(): configuration error - trying to bind to ipsec pscscf module before being initialized<br> 0(455) ERROR: <core> [core/sr_module.c:849]: init_mod(): Error while initializing module ims_registrar_pcscf (/usr/lib/x86_64-linux-gnu/kamailio/modules/ims_registrar_pcscf.so)<br>ERROR: error while initializing modules<br> 0(455) ERROR: ims_ipsec_pcscf [ims_ipsec_pcscf_mod.c:305]: mod_destroy(): Error destroying spi generator<br> 0(455) ERROR: ims_ipsec_pcscf [ims_ipsec_pcscf_mod.c:309]: mod_destroy(): Error destroying port generator<br> 0(455) DEBUG: tm [t_funcs.c:84]: tm_shutdown(): start<br> 0(455) DEBUG: tm [t_funcs.c:87]: tm_shutdown(): emptying hash table<br> 0(455) DEBUG: tm [t_funcs.c:89]: tm_shutdown(): removing semaphores<br> 0(455) DEBUG: tm [t_funcs.c:91]: tm_shutdown(): destroying tmcb lists<br></div><div><br></div><div><br></div><div>Kindly help</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jun 24, 2020 at 5:03 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>There is no other IPSec configuration needed apart from running Kamailio P-CSCF and UE sending a SIP Register with Security-Client information for IPSec creation. Kamailio IMS IPSec module creates IPSec tunnels using Netlink library.<br></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 Wed, 24 Jun 2020 at 13:29, 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 you please tell how to configure ipsec (general configuration not related to kamailio).</div><div><br></div><div>Thanks,</div><div>Pavithra</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jun 24, 2020 at 2:12 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"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>reason=404 (Not Found - destination user not found on this S-CSCF)]<br></div></blockquote><div><br></div><div>Please check your IMPU for the IMS user in the IMS HSS (e.g. FHoSS or any other HSS you are using to enter IMS user details). SCSCF is not able to find a registered user with that IMPU (i am assuming that you are getting this response while calling)<br></div><div><br></div><div>Increase the debug level on S-CSCF and check out which IMPU is being referred by SCSCF</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 Wed, 24 Jun 2020 at 10:26, 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,<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" 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>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>
</blockquote></div>
</blockquote></div>
</blockquote></div>
</blockquote></div>
</blockquote></div>
</blockquote></div>
</blockquote></div>
</blockquote></div>
</blockquote></div>