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
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
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
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
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
Hi Sebastian,
I haven't tried generating BYE messages with SIPSAK but I have successfully generated them through the SER FIFO interface. I collected the data I needed for the BYE message from the INVITE and ACK messages that setup the call. I then used a Perl script to send the data to the SER FIFO which generated the BYE message to the gateway to disconnect the call.
Regards
Stuart
-----Original Message----- From: serusers-bounces@iptel.org [mailto:serusers-bounces@lists.iptel.org] On Behalf Of Sebastian Kühner Sent: 08 July 2005 15:20 To: serusers@lists.iptel.org Subject: Re: **JUNK** Re: [Serusers] Simulate BYE Message
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
_______________________________________________ Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Hello,
Thanks for your help. I solved the problem using ngrep... the problem was that I didn't put the sip_from and sip_to entries from the database into the header.
Thanks
Sebastian
----- Original Message ----- From: "Stuart Kirkwood - Jubilee Consultancy Limited" stuart@jubileeconsultancy.com To: "'Sebastian Kühner'" skuehner@veraza.com Cc: serusers@lists.iptel.org Sent: Friday, July 08, 2005 5:43 PM Subject: Re: [Serusers] Simulate BYE Message
Hi Sebastian,
I haven't tried generating BYE messages with SIPSAK but I have successfully generated them through the SER FIFO interface. I collected the data I needed for the BYE message from the INVITE and ACK messages that setup the call. I then used a Perl script to send the data to the SER FIFO which generated the BYE message to the gateway to disconnect the call.
Regards
Stuart
-----Original Message----- From: serusers-bounces@iptel.org [mailto:serusers-bounces@lists.iptel.org] On Behalf Of Sebastian Kühner Sent: 08 July 2005 15:20 To: serusers@lists.iptel.org Subject: Re: **JUNK** Re: [Serusers] Simulate BYE Message
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
_______________________________________________ Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Or maybe you can also do a tcpdump on your ser machine, applying the appropriate filter and save it on a file and open it with ethereal.
Regards, _jeff
Thanks,
That's what I tried, too. But the problem was that I only saw 96 Bytes of the BYE Message (well, I like the ngrep solution more than searching the answer of this ;-)
Will try it later...
Thanks a lot!
----- Original Message ----- From: "jeff kwong" kwongfucius@gmail.com To: "Sebastian Kühner" skuehner@veraza.com Cc: serusers@lists.iptel.org Sent: Thursday, July 07, 2005 10:06 PM Subject: Re: [Serusers] Simulate BYE Message
Or maybe you can also do a tcpdump on your ser machine, applying the appropriate filter and save it on a file and open it with ethereal.
Regards, _jeff