<div dir="ltr"><div><div><div><div><div>Thanks.<br><br></div>But I was not able to find the records in 'ps_contacts' table. As per my 'ps_aors' entries, I'm enabling and using only following fields below;<br><br></div>id: 20010 <extension/endpoint><br></div>max_contacts: 1<br></div>remove_existing: yes<br></div>qualify_frequecy: 10<br><div><div><div><br></div><div>Please advise if there any more parameters I may need to set in 'ps_aors' table.<br></div><div><div><div><div><div><div><div class="gmail_extra"><br><div class="gmail_quote"><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Date: Tue, 10 Jan 2017 10:18:50 -0400<br>
From: Joshua Colp <<a href="mailto:jcolp@digium.com">jcolp@digium.com</a>><br>
To: <a href="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.<wbr>com</a><br>
Subject: Re: [asterisk-users] PJSIP status check at DB level<br>
(Realtime)<br>
Message-ID:<br>
<<a href="mailto:1484057930.4162258.843096561.6368D269@webmail.messagingengine.com">1484057930.4162258.843096561.<wbr>6368D269@webmail.<wbr>messagingengine.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
On Tue, Jan 10, 2017, at 10:11 AM, Ahmed Munir wrote:<br>
> Hi,<br>
><br>
> I would like to know how to check PJSIP status for endpoints at DB level<br>
> (realtime) just like in chan_sip? Like on chan_sip when sip extension<br>
> gets<br>
> register regseconds, ipaddr, fullcontact & many more parameters get<br>
> updated<br>
> at DB level.<br>
><br>
> The version of asterisk I'm using is 13.8 cert 4<br>
<br>
Registered devices are added as contacts to the "ps_contacts" table.<br>
This is because there can be multiple of them. You would need to look in<br>
that table and make the association (based on AOR).<br>
<br>
--<br>
Joshua Colp<br>
Digium, Inc. | Senior Software Developer<br>
445 Jan Davis Drive NW - Huntsville, AL 35806 - US<br>
Check us out at: <a href="http://www.digium.com" rel="noreferrer" target="_blank">www.digium.com</a> & <a href="http://www.asterisk.org" rel="noreferrer" target="_blank">www.asterisk.org</a><br>
<br>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Regards,<br><br>Ahmed Munir Chohan<br><br></div>
</div></div></div></div></div></div></div></div></div></div>