[Asterisk-Users] Problem with 401 Unauthorized

Kevin P. Fleming kpfleming at starnetworks.us
Tue Mar 29 15:42:01 MST 2005


Mike Miller wrote:

> Sip read:
> REGISTER sip:192.168.1.100 SIP/2.0
> Via: SIP/2.0/UDP 192.168.1.100:5060;branch=z9hG4bK187848357
> From: <sip:203 at 192.168.1.100>;tag=698000752
> To: <sip:203 at 192.168.1.100>;tag=698000752
> Call-ID: 2988399483 at 192.168.1.100
> CSeq: 0 REGISTER
> Contact: <sip:203 at 192.168.1.100>
> max-forwards: 10
> expires: 900
> user-agent: oSIP/Linphone-0.12.1
> Content-Length: 0

Well, unfortunately we're not getting any additional debug output from 
chan_sip here, but you may want to check your 'debug' log (specified via 
logger.conf) to see if anything else shows up.

In any case, there are a couple of things that _seem_ wrong with this 
REGISTER request:

- The To: header contains a tag, but it should not, the registrar 
receiving the REGISTER will assign its own tag

- The CSeq value is zero, and I don't think that's allowed; certainly 
many places in chan_sip treat a zero sequence value as non-existent

I don't know why you are experiencing this problem, when others don't... 
and I can't imagine that there is nobody else using Linphone out there :-)



More information about the asterisk-users mailing list