[Serusers] Simulate BYE Message

Sebastian Kühner skuehner at veraza.com
Fri Jul 8 22:58:31 CEST 2005


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 at jubileeconsultancy.com>
To: "'Sebastian Kühner'" <skuehner at veraza.com>
Cc: <serusers at 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 at iptel.org [mailto:serusers-bounces at lists.iptel.org] On
Behalf Of Sebastian Kühner
Sent: 08 July 2005 15:20
To: serusers at 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 at 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 at 192.168.1.222:5061>;tag=603064a2
To: <sip:255 at 192.168.1.222:5061>;tag=65002344124
CSeq: 3 BYE
Call-ID: 1613784195-453a071e at 192.168.1.101
Max-Forwards: 70
User-Agent: sipsak 0.8.13
Content-Length: 0

*********************************************************




----- Original Message ----- 
From: "Iqbal" <iqbal at gigo.co.uk>
To: <skuehner at veraza.com>; <serusers at 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 at 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 at gmail.com>
>To: "Sebastian Kühner" <skuehner at veraza.com>
>Cc: <serusers at 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 at 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 at 192.168.1.101:5060 SIP/2.0
>> Route: <sip:192.168.1.222:5061;lr>
>> From: sip:14 at 192.168.1.101:5062;user=phone
>> To: sip:55 at 192.168.1.101:5060;user=phone
>> Contact: sip:14 at 192.168.1.101:5062;user=phone
>> CSeq: 42759 BYE
>> Call-ID: 746707906-47a484e6 at 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 at lists.iptel.org
>> http://lists.iptel.org/mailman/listinfo/serusers
>>
>
>
>
>_______________________________________________
>Serusers mailing list
>serusers at lists.iptel.org
>http://lists.iptel.org/mailman/listinfo/serusers
>
>



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








More information about the sr-users mailing list