Ahmed Munir
2017-Jan-10 14:11 UTC
[asterisk-users] PJSIP status check at DB level (Realtime)
Hi, I would like to know how to check PJSIP status for endpoints at DB level (realtime) just like in chan_sip? Like on chan_sip when sip extension gets register regseconds, ipaddr, fullcontact & many more parameters get updated at DB level. The version of asterisk I'm using is 13.8 cert 4 -- Regards, Ahmed Munir Chohan -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20170110/04ca8e9f/attachment.html>
Joshua Colp
2017-Jan-10 14:18 UTC
[asterisk-users] PJSIP status check at DB level (Realtime)
On Tue, Jan 10, 2017, at 10:11 AM, Ahmed Munir wrote:> Hi, > > I would like to know how to check PJSIP status for endpoints at DB level > (realtime) just like in chan_sip? Like on chan_sip when sip extension > gets > register regseconds, ipaddr, fullcontact & many more parameters get > updated > at DB level. > > The version of asterisk I'm using is 13.8 cert 4Registered devices are added as contacts to the "ps_contacts" table. This is because there can be multiple of them. You would need to look in that table and make the association (based on AOR). -- Joshua Colp Digium, Inc. | Senior Software Developer 445 Jan Davis Drive NW - Huntsville, AL 35806 - US Check us out at: www.digium.com & www.asterisk.org