[Freeswitch-users] Bad Contact Header
Dip Mehta
dipkumar.mehta at gmail.com
Thu Nov 3 19:24:15 MSK 2011
Hi ,
I am trying to register x-lite 4.1 on freeswitch.
And i am using the default extensions : 1003 and password 1234
However i am unable to get this registered and get the following error on
the console.
Output of
nano /usr/local/freeswitch/conf/directory/default/1003.xml
<include>
<user id="1003">
<params>
<param name="password" value="$${default_password}"/>
<param name="vm-password" value="1003"/>
</params>
<variables>
<variable name="toll_allow" value="domestic,international,local"/>
<variable name="accountcode" value="*1003*"/>
<variable name="user_context" value="default"/>
<variable name="effective_caller_id_name" value="*Extension 1003*"/>
<variable name="effective_caller_id_number" value="1003"/>
<variable name="outbound_caller_id_name"
value="$${outbound_caller_name}"/>
<variable name="outbound_caller_id_number"
value="$${outbound_caller_id}"/>
<variable name="callgroup" value="techsupport"/>
</variables>
</user>
</include>
recv 572 bytes from udp/[122.176.XX.XX:]:13334 at 16:18:23.774556:
------------------------------------------------------------------------
REGISTER sip:199.167.XX.XX: SIP/2.0
Via: SIP/2.0/UDP 122.176.144.226:13334
;branch=z9hG4bK-d8754z-9ba4ee0f5e6ae5a7-1---d8754z-;rport
Max-Forwards: 70
Contact: <sip:1003 at 122.176.XX.XX:13334;rinstance=cd614363113a396f>
To: "Extension 1003"<sip:1003 at 199.167..XX.XX>
From: "Extension 1003"<sip:1003 at 199.167..XX.XX>;tag=77bad5c7
Call-ID: MTRmNzQ3MDUyMTM4MGNhOGUzZjdlNWYyNWRlZDNjNmQ.
CSeq: 1 REGISTER
Expires: 3600
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE,
SUBSCRIBE, INFO
User-Agent: X-Lite 4 release 4.1 stamp 63214
Content-Length: 0
------------------------------------------------------------------------
send 715 bytes to udp/[122.176.XX.XX:]:13334 at 16:18:23.775265:
------------------------------------------------------------------------
* SIP/2.0 401 Unauthorized*
Via: SIP/2.0/UDP 122.176.144.226:13334
;branch=z9hG4bK-d8754z-9ba4ee0f5e6ae5a7-1---d8754z-;rport=13334
From: "Extension 1003"<sip:1003 at 199.167..XX.XX>;tag=77bad5c7
To: "Extension 1003" <sip:1003 at 199.167..XX.XX>;tag=gpjScQ0eXXj6K
Call-ID: MTRmNzQ3MDUyMTM4MGNhOGUzZjdlNWYyNWRlZDNjNmQ.
CSeq: 1 REGISTER
User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-7b10506 2011-10-26
08-45-04 -0500
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO,
REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
Supported: timer, precondition, path, replaces
WWW-Authenticate: Digest realm="199.167.145.102",
nonce="740c2df0-0637-11e1-9e6e-6b39c14e0024", algorithm=MD5, qop="auth"
Content-Length: 0
send 340 bytes to udp/[122.176.144.226]:13293 at 16:10:09.247665:
------------------------------------------------------------------------
* SIP/2.0 400 Bad Contact Header*
Via: SIP/2.0/UDP
122.176.XX.XX:;branch=z9hG4bK-d8754z-7c90ddcd2100ff77-1---d8754z-;rport=13293
From: "1003" <sip:1003 at 199.167.XX.XX>;tag=d09ca84c
To: "1003" <sip:1003 at 199.167.XX.XX>;tag=DU6e75D452FeH
Call-ID: YjM3NWZiZjdkMzMwNTJhMjZkNmRhMWFkMGVkZGM1ZWI.
CSeq: 4 REGISTER
Content-Length:
Errors suggest this to be authentication issue.
However i am not able to resolve this.
Please advice.
Regards
Dip
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20111103/568c8a9c/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list