<div dir="ltr">Finally, I uninstalled and reinstalled Kamailio and now SIP calls works fine.<div><br></div><div>Thanks.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Aug 27, 2019 at 4:26 PM Jack R <<a href="mailto:roughj@gmail.com">roughj@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>I installed Kamailio SIP server:</div><div>Following article: <a href="https://github.com/open5gs/nextepc/blob/master/docs/_docs/guide/04-setting-up-kamailio-IMS.md" target="_blank">https://github.com/open5gs/nextepc/blob/master/docs/_docs/guide/04-setting-up-kamailio-IMS.md</a></div><div><br></div><div>By following step # 12 (as per above article) when we initiate the call we get - Too many hops 483</div><div><br></div><div>Created two user earlier:</div><div>$ kamctl add test testpasswd<br></div><div>$ kamctl add test2 testpasswd<br></div><div><br></div><div>syslog show:</div><div>Aug 27 09:36:50 localhost /usr/sbin/kamailio[56286]: ERROR: nathelper [nathelper.c:780]: add_contact_alias_0(): failed to get contact uri<br></div><div>Aug 27 09:36:50 localhost /usr/sbin/kamailio[56286]: ERROR: ims_registrar_pcscf [save.c:268]: save_pending(): No contact headers<br>Aug 27 09:36:50 localhost /usr/sbin/kamailio[56275]: ERROR: <script>: REGISTER (<a href="mailto:sip%3Atest1@139.54.102.135" target="_blank">sip:test1@139.54.102.135</a> (<a href="http://139.54.102.135:5060" target="_blank">139.54.102.135:5060</a>) to <a href="mailto:sip%3Atest1@139.54.102.135" target="_blank">sip:test1@139.54.102.135</a>, <a href="mailto:ee24f837b04b07334e25befe81217f8f@45.45.0.16" target="_blank">ee24f837b04b07334e25befe81217f8f@45.45.0.16</a>)</div><div><br></div><div>Aug 27 09:36:50 localhost /usr/sbin/kamailio[56275]: ERROR: nathelper [nathelper.c:780]: add_contact_alias_0(): failed to get contact uri<br>Aug 27 09:36:50 localhost /usr/sbin/kamailio[56275]: ERROR: ims_registrar_pcscf [save.c:268]: save_pending(): No contact headers<br>Aug 27 09:36:50 localhost /usr/sbin/kamailio[56276]: ERROR: <script>: REGISTER (<a href="mailto:sip%3Atest1@139.54.102.135" target="_blank">sip:test1@139.54.102.135</a> (<a href="http://139.54.102.135:5060" target="_blank">139.54.102.135:5060</a>) to <a href="mailto:sip%3Atest1@139.54.102.135" target="_blank">sip:test1@139.54.102.135</a>, <a href="mailto:ee24f837b04b07334e25befe81217f8f@45.45.0.16" target="_blank">ee24f837b04b07334e25befe81217f8f@45.45.0.16</a>)<br><br></div><div>Aug 27 09:37:05 localhost /usr/sbin/kamailio[56278]: ERROR: <script>: REGISTER (<a href="mailto:sip%3Atest1@139.54.102.135" target="_blank">sip:test1@139.54.102.135</a> (<a href="http://45.45.0.16:42965" target="_blank">45.45.0.16:42965</a>) to <a href="mailto:sip%3Atest1@139.54.102.135" target="_blank">sip:test1@139.54.102.135</a>, <a href="mailto:04e06b6352f7a2b8f97c1a3733b3334a@45.45.0.16" target="_blank">04e06b6352f7a2b8f97c1a3733b3334a@45.45.0.16</a>)<br>Aug 27 09:37:05 localhost /usr/sbin/kamailio[56278]: ERROR: ims_registrar_pcscf [save.c:339]: save_pending(): Will save pending contact without security parameters<br>Aug 27 09:37:05 localhost /usr/sbin/kamailio[56374]: ERROR: <script>: Diameter: AAR failed on subscription to signalling<br></div><div><br></div><div>Server IP 139.54.102.135 where Kamailio is installed, UE IP address 45.45.0.16, 45.45.0.1</div><div><br></div><div>Followed this <a href="https://www.kamailio.org/wiki/tutorials/faq/main#why_the_sip_requests_are_repli" target="_blank">https://www.kamailio.org/wiki/tutorials/faq/main#why_the_sip_requests_are_repli</a></div><div><br></div><div>Thought to test using SIPp - installed and ran default command: ./sipp –sn uac 127.0.0.1  and  ./sipp –sn uac 139.54.102.135</div><div><br></div><div>Aug 27 08:51:32 localhost /usr/sbin/kamailio[56295]: ERROR: <script>: INVITE (<a href="http://sip:sipp@139.54.102.135:5061" target="_blank">sip:sipp@139.54.102.135:5061</a> (<a href="http://139.54.102.135:5061" target="_blank">139.54.102.135:5061</a>) to <a href="http://sip:service@139.54.102.135:5060" target="_blank">sip:service@139.54.102.135:5060</a>, <a href="mailto:2-60232@139.54.102.135" target="_blank">2-60232@139.54.102.135</a>)<br>Aug 27 08:51:32 localhost /usr/sbin/kamailio[56295]: ERROR: ims_ipsec_pcscf [cmd.c:507]: ipsec_forward(): Contact doesn't exist<br></div><div><br></div><div>The user sipp and service does'nt exist</div><div><br></div><div>Added user:</div><div>kamctl add sipp testpasswd<br></div><div>kamctl add service testpasswd  <br></div><div><br></div><div>Still same error:</div><div>Aug 27 10:52:17 localhost /usr/sbin/kamailio[56289]: ERROR: ims_ipsec_pcscf [cmd.c:507]: ipsec_forward(): Contact doesn't exist<br>Aug 27 10:52:17 localhost /usr/sbin/kamailio[56284]: ERROR: <script>: INVITE (<a href="http://sip:sipp@139.54.102.135:5061" target="_blank">sip:sipp@139.54.102.135:5061</a> (<a href="http://139.54.102.135:5061" target="_blank">139.54.102.135:5061</a>) to <a href="http://sip:service@139.54.102.135:5060" target="_blank">sip:service@139.54.102.135:5060</a>, <a href="mailto:977-61357@139.54.102.135" target="_blank">977-61357@139.54.102.135</a>)<br></div><div><br></div><div>Please advise.</div><div>Thanks and Regards.</div></div>
</blockquote></div>