[asterisk-users] PJSIP status check at DB level (Realtime)

Joshua Colp jcolp at digium.com
Tue Jan 10 08:18:50 CST 2017

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 4

Registered 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

More information about the asterisk-users mailing list