[sr-dev] [kamailio] UAC trouble with REGISTER to provider (#140)

ovoshlook notifications at github.com
Thu Apr 23 22:28:02 CEST 2015


Hello.
We use UAC for RGISTER some trunks

After fiew days normally work we have an issue that UAC not respond to 401 reply with WWW-Authenticate with reREGISTER with WWW. We have only 2 packets- REGISTR and 401.

IP 10.0.1.12.5068 > 1.2.3.4.5060: UDP, length 467
E....... at ..F
...............REGISTER sip:provider.com SIP/2.0
Via: SIP/2.0/UDP my.service.com:5068;branch=z9hG4bKdb22.edd7eac5000000000000000000000000.0
To: <sip:login at provider.com>
From: <sip:login at provider.com>;tag=6a39af2190f8b2c99cc63bfeb3a3959c-bfba
CSeq: 10 REGISTER
Call-ID: 5e171580088d170a-9952 at 10.0.1.12
Max-Forwards: 70
Content-Length: 0
User-Agent: kamailio (4.3.0-dev5 (x86_64/linux))
Contact: <sip:login at my.service.com:5068>
Expires: 360


IP 1.2.3.4.5060 > 10.0.1.12.5068: UDP, length 571
Q.......-.
........C.NSIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP my.service.com:5068;branch=z9hG4bKdb22.edd7eac5000000000000000000000000.0;received=23.100.24.250
From: <sip:login at provider.com>;tag=6a39af2190f8b2c99cc63bfeb3a3959c-bfba
To: <sip:login at provider.com>;tag=as1550511c
Call-ID: 5e171580088d170a-9952 at 10.0.1.12
CSeq: 10 REGISTER
Server: FastTel SoftSwitch
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces
WWW-Authenticate: Digest algorithm=MD5, realm="provider.com", nonce="109104dc"
Content-Length: 0

We have another trunk and reREGISTER is correctly

REGISTER sip:another_prov.com SIP/2.0
Via: SIP/2.0/UDP my.service.com:5068;branch=z9hG4bK7fd1.3d7c2fd7000000000000000000000000.0
To: <sip:login_to_another_prov at another_prov.com>
From: <sip:login_to_another_prov at another_prov.com>;tag=6a39af2190f8b2c99cc63bfeb3a3959c-f8ba
CSeq: 10 REGISTER
Call-ID: 5e171580088d1edd-9952 at 10.0.1.12
Max-Forwards: 70
Content-Length: 0
User-Agent: kamailio (4.3.0-dev5 (x86_64/linux))
Contact: <sip:login_to_another_prov at my.service.com:5068>
Expires: 360


IP another_prov.com.5060 > 10.0.1.12.5068: UDP, length 544
E..<F...$.      .6...
........(..SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP my.service.com:5068;branch=z9hG4bK7fd1.3d7c2fd7000000000000000000000000.0;rport=5068;received=23.100.28.126
To: <sip:login_to_another_prov at another_prov.com>;tag=04e2a294d0728b89107e081a19babab4.d569
From: <sip:login_to_another_prov at another_prov.com>;tag=6a39af2190f8b2c99cc63bfeb3a3959c-f8ba
CSeq: 10 REGISTER
Call-ID: 5e171580088d1edd-9952 at 10.0.1.12
WWW-Authenticate: Digest realm="another_prov.com", nonce="VTifD1U4neNLMSYRoxNlOpD7hPSu3ET3"
Server: kamailio (4.2.1 (x86_64/linux))
Content-Length: 0


IP 10.0.1.12.5068 > another_prov.com.5060: UDP, length 690
E...uT.. at ...
...6...........REGISTER sip:another_prov.com SIP/2.0
Via: SIP/2.0/UDP my.service.com:5068;branch=z9hG4bK8fd1.ea73d070000000000000000000000000.0
To: <sip:login_to_another_prov at another_prov.com>
From: <sip:login_to_another_prov at another_prov.com>;tag=6a39af2190f8b2c99cc63bfeb3a3959c-f8ba
CSeq: 11 REGISTER
Call-ID: 5e171580088d1edd-9952 at 10.0.1.12
Max-Forwards: 70
Content-Length: 0
User-Agent: kamailio (4.3.0-dev5 (x86_64/linux))
Contact: <sip:login_to_another_prov at my.service.com:5068>
Expires: 360
Authorization: Digest username="login_to_another_prov", realm="another_prov.com", nonce="VTifD1U4neNLMSYRoxNlOpD7hPSu3ET3", uri="sip:another_prov.com", response="2ee14a437173700e88056279b854749f", algorithm=MD5



---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/140
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20150423/9a366502/attachment.html>


More information about the sr-dev mailing list