Re: [SR-Users] 420 Bad Extension error
Hi Daniel, Just curious, were you able to investigate on the error message? I am still unable to get it working. regards Ganesh Kumar On 10/14/16, Infinicalls Infinicalls wrote: > Hi, > I have pasted the entire log here for your ref. > > http://paste.fedoraproject.org/449906/14764350/ > > > thanks > Ganesh Kumar > > On 10/14/16, Daniel-Constantin Mierla wrote: >> Hello, >> >> the initial INVITE must be without a to-tag, so that's fine... >> >> I will try to see the reason for the t_load_contacts(). >> >> Cheers, >> Daniel >> >> >> On 14/10/16 10:31, Infinicalls Infinicalls wrote: >>> Hi, >>> >>> I referred to the totag. Sorry if I mistook it for to field. >>> >>> regards >>> Ganesh Kumar >>> >>> On 10/14/16, Daniel-Constantin Mierla wrote: Hello, On 14/10/16 10:25, Infinicalls Infinicalls wrote: > Hi, > > On 10/13/16, Daniel-Constantin Mierla wrote: >> Can you split the IF with t_load_contacts () || t_next_contacts () >> in >> two >> to see which one fails? > After splitting, I get this error. > > Oct 14 08:14:01 infinicalls /usr/local/sbin/kamailio[35289]: DEBUG: > siputils [checks.c:97]: has_totag(): no totag > Oct 14 08:14:01 infinicalls /usr/local/sbin/kamailio[35289]: DEBUG: tm > [t_lookup.c:1011]: t_check_msg(): DEBUG: t_check_msg: msg id=2 global > id=1 T start=(nil) > Oct 14 08:14:01 infinicalls /usr/local/sbin/kamailio[35289]: DEBUG: tm > [t_lookup.c:466]: t_lookup_request(): t_lookup_request: start > searching: hash=9175, isACK=0 > Oct 14 08:14:01 infinicalls /usr/local/sbin/kamailio[35289]: DEBUG: tm > [t_lookup.c:424]: matching_3261(): DEBUG: RFC3261 transaction matching > failed > Oct 14 08:14:01 infinicalls /usr/local/sbin/kamailio[35289]: DEBUG: tm > [t_lookup.c:648]: t_lookup_request(): DEBUG: t_lookup_request: no > transaction found > Oct 14 08:14:01 infinicalls /usr/local/sbin/kamailio[35289]: DEBUG: tm > [t_lookup.c:1080]: t_check_msg(): DEBUG: t_check_msg: msg id=2 global > id=2 T end=(nil) > Oct 14 08:14:01 infinicalls /usr/local/sbin/kamailio[35289]: DEBUG: > registrar [lookup.c:240]: lookup_helper(): contact for [balaji] found > by address > Oct 14 08:14:01 infinicalls /usr/local/sbin/kamailio[35289]: DEBUG: > [parser/parse_rr.c:453]: get_path_dst_uri(): path for branch: > '' > Oct 14 08:14:01 infinicalls /usr/local/sbin/kamailio[35289]: DEBUG: tm > [t_serial.c:455]: t_next_contacts(): no contacts in contacts_avp - we > are done! > Oct 14 08:14:01 infinicalls /usr/local/sbin/kamailio[35289]: ERROR: >
Re: [SR-Users] 420 Bad Extension error
Hi, I have pasted the entire log here for your ref. http://paste.fedoraproject.org/449906/14764350/ thanks Ganesh Kumar On 10/14/16, Daniel-Constantin Mierla wrote: > Hello, > > the initial INVITE must be without a to-tag, so that's fine... > > I will try to see the reason for the t_load_contacts(). > > Cheers, > Daniel > > > On 14/10/16 10:31, Infinicalls Infinicalls wrote: >> Hi, >> >> I referred to the totag. Sorry if I mistook it for to field. >> >> regards >> Ganesh Kumar >> >> On 10/14/16, Daniel-Constantin Mierla wrote: >>> Hello, >>> >>> >>> On 14/10/16 10:25, Infinicalls Infinicalls wrote: Hi, On 10/13/16, Daniel-Constantin Mierla wrote: > Can you split the IF with t_load_contacts () || t_next_contacts () in > two > to see which one fails? After splitting, I get this error. Oct 14 08:14:01 infinicalls /usr/local/sbin/kamailio[35289]: DEBUG: siputils [checks.c:97]: has_totag(): no totag Oct 14 08:14:01 infinicalls /usr/local/sbin/kamailio[35289]: DEBUG: tm [t_lookup.c:1011]: t_check_msg(): DEBUG: t_check_msg: msg id=2 global id=1 T start=(nil) Oct 14 08:14:01 infinicalls /usr/local/sbin/kamailio[35289]: DEBUG: tm [t_lookup.c:466]: t_lookup_request(): t_lookup_request: start searching: hash=9175, isACK=0 Oct 14 08:14:01 infinicalls /usr/local/sbin/kamailio[35289]: DEBUG: tm [t_lookup.c:424]: matching_3261(): DEBUG: RFC3261 transaction matching failed Oct 14 08:14:01 infinicalls /usr/local/sbin/kamailio[35289]: DEBUG: tm [t_lookup.c:648]: t_lookup_request(): DEBUG: t_lookup_request: no transaction found Oct 14 08:14:01 infinicalls /usr/local/sbin/kamailio[35289]: DEBUG: tm [t_lookup.c:1080]: t_check_msg(): DEBUG: t_check_msg: msg id=2 global id=2 T end=(nil) Oct 14 08:14:01 infinicalls /usr/local/sbin/kamailio[35289]: DEBUG: registrar [lookup.c:240]: lookup_helper(): contact for [balaji] found by address Oct 14 08:14:01 infinicalls /usr/local/sbin/kamailio[35289]: DEBUG: [parser/parse_rr.c:453]: get_path_dst_uri(): path for branch: '' Oct 14 08:14:01 infinicalls /usr/local/sbin/kamailio[35289]: DEBUG: tm [t_serial.c:455]: t_next_contacts(): no contacts in contacts_avp - we are done! Oct 14 08:14:01 infinicalls /usr/local/sbin/kamailio[35289]: ERROR:
Re: [SR-Users] 420 Bad Extension error
Hello, the initial INVITE must be without a to-tag, so that's fine... I will try to see the reason for the t_load_contacts(). Cheers, Daniel On 14/10/16 10:31, Infinicalls Infinicalls wrote: > Hi, > > I referred to the totag. Sorry if I mistook it for to field. > > regards > Ganesh Kumar > > On 10/14/16, Daniel-Constantin Mierla wrote: >> Hello, >> >> >> On 14/10/16 10:25, Infinicalls Infinicalls wrote: >>> Hi, >>> >>> On 10/13/16, Daniel-Constantin Mierla wrote: Can you split the IF with t_load_contacts () || t_next_contacts () in two to see which one fails? >>> After splitting, I get this error. >>> >>> Oct 14 08:14:01 infinicalls /usr/local/sbin/kamailio[35289]: DEBUG: >>> siputils [checks.c:97]: has_totag(): no totag >>> Oct 14 08:14:01 infinicalls /usr/local/sbin/kamailio[35289]: DEBUG: tm >>> [t_lookup.c:1011]: t_check_msg(): DEBUG: t_check_msg: msg id=2 global >>> id=1 T start=(nil) >>> Oct 14 08:14:01 infinicalls /usr/local/sbin/kamailio[35289]: DEBUG: tm >>> [t_lookup.c:466]: t_lookup_request(): t_lookup_request: start >>> searching: hash=9175, isACK=0 >>> Oct 14 08:14:01 infinicalls /usr/local/sbin/kamailio[35289]: DEBUG: tm >>> [t_lookup.c:424]: matching_3261(): DEBUG: RFC3261 transaction matching >>> failed >>> Oct 14 08:14:01 infinicalls /usr/local/sbin/kamailio[35289]: DEBUG: tm >>> [t_lookup.c:648]: t_lookup_request(): DEBUG: t_lookup_request: no >>> transaction found >>> Oct 14 08:14:01 infinicalls /usr/local/sbin/kamailio[35289]: DEBUG: tm >>> [t_lookup.c:1080]: t_check_msg(): DEBUG: t_check_msg: msg id=2 global >>> id=2 T end=(nil) >>> Oct 14 08:14:01 infinicalls /usr/local/sbin/kamailio[35289]: DEBUG: >>> registrar [lookup.c:240]: lookup_helper(): contact for [balaji] found >>> by address >>> Oct 14 08:14:01 infinicalls /usr/local/sbin/kamailio[35289]: DEBUG: >>> [parser/parse_rr.c:453]: get_path_dst_uri(): path for branch: >>> '' >>> Oct 14 08:14:01 infinicalls /usr/local/sbin/kamailio[35289]: DEBUG: tm >>> [t_serial.c:455]: t_next_contacts(): no contacts in contacts_avp - we >>> are done! >>> Oct 14 08:14:01 infinicalls /usr/local/sbin/kamailio[35289]: ERROR: >>>
Re: [SR-Users] 420 Bad Extension error
Hi, I referred to the totag. Sorry if I mistook it for to field. regards Ganesh Kumar On 10/14/16, Daniel-Constantin Mierla wrote: > Hello, > > > On 14/10/16 10:25, Infinicalls Infinicalls wrote: >> Hi, >> >> On 10/13/16, Daniel-Constantin Mierla wrote: >>> Can you split the IF with t_load_contacts () || t_next_contacts () in >>> two >>> to see which one fails? >> After splitting, I get this error. >> >> Oct 14 08:14:01 infinicalls /usr/local/sbin/kamailio[35289]: DEBUG: >> siputils [checks.c:97]: has_totag(): no totag >> Oct 14 08:14:01 infinicalls /usr/local/sbin/kamailio[35289]: DEBUG: tm >> [t_lookup.c:1011]: t_check_msg(): DEBUG: t_check_msg: msg id=2 global >> id=1 T start=(nil) >> Oct 14 08:14:01 infinicalls /usr/local/sbin/kamailio[35289]: DEBUG: tm >> [t_lookup.c:466]: t_lookup_request(): t_lookup_request: start >> searching: hash=9175, isACK=0 >> Oct 14 08:14:01 infinicalls /usr/local/sbin/kamailio[35289]: DEBUG: tm >> [t_lookup.c:424]: matching_3261(): DEBUG: RFC3261 transaction matching >> failed >> Oct 14 08:14:01 infinicalls /usr/local/sbin/kamailio[35289]: DEBUG: tm >> [t_lookup.c:648]: t_lookup_request(): DEBUG: t_lookup_request: no >> transaction found >> Oct 14 08:14:01 infinicalls /usr/local/sbin/kamailio[35289]: DEBUG: tm >> [t_lookup.c:1080]: t_check_msg(): DEBUG: t_check_msg: msg id=2 global >> id=2 T end=(nil) >> Oct 14 08:14:01 infinicalls /usr/local/sbin/kamailio[35289]: DEBUG: >> registrar [lookup.c:240]: lookup_helper(): contact for [balaji] found >> by address >> Oct 14 08:14:01 infinicalls /usr/local/sbin/kamailio[35289]: DEBUG: >> [parser/parse_rr.c:453]: get_path_dst_uri(): path for branch: >> '' >> Oct 14 08:14:01 infinicalls /usr/local/sbin/kamailio[35289]: DEBUG: tm >> [t_serial.c:455]: t_next_contacts(): no contacts in contacts_avp - we >> are done! >> Oct 14 08:14:01 infinicalls /usr/local/sbin/kamailio[35289]: ERROR: >>
Re: [SR-Users] 420 Bad Extension error
Hello, On 14/10/16 10:25, Infinicalls Infinicalls wrote: > Hi, > > On 10/13/16, Daniel-Constantin Mierla wrote: >> Can you split the IF with t_load_contacts () || t_next_contacts () in two >> to see which one fails? > After splitting, I get this error. > > Oct 14 08:14:01 infinicalls /usr/local/sbin/kamailio[35289]: DEBUG: > siputils [checks.c:97]: has_totag(): no totag > Oct 14 08:14:01 infinicalls /usr/local/sbin/kamailio[35289]: DEBUG: tm > [t_lookup.c:1011]: t_check_msg(): DEBUG: t_check_msg: msg id=2 global > id=1 T start=(nil) > Oct 14 08:14:01 infinicalls /usr/local/sbin/kamailio[35289]: DEBUG: tm > [t_lookup.c:466]: t_lookup_request(): t_lookup_request: start > searching: hash=9175, isACK=0 > Oct 14 08:14:01 infinicalls /usr/local/sbin/kamailio[35289]: DEBUG: tm > [t_lookup.c:424]: matching_3261(): DEBUG: RFC3261 transaction matching > failed > Oct 14 08:14:01 infinicalls /usr/local/sbin/kamailio[35289]: DEBUG: tm > [t_lookup.c:648]: t_lookup_request(): DEBUG: t_lookup_request: no > transaction found > Oct 14 08:14:01 infinicalls /usr/local/sbin/kamailio[35289]: DEBUG: tm > [t_lookup.c:1080]: t_check_msg(): DEBUG: t_check_msg: msg id=2 global > id=2 T end=(nil) > Oct 14 08:14:01 infinicalls /usr/local/sbin/kamailio[35289]: DEBUG: > registrar [lookup.c:240]: lookup_helper(): contact for [balaji] found > by address > Oct 14 08:14:01 infinicalls /usr/local/sbin/kamailio[35289]: DEBUG: > [parser/parse_rr.c:453]: get_path_dst_uri(): path for branch: > '' > Oct 14 08:14:01 infinicalls /usr/local/sbin/kamailio[35289]: DEBUG: tm > [t_serial.c:455]: t_next_contacts(): no contacts in contacts_avp - we > are done! > Oct 14 08:14:01 infinicalls /usr/local/sbin/kamailio[35289]: ERROR: >
Re: [SR-Users] 420 Bad Extension error
Hi, On 10/13/16, Daniel-Constantin Mierla wrote: > Can you split the IF with t_load_contacts () || t_next_contacts () in two > to see which one fails? After splitting, I get this error. Oct 14 08:14:01 infinicalls /usr/local/sbin/kamailio[35289]: DEBUG: siputils [checks.c:97]: has_totag(): no totag Oct 14 08:14:01 infinicalls /usr/local/sbin/kamailio[35289]: DEBUG: tm [t_lookup.c:1011]: t_check_msg(): DEBUG: t_check_msg: msg id=2 global id=1 T start=(nil) Oct 14 08:14:01 infinicalls /usr/local/sbin/kamailio[35289]: DEBUG: tm [t_lookup.c:466]: t_lookup_request(): t_lookup_request: start searching: hash=9175, isACK=0 Oct 14 08:14:01 infinicalls /usr/local/sbin/kamailio[35289]: DEBUG: tm [t_lookup.c:424]: matching_3261(): DEBUG: RFC3261 transaction matching failed Oct 14 08:14:01 infinicalls /usr/local/sbin/kamailio[35289]: DEBUG: tm [t_lookup.c:648]: t_lookup_request(): DEBUG: t_lookup_request: no transaction found Oct 14 08:14:01 infinicalls /usr/local/sbin/kamailio[35289]: DEBUG: tm [t_lookup.c:1080]: t_check_msg(): DEBUG: t_check_msg: msg id=2 global id=2 T end=(nil) Oct 14 08:14:01 infinicalls /usr/local/sbin/kamailio[35289]: DEBUG: registrar [lookup.c:240]: lookup_helper(): contact for [balaji] found by address Oct 14 08:14:01 infinicalls /usr/local/sbin/kamailio[35289]: DEBUG: [parser/parse_rr.c:453]: get_path_dst_uri(): path for branch: '' Oct 14 08:14:01 infinicalls /usr/local/sbin/kamailio[35289]: DEBUG: tm [t_serial.c:455]: t_next_contacts(): no contacts in contacts_avp - we are done! Oct 14 08:14:01 infinicalls /usr/local/sbin/kamailio[35289]: ERROR:
Re: [SR-Users] 420 Bad Extension error
Can you split the IF with t_load_contacts () || t_next_contacts () in two to see which one fails? Cheers, Daniel On 13 Oct 2016 16:51, "Infinicalls Infinicalls" wrote: > Hi, > > >> Oct 13 07:41:15 infinicalls /usr/local/sbin/kamailio[32948]: ERROR: > >>
Re: [SR-Users] 420 Bad Extension error
Hi, >> Oct 13 07:41:15 infinicalls /usr/local/sbin/kamailio[32948]: ERROR: >>
Re: [SR-Users] 420 Bad Extension error
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: >
Re: [SR-Users] 420 Bad Extension error
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:
Re: [SR-Users] 420 Bad Extension error
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 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 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" ;tag=eda6c2494a0742b08f8fbe6254bfa385. To: "Balaji" . Call-ID: b2b13a3cfeab41228fd8127e18e5acef. CSeq: 26376 REGISTER. User-Agent: MicroSIP/3.12.3. Contact: "Balaji" . Expires: 300. Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS. Content-Length: 0. Path: . . 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" ;tag=eda6c2494a0742b08f8fbe6254bfa385. To: "Balaji" ;tag=b27e1a1d33761e85846fc98f5f3a7e58.0549. Call-ID: b2b13a3cfeab41228fd8127e18e5acef. CSeq: 26376 REGISTER. Contact: ;expires=300. Unsupported: path. Path: . 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 ___ 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
Re: [SR-Users] 420 Bad Extension error
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 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 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" >>> ;tag=eda6c2494a0742b08f8fbe6254bfa385. >>> To: "Balaji" . >>> Call-ID: b2b13a3cfeab41228fd8127e18e5acef. >>> CSeq: 26376 REGISTER. >>> User-Agent: MicroSIP/3.12.3. >>> Contact: "Balaji" . >>> Expires: 300. >>> Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, >>> NOTIFY, REFER, MESSAGE, OPTIONS. >>> Content-Length: 0. >>> Path: . >>> . >>> >>> >>> 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" >>> ;tag=eda6c2494a0742b08f8fbe6254bfa385. >>> To: "Balaji" >>> ;tag=b27e1a1d33761e85846fc98f5f3a7e58.0549. >>> Call-ID: b2b13a3cfeab41228fd8127e18e5acef. >>> CSeq: 26376 REGISTER. >>> Contact: ;expires=300. >>> Unsupported: path. >>> Path: . >>> 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 > -- --- http://www.infinicalls.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
Re: [SR-Users] 420 Bad Extension error
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 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" >> ;tag=eda6c2494a0742b08f8fbe6254bfa385. >> To: "Balaji" . >> Call-ID: b2b13a3cfeab41228fd8127e18e5acef. >> CSeq: 26376 REGISTER. >> User-Agent: MicroSIP/3.12.3. >> Contact: "Balaji" . >> Expires: 300. >> Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, >> NOTIFY, REFER, MESSAGE, OPTIONS. >> Content-Length: 0. >> Path: . >> . >> >> >> 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" >> ;tag=eda6c2494a0742b08f8fbe6254bfa385. >> To: "Balaji" >> ;tag=b27e1a1d33761e85846fc98f5f3a7e58.0549. >> Call-ID: b2b13a3cfeab41228fd8127e18e5acef. >> CSeq: 26376 REGISTER. >> Contact: ;expires=300. >> Unsupported: path. >> Path: . >> 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
Re: [SR-Users] 420 Bad Extension error
Hello, the REGISTER has a PATH header, the path extension has to be enabled in registrar module -- perhaps we should make this default, given that it is a common scenario out there to have an edge proxy/load balancer in front of registrar. Cheers, Daniel On 07/10/16 10:42, Infinicalls Infinicalls 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" > ;tag=eda6c2494a0742b08f8fbe6254bfa385. > To: "Balaji" . > Call-ID: b2b13a3cfeab41228fd8127e18e5acef. > CSeq: 26376 REGISTER. > User-Agent: MicroSIP/3.12.3. > Contact: "Balaji" . > Expires: 300. > Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, > NOTIFY, REFER, MESSAGE, OPTIONS. > Content-Length: 0. > Path: . > . > > > 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" > ;tag=eda6c2494a0742b08f8fbe6254bfa385. > To: "Balaji" > ;tag=b27e1a1d33761e85846fc98f5f3a7e58.0549. > Call-ID: b2b13a3cfeab41228fd8127e18e5acef. > CSeq: 26376 REGISTER. > Contact: ;expires=300. > Unsupported: path. > Path: . > 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 > > ___ > 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 ___ 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
Re: [SR-Users] 420 Bad Extension error
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 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" > ;tag=eda6c2494a0742b08f8fbe6254bfa385. > To: "Balaji" . > Call-ID: b2b13a3cfeab41228fd8127e18e5acef. > CSeq: 26376 REGISTER. > User-Agent: MicroSIP/3.12.3. > Contact: "Balaji" . > Expires: 300. > Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, > NOTIFY, REFER, MESSAGE, OPTIONS. > Content-Length: 0. > Path: . > . > > > 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" > ;tag=eda6c2494a0742b08f8fbe6254bfa385. > To: "Balaji" > ;tag=b27e1a1d33761e85846fc98f5f3a7e58.0549. > Call-ID: b2b13a3cfeab41228fd8127e18e5acef. > CSeq: 26376 REGISTER. > Contact: ;expires=300. > Unsupported: path. > Path: . > 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 > -- --- http://www.infinicalls.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
Re: [SR-Users] 420 Bad Extension error
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" ;tag=eda6c2494a0742b08f8fbe6254bfa385. To: "Balaji" . Call-ID: b2b13a3cfeab41228fd8127e18e5acef. CSeq: 26376 REGISTER. User-Agent: MicroSIP/3.12.3. Contact: "Balaji" . Expires: 300. Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS. Content-Length: 0. Path: . . 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" ;tag=eda6c2494a0742b08f8fbe6254bfa385. To: "Balaji" ;tag=b27e1a1d33761e85846fc98f5f3a7e58.0549. Call-ID: b2b13a3cfeab41228fd8127e18e5acef. CSeq: 26376 REGISTER. Contact: ;expires=300. Unsupported: path. Path: . 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 ___ 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
Re: [SR-Users] 420 Bad Extension error
Hello, can you provide the REGISTER request as well -- it is important to see what it asks for. Cheers, Daniel On 06/10/16 11:35, Infinicalls Infinicalls wrote: > Hi all, > I am testing Edge Proxy setup with the example given here : > http://kamailio.org/docs/modules/4.2.x/modules/outbound.html > > and I get this error : > > U 2016/10/06 09:18:48.331580 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=z9hG4bK162a.e9f73fe5e52ded1f30801aa00ee2a771.0; > received=52.233.25.164. > Via: SIP/2.0/UDP > 10.114.70.81:1228;received=113.193.149.49;rport=1228;branch=z9h > G4bKPj3ec7c87e09d6452b9e68e60052cb2651. > From: "User1" ; > tag=ac1e36aec8bf445bbec8e43cf28e9f48. > To: "User1" ;ta > g=b27e1a1d33761e85846fc98f5f3a7e58.b172. > Call-ID: a270d285de6145c6b8670b909b104e74. > CSeq: 20149 REGISTER. > Contact: ;expires=300. > Unsupported: path. > Path: . > Supported: outbound. > P-Registrar-Error: No support for found Path indicated. > Server: kamailio (4.4.3 (x86_64/linux)). > Content-Length: 0. > > Both my proxy and registrar are behind NAT. rtpproxy is installed and > started. > > I already have modparam("registrar", "use_path", 1) in my registrar. > > Any idea what is missing? Thanks. > > regards > Ganesh Kumar > > ___ > 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 ___ 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