[OpenSIPS-Users] nathelper "handler" ?
Anca Vamanu
anca at opensips.org
Sat May 22 14:59:29 CEST 2010
Chris Maciejewski wrote:
> Hi,
>
> I am natpinging (OPTIONS every 30 seconds) my softphone UACs.
>
> What I would like to do is every time there is no reply from UAC to
> nathelper's OPTIONS request (for example softphone crashed without
> de-REGISTERing), opensips should run a DB query to delete a record
> from MySQL database.
>
> In other words I would like to capture "lack of reply to nathelper
> OPTIONS" event and attach a handler to it.
>
> Is this possible?
>
> Regards,
> Chris
>
Hi Chris,
I have just looked in nathelper and nat_traversal modules and there
seems to be no mechanism to allow you to do an action is a UAC does not
reply to an OPTIONS message. But a patch for this is always welcomed ;) .
Regards,
--
Anca Vamanu
www.voice-system.ro
More information about the Users
mailing list