[OpenSIPS-Users] raise event when a registered user is unreachable
Bogdan-Andrei Iancu
bogdan at opensips.org
Thu Mar 14 18:41:37 CET 2013
Do not take my explanation as a "no" - I just wanted to point the
obstacles ; and work around the statefull part may be encoding some
user/contact ID in the callid or from tag, so when you receive back the
reply, you do not need a transaction to find out the corresponding
contact you pinged - you can simply extract the contact from the
reply.....just an idea.
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 03/14/2013 07:37 PM, Jayesh Nambiar wrote:
>
> Thank you for the solid explanation.
>
> --- Jayesh
>
> On Mar 14, 2013 10:37 PM, "Bogdan-Andrei Iancu" <bogdan at opensips.org
> <mailto:bogdan at opensips.org>> wrote:
>
> Hi Jayesh,
>
> Firing an event is not a problem - the problem is in NAT pinging,
> there is no state for the tractions. Basically the modules doing
> NAT do not care of the replies (as for pining is not relevant), so
> you do not know which ping and for what contact it failed, in
> order to trigger the event.
>
> Switching to statefull pinging may be expensive from resources
> point of view....
>
> Best regards,
>
> Bogdan-Andrei Iancu
> OpenSIPS Founder and Developer
> http://www.opensips-solutions.com
>
>
> On 03/13/2013 08:28 AM, Jayesh Nambiar wrote:
>> Hi All,
>> The 1.9 has an awesome event interface and I really appreciate
>> the great work by the developers. I was looking at an option to
>> raise an event when a registered user becomes unreachable.
>> Say, for eg: I use keep-alive method as OPTIONS in the
>> nat_traversal module and if I do not get a response from any UA,
>> is it possible that opensips can raise an event for the same. Is
>> it somehow possible from the script, or additional work on the
>> code will be required.
>> I think, this feature might be useful in many ways !!
>>
>> Thanks for any pointers.
>>
>> --- Jayesh
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20130314/0e7efc77/attachment.htm>
More information about the Users
mailing list