Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Addressed Kevin's review feedback.


There are two endpoint options that affect presence subscriptions in pjsip.conf. The allow_subscribe option determines whether SUBSCRIBE requests from the endpoint are permitted to be received by Asterisk. By default, allow_subscribe is enabled. The other setting that affects presence subscriptions is the context option. This is used to determine the dialplan context in which the extension being subscribed to should be searched for. Given the dialplan snippet above, if the intent of an endpoint that subscribes to extension 1000 is to subscribe to the hint at 1000@default, then the context of the subscribing endpoint would need to be set to "default". Note that if the context option is set to something other than "default", then Asterisk will search that context for the hint instead.

In order for presence subscriptions to work properly, some modules need to be loaded. Here is a list of the required modules: