[Serusers] using sipsak to send a BYE

Pavel Siderov - Hostmates pi at hostmates.com
Wed Mar 16 18:39:23 CET 2005


Attaching my ser.cfg (with little changes - the ips)

Regards,
Steve

----- Original Message ----- 
From: "Java Rockx" <javarockx at gmail.com>
To: "braincrew.com" <somebody at braincrew.com>
Cc: <serusers at lists.iptel.org>
Sent: Wednesday, March 16, 2005 7:11 PM
Subject: Re: [Serusers] using sipsak to send a BYE


> My problems last week regarding missing BYE messages at our PSTN GW
> were due to a bug in my loose_route() logic. Basically I was doing
> naughty things if loose_route() was TRUE, when I should have only been
> using t_relay().
>
> In your case I'd say make sure you have the accounting flag set when
> you receive a BYE or CANCEL message. You can set this flag immediately
> after your "sanity checks" at the top of the main route block.
>
> Regards,
> Paul
>
>
> On Wed, 16 Mar 2005 19:07:16 +0200, braincrew.com
> <somebody at braincrew.com> wrote:
>> Hi Paul,
>>
>> many thanks to your replies last week about user agent expiration (Sorry 
>> for
>> not thanking you but
>> just working ... 24 hours these days :(  ).
>>
>> I'm facing the similar issue with the byes on the side of ser. My B2BUA
>> sends bye to ser but bye
>> is not recorded in the database at about less than 10% of the calls. You
>> have some idea what
>> maybe the case ?
>>
>> Thanks in advance :),
>> Steve
>>
>>
>> ----- Original Message -----
>> From: "Java Rockx" <javarockx at gmail.com>
>> To: "Iqbal" <iqbal at gigo.co.uk>
>> Cc: <serusers at lists.iptel.org>
>> Sent: Wednesday, March 16, 2005 5:12 AM
>> Subject: Re: [Serusers] using sipsak to send a BYE
>>
>> >I have. During my debugging with a 3rd party PSTN GW provider I
>> > sometimes didn't send them a BYE message and they couldn't close their
>> > billing record.
>> >
>> > So I stored this in a file and used sipsak to close their billing 
>> > record.
>> >
>> > BYE sip:5135551234 at 216.229.118.76:4060 SIP/2.0
>> > Route: <sip:216.229.127.60:5060;lr>
>> > From: sip:5135551234 at 64.152.60.6;user=phone
>> > To: sip:9145550000 at 66.243.109.99:5060;user=phone
>> > Contact: sip:9145550000 at 66.243.109.99:5060;user=phone
>> > CSeq: 42759 BYE
>> > Call-ID: 9787963-3319555348-76751 at 66.243.109.99
>> > User-Agent: Grandstream BT100 1.0.5.11
>> > Max-Forwards: 16
>> > Allow: INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE
>> > Content-Length: 0
>> >
>> > sipsak -f <filename> -s sip:<some IP address>
>> >
>> > Regards,
>> > Paul
>> >
>> > On Wed, 16 Mar 2005 03:07:05 GMT, Iqbal <iqbal at gigo.co.uk> wrote:
>> >>
>> >> Hi
>> >>
>> >> Has anyone done this successfully to hangup a call.
>> >>
>> >> Iqbal
>> >>
>> >> _______________________________________________
>> >> 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
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ser.cfg
Type: application/octet-stream
Size: 3608 bytes
Desc: not available
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20050316/262f8537/attachment.obj>


More information about the sr-users mailing list