Phones - Ringing Types and Intercom

 

Ringing Types and Intercom

Sangoma phones support several different types of ringing:

  • Normal Ringing - normal

  • One Ring followed by automated Answer - ring-answer

  • Immediate Answer, No ringing - answer

  • Visual only, No ringing sound - visual

When an incoming call is received, the phone will look for an ALERT_INFO SIP header, and compare the received header against its configuration, as parsed from its Config XML or via the DPMA alert configuration options.

Affecting the ring type from the Asterisk dialplan requires use of the ALERT_INFO SIP header. This header should be added into the dialplan before executing a dial to the phone, as such:

Selecting a Ringing type from the Dialplan

exten => 100,1,Dial(PJSIP/myendpoint,,b(normal-ringer^addheader^1)) [normal-ringer] exten => addheader,1,Set(PJSIP_HEADER(add,Alert-Info)=<normal>)

 

Alert-Info elements encapsulated in angle brackets are not parsed correctly by the Sangoma phones in firmwares prior to 1.1.0. As such, users who require use of angle brackets for the first Alert-Info element, and who are using their own generated configurations, not provided by the DPMA, and who are using a firmware prior to 1.1.0, must use the escaped characters directly in the alert definition.

 

FreePBX Paging

FreePBX and AsteriskNOW users using DPMA prior to 1.0.2 can modify the FreePBX database to allow ring-answer paging by performing the following:

sudo su - amportal a m INSERT INTO paging_autoanswer (useragent, var, setting) VALUES ('Digium', 'ALERTINFO', 'Alert-Info: ring-answer'); quit

and then reloading:

amportal reload

2.9.25 Changes

Beginning with firmware 2.9.25, phones support additional, implicit headers:

  • Alert-Info-Ring-Volume=(1-10) - ignore local device ring volume setting, and use the value in this header

  • Alert-Info-Speaker-Volume=(1-10) - ignore local device speaker volume setting, and use the value in this header

  • Alert-Info-Interrupt=1 - Automatically put any current call on hold, auto-answer the call and play audio through speaker or through headset if it's already off-hook, similar to what is done with the priority and interrupt options of multicast

 

Related content