Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
Registration is failing
Author Message
ezzadin
Brekeke Junior Member


Joined: 25 May 2011
Posts: 8

PostPosted: Thu Aug 16, 2012 11:29 am    Post subject: Registration is failing Reply with quote

1. Brekeke Product Name and version: Brekeke SIP server Version 3.0.7.0

2. Java version: 1.7.0_05

3. OS type and the version: Windows 2003 R2 32bit

4. UA (phone), gateway or other hardware/software involved: Audiocodes and Yealink phone

5. Select your network pattern from http://www.brekeke-sip.com/bbs/network/networkpatterns.html :

Pattern 7

You have multiple PBX/SIP Server located in different LANs.

6. Your problem:

I have a Yealink phone that was configured to register with Brekeke and it was registering ok up until today. For some weird reason I cannot register the phone anymore.

Both the phone and Brekeke are behind a NAT (Two separate networks).

I re-configured the phone to register with an Asterisk box that is located on the same network as Brekeke and the registration succeeded.

I captured some logs using the wireshark and it seems that the phone is communication with Brekeke but Brekeke is returning 401 Unauthorized. I triple checked the user/pass. I used the same user and password to register a softphone and it is working just fine.

I used http://wiki.brekeke.com/wiki/Yealink-SIP-phones to configure the yealink and in Brekeke, INVITE is set to off.

Can someone help me resolve this issue please?

Thanks.
Back to top
View user's profile
hope
Brekeke Master Guru


Joined: 15 Jan 2008
Posts: 862

PostPosted: Fri Aug 17, 2012 9:22 am    Post subject: Reply with quote

how about set OFF at configuration/SIP/ authentication for REGISTER
and restart brekeke?
Back to top
View user's profile
ezzadin
Brekeke Junior Member


Joined: 25 May 2011
Posts: 8

PostPosted: Fri Aug 17, 2012 9:28 am    Post subject: Reply with quote

Thanks. I didn't turn off "Register" but why registration is failing on a phone that was working for days?

I have an exact similar phone that is working just fine. What I don't understand is why Brekeke returns 401..

I will try your suggestion today.

Thanks again.
Back to top
View user's profile
Harold
Brekeke Master Guru


Joined: 21 Sep 2008
Posts: 286
Location: Japan

PostPosted: Fri Aug 17, 2012 10:07 am    Post subject: Reply with quote

Brekeke SIP server returns "401" only if the account info (username & password) doesn't match.


To get detailed log, set the following in the [Configuration]->[Advanced] page and restart the server.
-----------------------------------
net.registrar.loglevel.file=255
-----------------------------------
Back to top
View user's profile
redmiru
Brekeke Member


Joined: 12 Feb 2012
Posts: 19

PostPosted: Fri Aug 17, 2012 11:58 pm    Post subject: Reply with quote

please check From field's userID and auth. field's username.
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