[Freeswitch-users] How do I debugging Client Auth?

Jacek wampir98 at gmail.com
Mon Oct 17 18:59:26 MSD 2011


Hi

I have FreeSWITCH on Debian Squeeze.
I have 2 questions:

1: How to configure FreeSWITCH, any list handling user checked the sql
database (mysql) instead of the xml files in the folder conf / directory.
Or, how to use external script for authentication (eg, use PAM, Radius,
or otherwise authorized client)?

2: How to debug (verbose) a problem with user authentication (the client
auth)?
for example, the program (Twinkle) reports the error:

+++ 17-10-2011 16:23:18.998049 INFO SIP ::process_sip_msg
Received from: udp:83.230.27.214:5060
SIP/2.0 403 Forbidden
Via: SIP/2.0/UDP 83.230.27.214:5063;rport=5063;branch=z9hG4bKclobopii
From: "user" <sip:user at domain.tld>;tag=nmehl
To: "user" <sip:user at domain.tld>;tag=vQ0ma0yHt7UmH
Call-ID: wiqutrgrresdddt at domain.tld
CSeq: 381 REGISTER
User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-fdb4031 2011-10-14
14-13-16 -0500
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO,
REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
Supported: timer, precondition, path, replaces
Content-Length: 0

and no trace of FreeSWITCH logs logon failure, or other cause of the
problem.
Console says only:

soa_set_params(static::0x818deb0, ...) called
tport_tsend(0x8172090) tpn = UDP/83.230.27.214:5063
tport_resolve addrinfo = 83.230.27.214:5063
tport_by_addrinfo(0x8172090): not found by name UDP/83.230.27.214:5063
tport_vsend returned 510
nta: sent 403 Forbidden for REGISTER (651)
nta_leg_destroy((nil))

Where UDP/83.230.27.214:5063 - client addres.

My Freeswitch comes from subversioon:
version: Freeswitch (1.0.7)
config.log:
.....
uname -m = i686
uname -r = 2.6.39-bpo.2-686-pae
uname -s = Linux
uname -v = #1 SMP Thu Aug 4 11:02:22 UTC 2011
....

Cheers
;)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: OpenPGP digital signature
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20111017/12e4b403/attachment.bin 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list