<div dir="ltr"><div>Hello Everyone,</div><div><br></div><div>I have an IMS setup using Kamailo and is working as expected when the 4G Core Network and IMS is running in a single VM. However, when running in two different VMs registration is successful but calling fails. As per the scripts in kamailio ims example folder for P-CSCF, uac module is used to generate OPTIONS message to achieve a kind of NATPINGING to UEs.</div><div>The ping achieved in this way times out with 408 when IMS and Core Network is run in different VMs.</div><div><br></div><div>I suspect that the increasing packets size could be the issue for UE not responding to OPTIONS from P-CSCF (I have verified that OPTIONS message from P-CSCF is reaching the eNB). In this aspect, I would like to switch the transport protocol to TCP when MTU is greater than 1300 (please guide me if my thinking of switching to TCP to tackle NAT issue is wrong).</div><div><br></div><div>I have explored the following options:</div><div><br></div><div>tcp_reuse_port=yes<br>udp_mtu=1300<br>udp_mtu_try_proto=TCP</div><div><br></div><div>But, when I use these options, any request message which hit 1300 MTU mark are not sent out at all (in my case it is the NOTIFY request from SCSCF) and Kamailio has a warning saying that binding to address failed as the address is already in use.</div><div><br></div><div>Following is the small part of the log:<br></div><div><br></div><div>Feb 27 14:31:15 epc-ims /usr/local/sbin/kamailio[19712]: DEBUG: ims_registrar_scscf [registrar_notify.c:2275]: notification_event_process(): About to free notification<br>Feb 27 14:31:15 epc-ims /usr/local/sbin/kamailio[19730]: NOTICE: <script>: PCSCF MO_reply: <br>                                                          Destination URI: <null><br>                                                          Request URI: <null><br>Feb 27 14:31:15 epc-ims /usr/local/sbin/kamailio[19730]: INFO: rr [rr_mod.c:515]: pv_get_route_uri_f(): No route header present.<br>Feb 27 14:31:15 epc-ims /usr/local/sbin/kamailio[19730]: NOTICE: <script>: Source IP and Port: (<a href="http://10.4.128.21:6060">10.4.128.21:6060</a>)<br>                                                          Route-URI:<br>Feb 27 14:31:15 epc-ims /usr/local/sbin/kamailio[19730]: NOTICE: <script>: Received IP and Port: (<a href="http://10.4.128.21:5060">10.4.128.21:5060</a>)<br>Feb 27 14:31:15 epc-ims /usr/local/sbin/kamailio[19730]: NOTICE: <script>: Contact header: <sip:<a href="http://scscf.ims.mnc001.mcc001.3gppnetwork.org:6060">scscf.ims.mnc001.mcc001.3gppnetwork.org:6060</a>><br>Feb 27 14:31:15 epc-ims /usr/local/sbin/kamailio[19730]: ERROR: <script>: NOTIFY (tel:0198765432100 (<a href="http://172.24.15.30:6060">172.24.15.30:6060</a>) to tel:0198765432100, <a href="mailto:4125089758_4268630712@192.168.101.2">4125089758_4268630712@192.168.101.2</a>)<br>Feb 27 14:31:15 epc-ims /usr/local/sbin/kamailio[19730]: NOTICE: <script>: Within DLG<br>Feb 27 14:31:15 epc-ims /usr/local/sbin/kamailio[19730]: NOTICE: <script>: Within loose route<br>Feb 27 14:31:15 epc-ims /usr/local/sbin/kamailio[19730]: NOTICE: <script>: PCSCF MO_indialog: <br>                                                          Destination URI: sip:<a href="http://172.24.15.10:5060">172.24.15.10:5060</a><br>                                                          Request URI: sip:<a href="http://192.168.101.2:5060">192.168.101.2:5060</a><br>Feb 27 14:31:15 epc-ims /usr/local/sbin/kamailio[19730]: NOTICE: <script>: Source IP and Port: (<a href="http://172.24.15.30:6060">172.24.15.30:6060</a>)<br>                                                          Route-URI: <a href="mailto:sip%3Amo@172.24.15.30">sip:mo@172.24.15.30</a>;lr=on;ftag=4125089761<br>Feb 27 14:31:15 epc-ims /usr/local/sbin/kamailio[19730]: NOTICE: <script>: Received IP and Port: (<a href="http://10.4.128.21:5060">10.4.128.21:5060</a>)<br>Feb 27 14:31:15 epc-ims /usr/local/sbin/kamailio[19730]: NOTICE: <script>: Contact header: <sip:<a href="http://scscf.ims.mnc001.mcc001.3gppnetwork.org:6060">scscf.ims.mnc001.mcc001.3gppnetwork.org:6060</a>><br>Feb 27 14:31:15 epc-ims /usr/local/sbin/kamailio[19730]: WARNING: <core> [core/tcp_main.c:1298]: tcp_do_connect(): binding to source address <a href="http://10.4.128.21:5060">10.4.128.21:5060</a> failed: Address already in use [98]<br></div><div><br></div><div><br></div><div>I could be assuming things here about huge packet sizes causing the issue, if anyone has experienced similar issue in NATed scenario please let me know some hints or pointer to solve this. Thanks in advance.</div><div><br></div><div>Best Regards,</div><div>Supreeth<br></div><div><br></div><div><br></div><div><br></div></div>