[Asterisk-Users] sipsak with asterisk

Tulika Pradhan tulikapradhan at hotmail.com
Thu May 26 21:21:46 MST 2005


i am attaching the trace of the sipsak error when run with the command 
below.

--------------------------------------------------------------------------------------------------------------------------------
# sipsak -UI -a password -s sip:985389744 at 203.197.212.211:5060 -vvvv
warning: ignoring -i option when in usrloc mode
fqdnhostname: 127.0.0.1
username: 985389744
domainname: 203.197.212.211:5060
request:
REGISTER sip:203.197.212.211:5060 SIP/2.0
Via: SIP/2.0/UDP 127.0.0.1:1026;rport
From: sip:985389744 at 203.197.212.211:5060;tag=3b60505e
To: sip:985389744 at 203.197.212.211:5060
Call-ID: 996167774 at 127.0.0.1
CSeq: 1 REGISTER
Contact: sip:985389744 at 127.0.0.1:1026
Expires: 15
Content-Length: 0
Max-Forwards: 70
User-Agent: sipsak 0.8.12


registering user 985389744...
ignoring provisinal response
authorizing

received:
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 127.0.0.1:1026;received=203.197.212.211;rport=1026
From: sip:985389744 at 203.197.212.211:5060;tag=3b60505e
To: sip:985389744 at 203.197.212.211:5060;tag=as72f0756d
Call-ID: 996167774 at 127.0.0.1
CSeq: 1 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Contact: <sip:985389744 at 203.197.212.211>
WWW-Authenticate: Digest realm="asterisk", nonce="5556cf14"
Content-Length: 0


registering user 985389744...
ignoring provisinal response
        OK

SIP/2.0 200 OK
Via: SIP/2.0/UDP 127.0.0.1:1026;received=203.197.212.211;rport=1026
From: sip:985389744 at 203.197.212.211:5060;tag=3b60505e
To: sip:985389744 at 203.197.212.211:5060;tag=as72f0756d
Call-ID: 996167774 at 127.0.0.1
CSeq: 2 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Expires: 15
Contact: <sip:985389744 at 127.0.0.1:1026>;expires=15
Date: Thu, 26 May 2005 04:03:58 GMT
Content-Length: 0


username: 985389744
domainname: 203.197.212.211:5060
ack:
ACK sip:985389744 at 203.197.212.211:5060 SIP/2.0
Via: SIP/2.0/UDP 127.0.0.1:1026;rport
From: sip:sipsak at 127.0.0.1:1026;tag=4c37a25f
To: sip:985389744 at 203.197.212.211:5060;tag=11415721137
Call-ID: 1278714463 at 127.0.0.1
CSeq: 2 ACK
Content-Length: 0
Max-Forwards: 70
User-Agent: sipsak 0.8.12


reply:
SIP/2.0 200 OK
From: sip:sipsak at 127.0.0.1:1026;tag=4c37a25f
To: sip:985389744 at 203.197.212.211:5060;tag=11415721137
Call-ID: 1278714463 at 127.0.0.1
CSeq: 2 INVITE
Content-Length: 0
User-Agent: sipsak 0.8.12


request:
INVITE sip:985389744 at 203.197.212.211:5060 SIP/2.0
Via: SIP/2.0/UDP 127.0.0.1:1026;rport
From: sip:sipsak at 127.0.0.1:1026;tag=4c37a25f
To: sip:985389744 at 203.197.212.211:5060
Call-ID: 1278714463 at 127.0.0.1
CSeq: 2 INVITE
Content-Length: 0
Contact: sip:sipsak at 127.0.0.1:1026
Subject: DONT ANSWER this test call!
Max-Forwards: 70
User-Agent: sipsak 0.8.12


inviting user 985389744... authorizing

received:
SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP 127.0.0.1:1026;received=203.197.212.211;rport=1026
From: sip:sipsak at 127.0.0.1:1026;tag=4c37a25f
To: sip:985389744 at 203.197.212.211:5060;tag=as680d9091
Call-ID: 1278714463 at 127.0.0.1
CSeq: 2 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Contact: <sip:985389744 at 203.197.212.211>
Proxy-Authenticate: Digest realm="asterisk", nonce="0469ee64"
Content-Length: 0


error: could not find To in the reply

----------------------------------------------------------------------------------------------------------------------------------

tulika

>From: "Tulika Pradhan" <tulikapradhan at hotmail.com>
>Reply-To: Asterisk Users Mailing List - Non-Commercial Discussion 
><asterisk-users at lists.digium.com>
>To: asterisk-users at lists.digium.com
>Subject: [Asterisk-Users] sipsak with asterisk
>Date: Fri, 13 May 2005 05:55:01 +0000
>
>i am using sipsak to test asterisk. i use the command
>
>$ sipsak -U -I -s sip:111 at 203.197.212.111 -vv -x 1800 -e3
>
>and i get the  message
>SIP/2.0 407 Proxy Authentication Required
>as a response to INVITE message
>(REGISTER was successful)
>and
>error: could not find To in the reply
>
>does anyone have some idea as to what is missing ?
>
>tulika
>
>_________________________________________________________________
>Kareena or Rani? Saif or SRK? http://server1.msn.co.in/sp05/iifa/ Rock your 
>vote now at IIFA.
>
>_______________________________________________
>Asterisk-Users mailing list
>Asterisk-Users at lists.digium.com
>http://lists.digium.com/mailman/listinfo/asterisk-users
>To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users

_________________________________________________________________
The MSN Gamezone! http://www.msn.co.in/gamezone Ready for the challenge?




More information about the asterisk-users mailing list