<div dir="auto">Hi Joshua!<div dir="auto">Thank you for response.</div><div dir="auto">I want to show user availability in external web application (ruby). I also found that ARI can do this. What is the best way to do that? ARI or AMI?</div></div><div class="gmail_extra"><br><div class="gmail_quote">3 янв. 2017 г. 11:06 PM пользователь "Joshua Colp" <<a href="mailto:jcolp@digium.com">jcolp@digium.com</a>> написал:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="elided-text">On Thu, Dec 29, 2016, at 03:43 PM, Anton Teyhrib wrote:<br>
> Hi all,<br>
> Is there any native way to save endpoint statuses to database?<br>
> I use asterisk 13 with pjsip and realtime, and didn't found proper way.<br>
> I read that there is config parameter in sip.conf: rtupdate=yes. But how<br>
> can I do that with pjsip? Or I should use sip.conf with pjsip<br>
> simultaneously.<br>
> Or is there any kind of hooks, which allows make custom action on<br>
> endpoint<br>
> status change.<br>
> Thanks.<br>
<br>
</div>Qualify status itself is only kept locally. Information about the<br>
registered address and expiration time is kept as a contact in the<br>
ps_contacts table. If you want to react based on stuff you can use AMI<br>
to connect and receive events. What are you looking to achieve/do?<br>
<font color="#888888"><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>
--<br>
______________________________<wbr>______________________________<wbr>_________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
<br>
Check out the new Asterisk community forum at: <a href="https://community.asterisk.org/" rel="noreferrer" target="_blank">https://community.asterisk.<wbr>org/</a><br>
<br>
New to Asterisk? Start here:<br>
<a href="https://wiki.asterisk.org/wiki/display/AST/Getting+Started" rel="noreferrer" target="_blank">https://wiki.asterisk.org/<wbr>wiki/display/AST/Getting+<wbr>Started</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" rel="noreferrer" target="_blank">http://lists.digium.com/<wbr>mailman/listinfo/asterisk-<wbr>users</a><br>
</font></blockquote></div><br></div>