Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
xs20(CISCO) Registration Failed.
Author Message
ancysmk
Brekeke Member


Joined: 15 Jun 2014
Posts: 15

PostPosted: Mon Jul 07, 2014 5:40 pm    Post subject: xs20(CISCO) Registration Failed. Reply with quote

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

_________________
semin kim
Back to top
View user's profile
Tata
Brekeke Master Guru


Joined: 27 Jan 2008
Posts: 223

PostPosted: Mon Jul 07, 2014 5:52 pm    Post subject: Reply with quote

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.
Back to top
View user's profile
ancysmk
Brekeke Member


Joined: 15 Jun 2014
Posts: 15

PostPosted: Mon Jul 07, 2014 6:13 pm    Post subject: Reply with quote

the authorization header have not got username's value since version of xs20 was updated to 7
I will guery to CISCO.
thanks,

_________________
semin kim
Back to top
View user's profile
Tata
Brekeke Master Guru


Joined: 27 Jan 2008
Posts: 223

PostPosted: Tue Jul 08, 2014 2:44 pm    Post subject: Reply with quote

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 Patterns
$request = ^INVITE
$addr = ^150.50.2.30$
Deploy Patterns
$auth = false
$continue = true
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    Brekeke Forum Index » Brekeke SIP Server Forum All times are GMT - 7 Hours
Page 1 of 1