use 3rd party db (mysql) but x-lite sipphone cannot register

Discuss any topic about Brekeke SIP Server.

Moderator: Brekeke Support Team

Post Reply
lilipst
Posts: 8
Joined: Mon Sep 23, 2013 2:55 am
Location: Jakarta, Indonesia

use 3rd party db (mysql) but x-lite sipphone cannot register

Post by lilipst »

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
hope
Posts: 862
Joined: Tue Jan 15, 2008 4:08 pm

Post by hope »

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
lilipst
Posts: 8
Joined: Mon Sep 23, 2013 2:55 am
Location: Jakarta, Indonesia

Post by lilipst »

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.
Tata
Posts: 223
Joined: Sun Jan 27, 2008 1:03 pm

Post by Tata »

Post Reply