Pavel Siderov
2005-04-13 13:24:29 UTC
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:***@1.2.3.4 SIP/2.0
From: sip:***@5.6.7.8;user=phone
To: sip:***@1.2.3.4:5060;user=phone
Contact: sip:***@5.6.7.8;user=phone
CSeq: 100 BYE
Call-ID: ***@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 62.244.175.133
I got the following error:
error: SIPURI doesn't not begin with sip
Any suggestions / ideas what I'm doing wrong.
Thanks,
Pavel
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:***@1.2.3.4 SIP/2.0
From: sip:***@5.6.7.8;user=phone
To: sip:***@1.2.3.4:5060;user=phone
Contact: sip:***@5.6.7.8;user=phone
CSeq: 100 BYE
Call-ID: ***@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 62.244.175.133
I got the following error:
error: SIPURI doesn't not begin with sip
Any suggestions / ideas what I'm doing wrong.
Thanks,
Pavel