[SR-Users] Endpoint registration tracking and reporting

Daniel-Constantin Mierla miconda at gmail.com
Thu Mar 13 12:19:56 CET 2014


Hello,

if you use recent versions, there is an event route exported by 
registrar module where you can write a log message or do some other 
action when a contact expires:

- http://kamailio.org/docs/modules/stable/modules/registrar.html#idp2012416

Maybe you can hook something there that will make it easier for you to 
track non-registering devices.

Moreover, there is an option (when combined with nathelper module) to 
remove the record from location table when a device is not replying to 
OPTIONS keepalive requests. In this way you can discover faster when a 
device connectivity is lost.

On the other hand, there is no way to contact the device and tell to 
re-register.

Cheers,
Daniel

On 13/03/14 09:25, Nick Raper wrote:
>
> Hi all,
>
> What is the best way to monitor endpoint registrations?
>
> When one of our clients has a link failure or for some reason they 
> lose their SIP registration with Kamailio, we’d like to be able to see 
> this so that we can respond and get the trunk re-registered.
>
> We do monitor the physical links but endpoints, (usually Asterisk 
> based), often don’t re-register after connectivity is restored.
>
> I was thinking of a script that dumps the ‘location’ table every 10 
> minutes and compares it to the previous ‘location’ table dump and 
> reports on the changes.
>
> Is there a better way of doing this?
>
> Regards,
>

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference - April 2-4, 2014, Berlin, Germany
http://www.kamailioworld.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20140313/be6f27db/attachment.html>


More information about the sr-users mailing list