Change the Dial tone on a Sipura from Asterisk

How would I go about dynamically changing the dail tone given by my Sipura 2000 ATA? I know it’s possible to set a variable (ALERT_INFO) to control the ring tone generated by the Sipura. Is there something similar for dial tone?

I want to warn the user (me) when calls are being routed straight to voicemail, something I activate/deactivate by dialing a certain extension.


That’s not very likely to be possible.

Dial tone is only generated when a call is not in progress. Once you place a call, dial tone is lost.

Are you looking to change the call progress tones? (Like the ringback that you hear when you call another station?)

Those tones are generally controlled by the regional settings for your Asterisk implemenatation.

Hmm…But Asterisk does, in a manner, change the dial tone by alerting the Sipura that there is a new voicemail. When I pick up the phone, the dial tone beeps about 6 times to tell me there is voicemail. If I listen to the voicemail, next time I pick up the phone, dial tone is normal.

Can I fake a voicemail alert somehow?

I don’t think that’s true. Not with SIP, anyway - although it’s undoubtedly true with FXS cards. Asterisk doesn’t provide the dialtone heard in an ATA or SIP phone - it has to be the phone that creates it.

Agreed. I should have qualified my answer…

If your analog adapter is an internal Digium card, then the zapata.conf settings are what decide how the system tones are played to the caller.

In every other case, when using sip clients, the sip client creates the tones heard. You may or may not be able to define what the tones sound like to a user.

The message waiting indication, as stutter dial tone, is something you can change in your Sipura ATA. But I’m not sure about other adapters.

In the case of the question poster, I’m beginning to think that what he wants to do is have some sort of “do-not-disturb” indicator for callers.

I’m not certain how to do that with call progress tones.

It should be fairly easy to do in the extensions.conf file. Something like:

exten => s,1,Dial(${ARG1},30)
exten => s,2,Voicemail(${ARG2})
exten => s,3,Hangup
exten => s,102,Playback(beep)
exten => s,103,Voicemail(${ARG2})
exten => s,104,Hangup

Playback of the beep tone would happen immediately just before calls are sent to voicemail.

Actually, what I need is a reminder to ME that I’ve activated the “Direct-to-voicemail” option.