[Sipsak] Problem with sipsak -UI.....

ppr ppr at euronet.se
Fri Jun 16 15:00:24 CEST 2006


Hi list,

I'm Paul and new to the list. A very short presentation of me would be:
Computer and electronics engineer, working with computers (mostly unix), networking, and telecommunications for the past 20 years.
Now to my problem:

I downloaded the cygwin version of sipsak, and it works mostly. The only thing I can't get to work is the -I option. Here is output from sipsak:


C:\>sipsak-0.9.5.exe -UI -vvv -s sip:499 at d018.eun.net -a secret
using A record: d018.eun.net
warning: ignoring -i option when in usrloc mode
fqdnhostname: 213.50.112.198
our Via-Line: Via: SIP/2.0/UDP 213.50.112.198:4203;branch=z9hG4bK.19b5fd85;rport
;alias

New message with Via-Line:
REGISTER sip:d018.eun.net SIP/2.0
Via: SIP/2.0/UDP 213.50.112.198:4203;branch=z9hG4bK.19b5fd85;rport;alias
From: sip:499 at d018.eun.net;tag=93bd45f
To: sip:499 at d018.eun.net
Call-ID: 154915935 at 213.50.112.198
CSeq: 1 REGISTER
Content-Length: 0
Max-Forwards: 70
User-Agent: sipsak 0.9.5
Expires: 15
Contact: sip:499 at 213.50.112.198:4203


registering user 499...
request:
REGISTER sip:d018.eun.net SIP/2.0
Via: SIP/2.0/UDP 213.50.112.198:4203;branch=z9hG4bK.19b5fd85;rport;alias
From: sip:499 at d018.eun.net;tag=93bd45f
To: sip:499 at d018.eun.net
Call-ID: 154915935 at 213.50.112.198
CSeq: 1 REGISTER
Content-Length: 0
Max-Forwards: 70
User-Agent: sipsak 0.9.5
Expires: 15
Contact: sip:499 at 213.50.112.198:4203


send to: UDP:194.18.50.28:5060

received from: UDP:194.18.50.28:5060
SIP/2.0 100 Trying
ignoring provisional response


received from: UDP:194.18.50.28:5060
authorizing

received:
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 213.50.112.198:4203;branch=z9hG4bK.19b5fd85;rport=4204;alias
From: sip:499 at d018.eun.net;tag=93bd45f
To: sip:499 at d018.eun.net;tag=1150459906580-873858490
Call-ID: 154915935 at 213.50.112.198
CSeq: 1 REGISTER
Server: Brekeke OnDO SIP Server (rev.172)
WWW-Authenticate: Digest realm="sem",nonce="fe437f887ab4e983d837d6de03aed9441433
6db1"
Content-Length: 0


registering user 499...
request:
REGISTER sip:d018.eun.net SIP/2.0
Authorization: Digest username="499", uri="sip:d018.eun.net", algorithm=MD5, rea
lm="sem", nonce="fe437f887ab4e983d837d6de03aed94414336db1", response="ab610c3c25
f1f6e24b7079de07c2548f"
Via: SIP/2.0/UDP 213.50.112.198:4203;branch=z9hG4bK.44488e6b;rport;alias
From: sip:499 at d018.eun.net;tag=93bd45f
To: sip:499 at d018.eun.net
Call-ID: 154915935 at 213.50.112.198
CSeq: 2 REGISTER
Content-Length: 0
Max-Forwards: 70
User-Agent: sipsak 0.9.5
Expires: 15
Contact: sip:499 at 213.50.112.198:4203


send to: UDP:194.18.50.28:5060

received from: UDP:194.18.50.28:5060
        OK

SIP/2.0 200 OK
Via: SIP/2.0/UDP 213.50.112.198:4203;branch=z9hG4bK.44488e6b;rport=4204;alias
From: sip:499 at d018.eun.net;tag=93bd45f
To: sip:499 at d018.eun.net;tag=1150459906643-724972176
Call-ID: 154915935 at 213.50.112.198
CSeq: 2 REGISTER
Contact: <sip:499 at 213.50.112.198:4203>;expires=15;q=1.0
Server: Brekeke OnDO SIP Server (rev.172)
Content-Length: 0


our Via-Line: Via: SIP/2.0/UDP 213.50.112.198:4203;branch=z9hG4bK.4344c0a3;rport
;alias

New message with Via-Line:
INVITE sip:499 at d018.eun.net SIP/2.0
Via: SIP/2.0/UDP 213.50.112.198:4203;branch=z9hG4bK.4344c0a3;rport;alias
From: sip:sipsak at 213.50.112.198:4203;tag=72be7ffa
To: sip:499 at d018.eun.net
Call-ID: 1925087226 at 213.50.112.198
CSeq: 3 INVITE
Content-Length: 0
Contact: sip:sipsak at 213.50.112.198:4203
Subject: DONT ANSWER this test call!
Max-Forwards: 70
User-Agent: sipsak 0.9.5


inviting user 499...
request:
INVITE sip:499 at d018.eun.net SIP/2.0
Via: SIP/2.0/UDP 213.50.112.198:4203;branch=z9hG4bK.4344c0a3;rport;alias
From: sip:sipsak at 213.50.112.198:4203;tag=72be7ffa
To: sip:499 at d018.eun.net
Call-ID: 1925087226 at 213.50.112.198
CSeq: 3 INVITE
Content-Length: 0
Contact: sip:sipsak at 213.50.112.198:4203
Subject: DONT ANSWER this test call!
Max-Forwards: 70
User-Agent: sipsak 0.9.5


send to: UDP:194.18.50.28:5060

received from: UDP:194.18.50.28:5060
SIP/2.0 100 Trying
ignoring provisional response

ignoring retransmission
ignoring retransmission
ignoring retransmission
ignoring retransmission
ignoring retransmission
ignoring retransmission
ignoring retransmission

received from: UDP:194.18.50.28:5060
Content-Length set to 0
New message with changed Content-Length:
ACK sip:499 at d018.eun.net SIP/2.0
Via: SIP/2.0/UDP 213.50.112.198:4203;branch=z9hG4bK.4344c0a3;rport;alias
From: sip:sipsak at 213.50.112.198:4203;tag=72be7ffa
To: sip:499 at d018.eun.net
Call-ID: 1925087226 at 213.50.112.198
CSeq: 3 ACK
Content-Length: 0
Contact: sip:sipsak at 213.50.112.198:4203
Subject: DONT ANSWER this test call!
Max-Forwards: 70
User-Agent: sipsak 0.9.5


reply with copyed To:
ACK sip:499 at d018.eun.net SIP/2.0
Via: SIP/2.0/UDP 213.50.112.198:4203;branch=z9hG4bK.4344c0a3;rport;alias
From: sip:sipsak at 213.50.112.198:4203;tag=72be7ffa
To: sip:499 at d018.eun.net;tag=1150459966736-438347019
Call-ID: 1925087226 at 213.50.112.198
CSeq: 3 ACK
Content-Length: 0
Contact: sip:sipsak at 213.50.112.198:4203
Subject: DONT ANSWER this test call!
Max-Forwards: 70
User-Agent: sipsak 0.9.5



request:
ACK sip:499 at d018.eun.net SIP/2.0
Via: SIP/2.0/UDP 213.50.112.198:4203;branch=z9hG4bK.4344c0a3;rport;alias
From: sip:sipsak at 213.50.112.198:4203;tag=72be7ffa
To: sip:499 at d018.eun.net;tag=1150459966736-438347019
Call-ID: 1925087226 at 213.50.112.198
CSeq: 3 ACK
Content-Length: 0
Contact: sip:sipsak at 213.50.112.198:4203
Subject: DONT ANSWER this test call!
Max-Forwards: 70
User-Agent: sipsak 0.9.5


send to: UDP:194.18.50.28:5060
received:
SIP/2.0 408 Request Timeout
Via: SIP/2.0/UDP 213.50.112.198:4203;branch=z9hG4bK.4344c0a3;rport=4204;alias
From: sip:sipsak at 213.50.112.198:4203;tag=72be7ffa
To: sip:499 at d018.eun.net;tag=1150459966736-438347019
Call-ID: 1925087226 at 213.50.112.198
CSeq: 3 INVITE
Server: Brekeke OnDO SIP Server (rev.172)
Content-Length: 0

error: did not received the INVITE that was sent (see above). aborting

The invites do arrive to the sipsak workstation but sipsak doesn't seem to see them. One thing I saw, looking at the ethereal trace, was that the FROM header of the invites look like this:

From: "sipsak" <sip:sipsak at 194.18.50.28>;tag=1150459632143-19634815

It has the wrong ipaddress in it, the one of the sip server instead of the one of the one of the sipsak workstation. 
Could that be it? If so, how to get around that problem? 

Sorry for the long posting.

Regards,
Paul Pries


--
Paul Pries
Euronet AB
--




More information about the Sipsak mailing list