Hello,
On 13/10/16 09:51, Infinicalls Infinicalls wrote: > Hi Daniel, > > I find only this error message in syslog. Rest are normal. > > Oct 13 07:41:15 infinicalls /usr/local/sbin/kamailio[32948]: ERROR: > <script>: t_(load|next)_contacts() failed this is an error message printed from kamailio.cfg -- do you have such xlog() there? > > Oct 13 07:41:15 infinicalls /usr/local/sbin/kamailio[32948]: ERROR: sl > [sl_funcs.c:363]: sl_reply_error(): ERROR: sl_reply_error used: I'm > terribly sorry, server error occurred (1/SL) This is from c code and due to other operation that fails. Run with debug=3 to see what is printed before and causes this. > > I am not sure, if this is the correct one. Kindly guide me. > > And is this related to this > https://github.com/kamailio/kamailio/issues/497 ? If yes, I think I > need to update to the latest version of Kamailio. That issue doesn't seem to be related. It is better to run latest stable version to be sure you don't hit a bug that was already fixed. Cheers, Daniel > > regards > Ganesh Kumar > > > On 10/13/16, Daniel-Constantin Mierla <mico...@gmail.com> wrote: >> Hello, >> >> stun and outbound don't have anything to do with DNS resolving. >> >> Run with debug=3 in kamailio.cfg and see the logs for more details. >> >> Cheers, >> Daniel >> >> >> On 12/10/16 16:46, Infinicalls Infinicalls wrote: >>> Hi, >>> From the log files, I can see .. >>> >>> Oct 12 14:43:06 infinicalls /usr/local/sbin/kamailio[13198]: INFO: >>> stun [kam_stun.c:169]: stun_parse_header(): INFO: stun_parse_header: >>> incomplete header of STUN message >>> >>> I have modified the $du field now. Instead of taking values from >>> REGISTRARIP and REGISTRARPORT, it is now substituted with actual >>> values. I have also added outbound.so and stun.so to the registrar >>> config. >>> >>> But, still this error persists. >>> >>> Can you tell me how to solve this. Thanks. >>> >>> regards >>> Ganesh Kumar >>> >>> >>> On 10/11/16, Daniel-Constantin Mierla <mico...@gmail.com> wrote: >>>> Hello, >>>> >>>> this is typically because the address in r-uri (or outbound proxy $du) >>>> cannot be resolved with the DNS server. Try to run with debug=3 in >>>> kamailio.cfg and look at the logs for hints about what happens. >>>> >>>> Cheers, >>>> Daniel >>>> >>>> >>>> On 07/10/16 10:48, Infinicalls Infinicalls wrote: >>>>> Hi Daniel, >>>>> By pasting the following to the registrar config file, I stopped >>>>> getting Bad Extension error. And I am able to stay online. But while >>>>> dialing, it gives the "I am terribly sorry..." error. >>>>> >>>>> modparam("path", "use_received", 1) >>>>> modparam("registrar", "use_path", 1) >>>>> modparam("registrar", "path_mode", 1) >>>>> modparam("registrar", "path_use_received", 1) >>>>> >>>>> regards >>>>> Ganesh Kumar >>>>> >>>>> >>>>> On 10/7/16, Infinicalls Infinicalls <infinica...@gmail.com> wrote: >>>>>> Hi Daniel, >>>>>> I am pasting a fresh REGISTER request and the error message here. The >>>>>> Proxy and Registrar config files are taken from >>>>>> http://kamailio.org/docs/modules/4.2.x/modules/outbound.html >>>>>> >>>>>> >>>>>> ------------- >>>>>> root@infinicalls:~# ngrep -d any -qt -W byline . port 5060 >>>>>> interface: any >>>>>> filter: (ip or ip6) and ( port 5060 ) >>>>>> match: . >>>>>> >>>>>> U 2016/10/07 08:36:50.151818 52.233.25.164:5060 -> 10.0.0.4:5060 >>>>>> REGISTER sip:infinicalls-proxy1.canadacentral.cloudapp.azure.com >>>>>> SIP/2.0. >>>>>> Via: SIP/2.0/UDP >>>>>> 10.1.0.4;branch=z9hG4bK8a33.416e8573670e015bec4d14051ceb68a8.0. >>>>>> Via: SIP/2.0/UDP >>>>>> 10.114.70.81:1330;received=113.193.151.1;rport=1330;branch=z9hG4bKPj832cd09f4be040e89dc5d9e8d17bc531. >>>>>> Max-Forwards: 69. >>>>>> From: "Balaji" >>>>>> <sip:bal...@infinicalls-uk.uksouth.cloudapp.azure.com>;tag=eda6c2494a0742b08f8fbe6254bfa385. >>>>>> To: "Balaji" <sip:bal...@infinicalls-uk.uksouth.cloudapp.azure.com>. >>>>>> Call-ID: b2b13a3cfeab41228fd8127e18e5acef. >>>>>> CSeq: 26376 REGISTER. >>>>>> User-Agent: MicroSIP/3.12.3. >>>>>> Contact: "Balaji" <sip:balaji@10.114.70.81:1330;ob>. >>>>>> Expires: 300. >>>>>> Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, >>>>>> NOTIFY, REFER, MESSAGE, OPTIONS. >>>>>> Content-Length: 0. >>>>>> Path: <sip:10.1.0.4;lr>. >>>>>> . >>>>>> >>>>>> >>>>>> U 2016/10/07 08:36:50.154628 10.0.0.4:5060 -> 52.233.25.164:5060 >>>>>> SIP/2.0 420 Bad Extension. >>>>>> Via: SIP/2.0/UDP >>>>>> 10.1.0.4;branch=z9hG4bK8a33.416e8573670e015bec4d14051ceb68a8.0;received=52.233.25.164. >>>>>> Via: SIP/2.0/UDP >>>>>> 10.114.70.81:1330;received=113.193.151.1;rport=1330;branch=z9hG4bKPj832cd09f4be040e89dc5d9e8d17bc531. >>>>>> From: "Balaji" >>>>>> <sip:bal...@infinicalls-uk.uksouth.cloudapp.azure.com>;tag=eda6c2494a0742b08f8fbe6254bfa385. >>>>>> To: "Balaji" >>>>>> <sip:bal...@infinicalls-uk.uksouth.cloudapp.azure.com>;tag=b27e1a1d33761e85846fc98f5f3a7e58.0549. >>>>>> Call-ID: b2b13a3cfeab41228fd8127e18e5acef. >>>>>> CSeq: 26376 REGISTER. >>>>>> Contact: <sip:balaji@10.114.70.81:1330;ob>;expires=300. >>>>>> Unsupported: path. >>>>>> Path: <sip:10.1.0.4;lr>. >>>>>> Supported: outbound. >>>>>> P-Registrar-Error: No support for found Path indicated. >>>>>> Server: kamailio (4.4.3 (x86_64/linux)). >>>>>> Content-Length: 0. >>>>>> . >>>>>> --------- >>>>>> >>>>>> Kindly let me know what went wrong. Thanks. >>>>>> >>>>>> regards >>>>>> Ganesh Kumar >>>>>> >>>> -- >>>> Daniel-Constantin Mierla >>>> http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda >>>> Kamailio Advanced Training, Berlin, Oct 24-26, 2016 - >>>> http://www.asipto.com >>>> >>>> >>>> _______________________________________________ >>>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list >>>> sr-users@lists.sip-router.org >>>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users >>>> >> -- >> Daniel-Constantin Mierla >> http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda >> Kamailio Advanced Training, Berlin, Oct 24-26, 2016 - http://www.asipto.com >> >> -- Daniel-Constantin Mierla http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Kamailio Advanced Training, Berlin, Oct 24-26, 2016 - http://www.asipto.com _______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users