Forums Read-only archive

xs20(CISCO) Registration Failed.

4 posts · Brekeke SIP Server Forum

ancysmk Original post
1. Brekeke Product Name and Version:
SIP Server advanced Version 3
2. Java version:
64bit java 7
3. OS type and the version:
windows server 2008 R2 64bit
4. UA (phone), gateway or other hardware/software involved:
XS20(cisco) V7
5. Your problem:
When xs20 send REGISTER Request to SIP Server,
xs20 receive 403 forbidden response.
please analyze the REGISTER Request and could you tell me what's wrong in request syntax.

I think

<XS20 REGISTER Request to SIP Server>
Request-Line: REGISTER sip:150.100.2.204 SIP/2.0
Via: SIP/2.0/UDP 150.50.2.30:5060;branch=z9hG4bKb56dba7a280b5cf41b2ab1695502f9fa.1;rport
Call-ID: cb093dc963153f74dafad3e7753a88fa
CSeq: 58036 REGISTER
Contact: <sip:1003@150.50.2.30:5060>;+sip.instance="<urn:uuid:4758aa79-6357-5270-9179-6cabd4ecd4f2>"
From: <sip:1003@150.100.2.204>;tag=3b058b503fc6b8dd
To: <sip:1003@150.100.2.204>
Max-Forwards: 70
Route: <sip:150.100.1.204;lr>
Allow: INVITE,ACK,CANCEL,BYE,UPDATE,INFO,OPTIONS,REFER,NOTIFY
User-Agent: TANDBERG/520 (TC7.1.0.48db3d2)
Expires: 3600
Authorization: Digest nonce="b4bfa454edb7c857be0520f9afb353ef6e52cff1", realm="TWnSIP", username="", uri="sip:150.100.2.204", response="2c3ff20359308a14adbf636962eb6681", algorithm=MD5
Supported: replaces,100rel,timer,gruu,path,outbound
Content-Length: 0

<403 forbidden response from SIP Server>
Status-Line: SIP/2.0 403 Forbidden
Via: SIP/2.0/UDP 150.50.2.30:5060;branch=z9hG4bKb56dba7a280b5cf41b2ab1695502f9fa.1;rport=5060
From: <sip:1003@150.100.2.204>;tag=3b058b503fc6b8dd
To: <sip:1003@150.100.2.204>;tag=b65b817c0s
Call-ID: cb093dc963153f74dafad3e7753a88fa
CSeq: 58036 REGISTER
Server: Brekeke SIP Server rev.379
Content-Length: 0
Tata
Hi kim,
Is it actual REGISTER packet?

-------------------------------------------------
Authorization: Digest nonce="b4bfa454edb7c857be0520f9afb353ef6e52cff1", realm="TWnSIP", username="", uri="sip:150.100.2.204",
-------------------------------------------------

As you can see, the Authorization header doesn't have username's value.
Check the phone's setting again. It will be auth username or something like that.
ancysmk
the authorization header have not got username's value since version of xs20 was updated to 7
I will guery to CISCO.
thanks,
Tata
The following dialplan rule authenticates a caller with the IP address.
If the remote IP address is valid, the SIP Server doesn't check username and password.

[Matching Pattern]
$request = ^INVITE
$addr = ^150.50.2.30$

[Deploy Pattern]
$auth = false
$continue = true