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" sip:balaji@infinicalls-uk.uksouth.cloudapp.azure.com;tag=eda6c2494a0742b08f8fbe6254bfa385. To: "Balaji" sip:balaji@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:balaji@infinicalls-uk.uksouth.cloudapp.azure.com;tag=eda6c2494a0742b08f8fbe6254bfa385. To: "Balaji" sip:balaji@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
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