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

Bogdan-Andrei Iancu bogdan at voice-system.ro
Tue Oct 7 13:12:26 CEST 2008


Hi Jason,

Do you send the pings in the dialog or a standalone requests?

Regards,
Bogdan

Jason Penton wrote:
> Hi Cesar
>
> AFAIK there is no functionality that exists to do what you are trying 
> to do. What we had to do was write a child process within the dialog 
> module that stores a hash of the dialog and a list of the the contacts 
> (ip addresses) of the participants of the call. Then we have a timer 
> that fires every x seconds and we traul through the dialogs pinging 
> the devices to see if they 'are still there'. If any of the contacts 
> dont respond within a predefined time, the dialog is torn down.
>
> HTH
>
> Cheers
> Jason
>
> On Tue, Oct 7, 2008 at 12:45 PM, Andrew Pogrebennyk 
> <andrew.pogrebennyk at portaone.com 
> <mailto:andrew.pogrebennyk at portaone.com>> wrote:
>
>     Cesar,
>     You should check the SST module: http://www.opensips.org/html/sst.html
>
>     Cesar Troncoso wrote:
>     > Hello!
>     >
>     >
>     >
>     > When a call starts I would like OpenSIPs 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?
>     >
>     >
>     >
>     > Thanks in advance!
>     >
>     >
>     >
>     > Cesar
>
>     --
>     Sincerely,
>     Andrew Pogrebennyk
>
>     _______________________________________________
>     Users mailing list
>     Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>     http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>   




More information about the Users mailing list