[Freeswitch-users] Fw: SIP client authorization issues (Globarange phone)
VG Oget
vgoget at yahoo.com
Tue Jan 12 16:54:54 PST 2010
Hi, I am trying to register a GlobaRange SIP phone to FreeSwitch (was able to do it with Asterisk some time ago). It is a locked VOIP phone to Joip.com. On Ubuntu with latest version as of a few days ago…
I redirected the traffic to Freeswitch (basically proxy.joip.com points and to the Freeswitch host) and also changed the SIP port to 23768 (what the phone wants). Very close to this: http://darkskiez.co.uk/index.php?page=Use_The_Panasonic_Globarange_With_Asterisk
I have Xlite successfully registering (SIP port 23768 and using proxy.joip.com not the IP address) so I’m confident the freeswitch config is close to being okay…
Now I have intercepted the traffic during registration. The issue (I think) is that the SIP authentication phases use a different username and I don’t know how to configure it.
I looked into this page extensively: http://wiki.freeswitch.org/wiki/XML_User_Directory_Guide
And also tried to understand sip_suth_username but I cannot find the solution.
If someone can point me in the right direction, that would be perfect.
Thank you,
G.
--------------
Phone: 192.168.1.11
Freeswitch: 192.168.1.5 (=proxy.joip.com on local dns)
SIP port: 5060
Extension(changed): 1234567890 (joip username)
Authentication username (changed): 98765432
------------
REGISTER sip:proxy.joip.com:23768 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.11:6060;branch=z9hG4bK991d765d
Max-Forwards: 70
To: sip:1234567890 at proxy.joip.com
From: sip:1234567890 at proxy.joip.com;tag=3957008896
Call-ID: yyyy-xxxxxxxxxxxx at 192.168.1.11
CSeq: 1 REGISTER
Contact: sip:1234567890 at 192.168.1.11:6060;nat=3;deviceid=2
Expires: 304
Allow: INVITE,ACK,CANCEL,BYE,NOTIFY
User-Agent: Panasonic GT1500/a13.32/xxxxxxxxxxxx
Content-Length: 0
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.1.11:6060;branch=z9hG4bK991d765d
From: <sip:1234567890 at proxy.joip.com>;tag=3957008896
To: <sip:1234567890 at proxy.joip.com>;tag=96BeFKm5U4jFH
Call-ID: yyyy-xxxxxxxxxxxx at 192.168.1.11
CSeq: 1 REGISTER
User-Agent: FreeSWITCH-mod_sofia/1.0.5-20100106-0400-hacked
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
Supported: timer, precondition, path, replaces
WWW-Authenticate: Digest realm="proxy.joip.com", nonce="67132386-fe25-11de-97c3-c7963d15da66", algorithm=MD5, qop="auth"
Content-Length: 0
REGISTER sip:proxy.joip.com:23768 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.11:6060;branch=z9hG4bKe585be9f
Max-Forwards: 70
To: sip:1234567890 at proxy.joip.com
From: sip:1234567890 at proxy.joip.com;tag=3957008896
Call-ID: yyyy-xxxxxxxxxxxx at 192.168.1.11
CSeq: 2 REGISTER
Contact: sip:1234567890 at 192.168.1.11:6060;nat=3;deviceid=2
Expires: 304
Authorization: Digest realm="proxy.joip.com", nonce="67132386-fe25-11de-97c3-c7963d15da66", algorithm=MD5, qop=auth, cnonce="7FDF680B", nc=00000001, uri="sip:proxy.joip.com:23768", username="98765432",
response="7bd8c1898e9c01ee1817146ddc86c8b4"
Allow: INVITE,ACK,CANCEL,BYE,NOTIFY
User-Agent: Panasonic GT1500/a13.32/xxxxxxxxxxxx
Content-Length: 0
SIP/2.0 403 Forbidden
Via: SIP/2.0/UDP 192.168.1.11:6060;branch=z9hG4bKe585be9f
From: <sip:1234567890 at proxy.joip.com>;tag=3957008896
To: <sip:1234567890 at proxy.joip.com>;tag=ag56ge58rD91c
Call-ID: yyyy-xxxxxxxxxxxx at 192.168.1.11
CSeq: 2 REGISTER
User-Agent: FreeSWITCH-mod_sofia/1.0.5-20100106-0400-hacked
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
Supported: timer, precondition, path, replaces
Content-Length: 0
----
Get your preferred Email name!
Now you can @ymail.com and @rocketmail.com.
http://mail.promotions.yahoo.com/newdomains/aa/
More information about the FreeSWITCH-users
mailing list