[Serusers] Simulate BYE Message

Sebastian Kühner skuehner at veraza.com
Thu Jul 7 21:50:03 CEST 2005


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





More information about the sr-users mailing list