Custom ring tones on the GXP 1450 / 2100

GXP 1450

Previous models of Grandstream IP phones (namely GXP 1200 / 2000 / 2010 & 2020) allowed Asterisk to select which ring tone to use by sending the Alert-Info SIP Header. This was done from the Asterisk dialplan using the SIPAddHeader application;

exten => s,n,Set(ALERT_INFO=Alert-Info:\;info=r2)
exten => s,n,SIPAddHeader(${ALERT_INFO})

… where r2 is the value of the ‘Distinctive Ring Tone; Custom ring tone 2, used if incoming caller ID is’ setting in the Advanced Settings page of the Web GUI.

However, the new range of GXP phones (i.e. 1450 / 2100) do not ring if the Alert-Info SIP Header is sent as above. We assume that this is a bug or intolerance in the SIP stack on the phone as the SIP INVITE from Asterisk to the phone that contains the custom header is never acknowledged. The solution is to format the Alert-Info header as follows;

Alert-Info: \;info=r2

For example;

exten => s,n,Set(ALERT_INFO=Alert-Info: <sip://127.0.0.1>\;info=r2)
exten => s,n,SIPAddHeader(${ALERT_INFO})

The good news is that the new format appears to work on the old models although you may need to upgrade the firmware on the new model range to version 1.0.1.66.

This entry was posted in Asterisk, Grandstream. Bookmark the permalink.

Leave a Reply