Thanks Paul.
 
Now I got
 
sipsak -f bye.txt -s sip:1.2.3.4
** give up retransmissioning....
And the call continued :(
 
Regards,
Pavel
 
----- Original Message -----
From: Java Rockx
To: Pavel Siderov
Cc: serusers@lists.iptel.org
Sent: Wednesday, April 13, 2005 4:29 PM
Subject: Re: [Serusers] sending bye using sipsak [onsip.org]

Your sipsak command should be

sipsak -f bye.txt -s sip:1.2.3.4

Regards,
Paul

On 4/13/05, Pavel Siderov <pi@hostmates.com> wrote:
Hi guys,
 
I read the tutorial on http://onsip.org http://www.onsip.org/modules/xoopsfaq/index.php?cat_id=3#2 ) about sending byes but has no success with my tries:
 
bye.txt:
 
BYE sip:35923456@1.2.3.4 SIP/2.0
From: sip:222485@5.6.7.8;user=phone
To: sip:35923456@1.2.3.4:5060;user=phone
Contact: sip:222485@5.6.7.8;user=phone
CSeq: 100 BYE
Call-ID:
63450d656cbd4f55bec37cbfeb50a181@192.168.2.111
Max-Forwards: 16
Content-Length: 0

Call-ID is taken after call is has started. 1.2.3.4 is the ip of my pstn provider and 5.6.7.8 of my ser box.
 
When I try to send it using sipsak:
 
sipsak -f bye.txt -s 1.2.3.4
 
I got the following error:

error: SIPURI doesn't not begin with sip
 
 
Any suggestions / ideas what I'm doing wrong.
 
Thanks,
Pavel

_______________________________________________
Serusers mailing list
serusers@lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers