[asterisk-users] Saving endpoint statuses to database with pjsip and realtime
Anton Teyhrib
teihrib at gmail.com
Tue Jan 3 12:12:01 CST 2017
Hi Joshua!
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
> simultaneously.
> Or is there any kind of hooks, which allows make custom action on
> endpoint
> status change.
> Thanks.
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?
--
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
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
Check out the new Asterisk community forum at: https://community.asterisk.
org/
New to Asterisk? Start here:
https://wiki.asterisk.org/wiki/display/AST/Getting+Started
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20170103/978cfd7b/attachment.html>
More information about the asterisk-users
mailing list