How to Customize Distinctive Ring Tone for Internal Calls

Firstly download the putty: http://www.yeastar.com/download/tools/putty.exe

Then follow the steps below:

Step1: Enable the SSH service in Yeastar device (LAN setting> SSH enabled)

Step2:Enter Yeastar device’s server IP and SSH port(default is 8022)


Step3:Then configure the putty with enough lines:

Step4:Login the SSH with username/password: root/ys123456


Step5:
Go to the directory: vi /etc/asterisk/extensions.conf to find the context [marco-realstexten]

And then copy the content under this context into the directory with command: vi /persistent/custom-cfg/extensions_custom.conf

For specific calling extension numbers:

Here we take 452 and 451 as example, when the internal call from this 2 extensions number to other extension number

Add the red lines in front of the line: "exten = s,n,Dial(${ARG2},${RINGTIME},${ARG3})"

[macro-realstexten]
...
...
...
exten = s,n,Gotoif($[${CALLERID(num)} = 452]?15:16)
exten = s,n,SIPAddHeader(Alert-Info: <http://192.168.6.226>\;info=ringertest1)
exten = s,n,Gotoif($[${CALLERID(num)} = 451]?17:18)
exten = s,n,SIPAddHeader(Alert-Info: <http://192.168.6.226>\;info=ringertest2)
exten = s,n,Dial(${ARG2},${RINGTIME},${ARG3})

 

-Instructions for the red lines:

exten = s,n,Gotoif($[${CALLERID(num)} = 452]?15:16)
exten = s,n,SIPAddHeader(Alert-Info: <http://192.168.6.226>\;info=ringertest1)
exten = s,n,Gotoif($[${CALLERID(num)} = 451]?17:18)
exten = s,n,SIPAddHeader(Alert-Info: <http://192.168.6.226>\;info=ringertest2)
The 15:16 and 17:18 are the line numbers
When the caller id is 452, there will go to the line 15
exten = s,n,SIPAddHeader(Alert-Info: <http://192.168.6.226>\;info=ringertest1)
Also when it is not the 452, it will go to the line 16
exten = s,n,Gotoif($[${CALLERID(num)} = 451]?17:18)

When the caller id is 451, there will go to the line 17
exten = s,n,SIPAddHeader(Alert-Info: <http://192.168.6.226>\;info=ringertest2)
Otherwise, it will go to the line 18
exten = s,n,Dial(${ARG2},${RINGTIME},${ARG3})

- For the line of application SIPAddHeader:

exten = s,n,SIPAddHeader(Alert-Info: <http://192.168.6.226>\;info=ringertest2)

192.168.6.226 is IP address of the MyPBX

ringertest2 is the ringer text which is related with ringer settings on the IP phone.

 

If you want to add another internal extensions, you can modify like this.
After that, press “esc”, then use command ":wq" and press "enter" to save the file.

 

For all calling extension numbers:

While if you just want to have general ring tone for all extensions.

You just need to add one line before the the line "exten = s,n,Dial(${ARG2},${RINGTIME},${ARG3})"

[macro-realstexten]
...
...
...
exten = s,n,SIPAddHeader(Alert-Info: <http://192.168.6.226>\;info=ringertest)
exten = s,n,Dial(${ARG2},${RINGTIME},${ARG3})

...

...

...

 


Finally, reboot MyPBX to let the modification take effect.

Step 6: on the IP Phone web interface, please configure the right ringer text.

 

Have more questions? Submit a request

3 Comments

  • 0
    Avatar

    You must devise a much simpler procedure to add custom ring tones to the Yeastar. Why not just build the extension or application into the Yeastar so that the tech can upload ringtone files the same as custom recordings and announcements. The tech then has the capability of assigning them to the inbound routes...Much, much simpler my friend....According to this documentation in FAQ's it can be done, but I can't find it in any of your manuals!!!

    http://www.yeastar.com/mypbx-faq/  Questions 13 and 14...

    Edited by Alton
  • 0
    Avatar

    For incoming call from outside the office, I think you can take this for reference:

    https://support.yeastar.com/hc/en-us/articles/217394317-How-to-Setup-Distinctive-Ringtone

     

  • 0
    Avatar

    I have tried it on both Yealink T42 and T46 and it doesn't work.

Please sign in to leave a comment.