[Kamailio-Users] Ping both UACs when a call starts

Daniel-Constantin Mierla miconda at gmail.com
Tue Oct 7 20:30:22 CEST 2008


Hello,

On 10/07/08 13:39, Cesar Troncoso wrote:
>
> Hello!
>
> When a call starts I would like OpenSER to ping (by sending OPTIONS or 
> INFO request) both UAC´s just to know if they are still there or for 
> some reason they crashed or lost connectivity. In case they don’t 
> response, the call should be finished. What is the best way to do this?
>
>
what you need requires a back-to-back user agent, or at leas a call 
stateful proxy.

There is the option of using session timer module (sst) if you know that 
the devices support the session timer extension -- most of the gateways 
support it.
http://www.kamailio.org/docs/modules/1.4.x/sst.html

Otherwise, with some development in top of dialog module you can get the 
functionality -- working with kamailio/openser as a call stateful proxy.

Cheers,
Daniel

-- 
Daniel-Constantin Mierla
http://www.asipto.com





More information about the sr-users mailing list