Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
use 3rd party db (mysql) but x-lite sipphone cannot register
Author Message
lilipst
Brekeke Junior Member


Joined: 23 Sep 2013
Posts: 8
Location: Jakarta, Indonesia

PostPosted: Tue Sep 24, 2013 2:58 am    Post subject: use 3rd party db (mysql) but x-lite sipphone cannot register Reply with quote

1. Brekeke Product Name and Version: sip server ver 3.2.4.1/366

2. Java version: 1.7.0_25-b17

3. OS type and the version: Windows 2003 Server

4. UA (phone), gateway or other hardware/software involved: x-lite sipphone

5. Your problem:

I've configure brekeke sip server to use 3rd party db (mysql). I followed the 3rd_party_database.pdf documentation and it's look ok. I can add new user authentication from web admin (it correcty write this new user to t_userdir table in mysql database).
Btw, t_registered table also has created in database.

But when I try to register this user to brekeke sip server by using x-lite sipphone, it failed.
SIP msg flow:
== x-lite send REGISTER
== bkk sip server response with 401 Unauthorized (containing www-authenticate: field)
(until here it's normal procedure)
== x-lite re-send REGISTER (this time with authorization: field)
-- but then no response from bkk sip server that make x-lite keep re-sending this register msg

How to enable this register process logs (and where is the log files) to find out what is going on here.
Thank you
Back to top
View user's profile
hope
Brekeke Master Guru


Joined: 15 Jan 2008
Posts: 862

PostPosted: Tue Sep 24, 2013 8:55 am    Post subject: Reply with quote

is xlite IP shown in block list / blocked IP address page?
if so, add xlite IP to "Filtering Policy" as allow IP
http://wiki.brekeke.com/wiki/BlockList

if not, add the following to "advanced" page to enable register log
need to restart after adding the lines

net.listener.loglevel.file=255
net.sip.loglevel.file=255
net.auth.loglevel.file=255
net.userdir.loglevel.file=255
net.registrar.loglevel.file = 255
Back to top
View user's profile
lilipst
Brekeke Junior Member


Joined: 23 Sep 2013
Posts: 8
Location: Jakarta, Indonesia

PostPosted: Tue Sep 24, 2013 9:23 pm    Post subject: Reply with quote

After restart windows, now it's work. x-lite can register to sip server.
Anyway, now i know how to enable logs. It's very usefull.
Thank you.
Back to top
View user's profile
Tata
Brekeke Master Guru


Joined: 27 Jan 2008
Posts: 223

PostPosted: Wed Sep 25, 2013 7:38 am    Post subject: Reply with quote

FYI:
http://wiki.brekeke.com/wiki/Logging-Level
http://wiki.brekeke.com/wiki/log-SIP-packets
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