Hi,
I captured the BYE messages with ngrep now and tried to simulate it with ser. I copied the BYE message (changing the sip_ip first) to the file "bye.ser" and used following command:
sipsak -f bye.ser -s sip:192.168.1.222:5061 -i -vvv
...but only appear "*** timeout after xxx *** messages. Has anyone an idea how I can use sipsak to send theese BYE messages to ser? My ser is running on 192.168.1.222:5061.
Many thanks!
Seba
******************************************************** #more bye.ser
BYE sip:55@192.168.1.101:5060 SIP/2.0 Route: sip:192.168.1.222:5061;ftag=603064a2;lr=on Via: SIP/2.0/UDP 192.168.1.101:5062;rport From: "21" sip:14@192.168.1.222:5061;tag=603064a2 To: sip:255@192.168.1.222:5061;tag=65002344124 CSeq: 3 BYE Call-ID: 1613784195-453a071e@192.168.1.101 Max-Forwards: 70 User-Agent: sipsak 0.8.13 Content-Length: 0
*********************************************************
----- Original Message ----- From: "Iqbal" iqbal@gigo.co.uk To: skuehner@veraza.com; serusers@lists.iptel.org Sent: Thursday, July 07, 2005 9:28 PM Subject: **JUNK** Re: [Serusers] Simulate BYE Message
use ngrep and capture ur BYE message
Iqbal
On 7/7/2005, "Sebastian Kühner" skuehner@veraza.com wrote:
Hi all,
That doesn't work for me. The best would be a dump of the SIP messages (within the BYE message).
Any idea?
Thanks
Sebastian
----- Original Message ----- From: "Paul Hazlett" javarockx@gmail.com To: "Sebastian Kühner" skuehner@veraza.com Cc: serusers@lists.iptel.org Sent: Thursday, July 07, 2005 4:51 PM Subject: Re: [Serusers] Simulate BYE Message
Try this link
http://www.onsip.org/modules/xoopsfaq/index.php?cat_id=3#q2
Regards, Paul
On 7/7/05, Sebastian Kühner skuehner@veraza.com wrote:
Hello,
I'm trying to send out a SIP BYE Message with sipsak to make my phones hanging up (to force them to hang up)...
I used a file that is called bye.ser and looks like this:
BYE sip:55@192.168.1.101:5060 SIP/2.0 Route: sip:192.168.1.222:5061;lr From: sip:14@192.168.1.101:5062;user=phone To: sip:55@192.168.1.101:5060;user=phone Contact: sip:14@192.168.1.101:5062;user=phone CSeq: 42759 BYE Call-ID: 746707906-47a484e6@192.168.1.101 User-Agent: sipsak 0.8.13 Max-Forwards: 16 Allow: INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE Content-Length: 0
...using the command:
sipsak -f bye.ser -s sip:192.168.1.222:5061 -vvv
... but the message doesn't go out. My ser is running on
192.168.1.222:5061
Well, my question is: How can I capture the SIP messages that are going through my ser?? Is there any debug option to do that? It would be easier for me to simulate it after...
Many thanks!!
Sebastian
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers