Saving Endpoint Statuses To Database With Pjsip And Realtime

Home » Asterisk Users » Saving Endpoint Statuses To Database With Pjsip And Realtime
Asterisk Users 4 Comments

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.

4 thoughts on - Saving Endpoint Statuses To Database With Pjsip And Realtime

  • 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?

  • 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”
    написал:

    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?

  • Ok, thank you! Happy new year:)

    3 янв. 2017 г. 11:13 PM пользователь “Joshua Colp”
    написал: