Hi Samuel,
I'm getting these (To: From: Call-ID) informations from the
database, since I'm accounting those messages in mysql database, will it
help? Does this method will terminate active sessions for both side? I
mean the caller and the callee will be terminated when I do this?
Is there any other way to terminate calls instead of sipsak? I
want to try all available option just to do this. Please help....
Thanks,
Ryan
Samuel Osorio Calvo wrote:
I guess you change To:, From: and Call-ID headers every
time you want to tear down a concrete session.....these headers change for every session
and you will have to take the values from the message exchange creating the session.
(INVITE/OK/ACK).
Moreover, it looks weird that the To,From, and Contact represents the same identity while
the req-uri is another......
Hope you can use these hints to improve the so-wanted pre-paid stuff for SER ;)
Samuel.
Unclassified.
>><rpagquil(a)philonline.com> 10/11/05
12:52PM >>>
>>
>>
Hi guys,
I'm having a big problem on how can I terminate active sessions... I'm currently
using sipsak to terminate it but all tests are not successfull.
Here is what I do:
my bye file is like this:
BYE sip:rpagquil@202.84.24.126:5060 SIP/2.0
To: <sip:acjeff@sip.philonline.com>;tag=3986313335
From: <sip:acjeff@sip.philonline.com>;tag=1362465910
Contact: <sip:acjeff@202.84.24.126:5060>
Call-ID: 4D161E9C-3A79-11DA-BFB7-00E04CAB4AB4(a)10.0.1.144
CSeq: 7 BYE
Max-Forwards: 16
User-Agent: X-Lite release 1103m
Content-Length: 0
here im trying to terminate these two calls.
and here is what my command in sipsak:
sipsak -vv -f byemes -s
sip:sip.philonline.com
But those things aren't working with me... any suggestions or any other methods are
applicable with what i'm doing?
I'm doing this so that those users that have no credits left are disconnected
automatically...I'm trying to do a prepaid service for SER.
Please help on this matter....
I really need your help...
Thanks,
Ryan Pagquil
Infodyne Inc. (
www.philonline.com)
Tel. (632)-6870715
--
Ryan Pagquil
Infodyne Inc. -
PhilOnline.com
3603 Antel Global Corporate Center
Doña Julia Vargas Ave.
Ortigas Center Pasig City
Tel: 687-0715
Web:
www.philonline.com