Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: improve explanation of auto_hint

...

Info
titleSubscription URI

When using DPMAFor SIP endpoints that are attached to a DPMA-configured Digium phone, the subscribe_to parameter should point to a special hint automatically created by DPMA. This hint is in the format "auto_hint_<peer>," e.g.:

Code Block
xml
xml
subscribe_to="auto_hint_1234"

In this case, it is not necessary to create a dialplan hint, as it is automatically created by DPMA

When not using DPMA, the subscribe_to parameter should instead point to a regular SIP URIFor non-DPMA-configured endpoints, no "auto_hint" is created, and subscriptions should be a normal SIP URI that is provided by the target system, e.g..:

Code Block
xml
xml
subscribe_to="sip:500@my.pbx.com"

or, simply to an extension, where the phone will automatically subscribe to the registered server, e.g.:

Code Block
xml
xml
subscribe_to="500"

Also, when DPMA is not used, it is necessary to create a dialplan hint, e.g.:

No Format
exten => 1234,hint,PJSIP/mypeer
exten => 1234,1,NoOp()
exten => 1234,n,Dial(PJSIP/mypeer,20)

Users of DPMA with older versions of Asterisk, or chan_sip instead of chan_pjsip, should note that the callcounter sip.conf parameter is necessary.

...