[asterisk-users] Saving endpoint statuses to database with pjsip and realtime
teihrib at gmail.com
Tue Jan 3 12:12:01 CST 2017
Thank you for response.
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?
3 янв. 2017 г. 11:06 PM пользователь "Joshua Colp" <jcolp at digium.com>
On Thu, Dec 29, 2016, at 03:43 PM, Anton Teyhrib wrote:
> Hi all,
> Is there any native way to save endpoint statuses to database?
> I use asterisk 13 with pjsip and realtime, and didn't found proper way.
> I read that there is config parameter in sip.conf: rtupdate=yes. But how
> can I do that with pjsip? Or I should use sip.conf with pjsip
> Or is there any kind of hooks, which allows make custom action on
> status change.
Qualify status itself is only kept locally. Information about the
registered address and expiration time is kept as a contact in the
ps_contacts table. If you want to react based on stuff you can use AMI
to connect and receive events. What are you looking to achieve/do?
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
Check out the new Asterisk community forum at: https://community.asterisk.
New to Asterisk? Start here:
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the asterisk-users