On Thu, Jun 12, 2008 at 2:22 PM, Iñaki Baz Castillo <ibc(a)in.ilimit.es>
wrote:
El Thursday 12 June 2008 14:06:22 David Villasmil
escribió:
Regarding this, I know we could simply use the
Dialog module to store al
dialogs on the dialog table, and use an external script to end the dialog
How knows the external script where to generate the BYE?
Its very easy to do that, I understand that expired dialogs are reported on
the syslog, with that and openser fifo you can end a dialog by sending a BYE
On the other hand, Bogdan says it should work.
Even if not ALL UACs do
sent
the in-dialog-keep-alive, most of the should, as
most adhere to RFCs. We
should try to get this working as it would solve not only mine, but a lot
of people's problems of calls dropped that can't be properly rated.
Why not use SessiontTimers (RFC 4028) ?
99% of phones replies 200 to a re-INVITE.
I'm writing to the users list because I'm
NOT that well versed on TM and
DIALOG's inner workings, and really wouldn't know where to start. Though
I'll start investigating on this.... Anyone wants to help?
The problem is that you are addressing the problem in a privative way while
there are RFC's and techniques for that. For your proposal using Session
Timers should be the best option,
Are you talking, i.e. Asterisk?
but you need a UAS sending the re-INVITE's
(at last one of both endpoinds). OpenSer cannot send
it since it is a proxy
so a B2BUA or gateway should doit.
IMHO you are addressing the problem in the wrong place (but it could work
of
course).
I see what you're saying, problem with this is I don't WANT to HAVE to use
an asterisk or whatever... I want to depend only on Openser.
I believe I can be done with session timers, as you say. What I Don't KNOW
is whether there is a timer to ask the UAC to send us a kind of "keep-alive"
message. I don't know what that message is called, or what module creates
it.
The thing is:
What module's function to use to make the UAC send uns a "keep-alive"
whilst
in a dialog every X senconds, setting a timeout for that keep-alive to be
sent and resetting it everytime it's received.
thanks to all.
David