Feb 19 2008
Grandstream Custom Ringtones
Written by Paul Winkeler   
Tuesday, 19 February 2008
Most of the postings on how to get a Grandstream GXP 2000 to sound a custom ringtone when connected to an Asterisk PBX only get half the story right. This brief article attempts to set the record straight. Three pieces must fall into place:
  • Ringtone sound files
    These files must be called ring1.bin, ring2.bin and ring3.bin respectively and must be downloaded to the phone. This typically entails placing them into the /tftpboot folder on your TFTP server alongside the configuration files for the phones.
  • Phone Parameters
    Phones associate each of the three ringtones with a specific caller-id value. These caller-id values are controlled with parameters P105; P106 and P107 respectively. Pick appropriate caller-id values for each of the ringtones and move to the final step:
  • Asterisk Dial Plan
    In the appropriate place in the Asterisk dialplan then, insert a line as follows:
    exten => s,n,SIPAddHeader(Alert-Info:\;info=Special)
    
    Where "Special" corresponds to the parameter value you chose to associate with the ringtone you want to use for that call.
And that is all there is to it.
Last Updated ( Tuesday, 26 February 2008 )