Jump to content

Asterisk Chaning the dial tones


Recommended Posts

Posted

Hi,

 

I have installed asterisknow and i would like it to use the UK dial notes not the USA ones. I have found some stuff on the internet on editing the indications.conf file but i have no idea how to do that.

 

Running the command Set(CHANNEL(tonezone)=UK) as per this guide retruns invland syntax. I am not a Linux guru so please bear with me.

 

Thanks

Posted

SSH to the asterisk box

 

after logging in change to the directory where that file is

 

cd /etc/asterisk

 

then to edit it type

 

vi indications.conf

 

when in press INSERT to enable editing, then when done you need to esc the type :x to exit and save.

  • Thanks 1
Posted

vi indications.conf

 

vi <-- the worst editor in the world..

 

you may have nano or emacs or pico

 

if not it's vi

 

vi indications.conf

 

press insert

edit what you need

press esc

press :wq

 

Rob

Posted

i

The nice thing about vi is that it is available on every *nix and if you know how to use it natively, you don't have to worry about your key mappings on the terminal.

[esc]

ZZ

Posted

I think that needs to be executed as part of the dialplan. In indications.conf I'd assume you need to alter the line

 

country=us

 

to

 

country=uk

Posted
Ok but why does the command Set(CHANNEL(tonezone)=UK) not work please?

 

In that guide you linked to where does it say to execute that command from the command line?

 

Ben

Posted
Thats right isnt it? on the guide posted in my OP it doesnt say do it in the editor

 

It's implied, as the whole article is about editing indications.conf

Posted
In that guide you linked to where does it say to execute that command from the command line?

 

Ben

 

From a Mod i expect better! That sarcastic unhelpful attitude is not called for. As Domino says its implied it. As I said in post 1 “I am not a Linux guru so please bear with me.”

  • Thanks 1
Posted
Thats odd, the file is already set to the UK but the tones on the phones are not correct. It must be the phones doing it.
Posted
From a Mod i expect better! That sarcastic unhelpful attitude is not called for. As Domino says its implied it. As I said in post 1 “I am not a Linux guru so please bear with me.”

 

Excuse me? I asked a simple question as I skimmed the link and couldn't see mention of a command line reference thinking perhaps it was in a different chapter of the guide.

 

Ben

  • Thanks 1
Posted (edited)
Thats odd, the file is already set to the UK but the tones on the phones are not correct. It must be the phones doing it.

 

This post strongly suggests (implies!) that the dial plan may need to be tinkered with. Which is where your original command needs to be used. The dial plan should be in extensions.conf.

Edited by pcstru
Posted
Excuse me? I asked a simple question as I skimmed the link and couldn't see mention of a command line reference thinking perhaps it was in a different chapter of the guide.

 

Ben

 

Its not what you say its the way you say it.

Posted (edited)

To be it looks sarcastic. I apologies if i took it wrong, I wasn't the only person on here who took that the wrong way.

 

instead of

 

In that guide you linked to where does it say to execute that command from the command line?

 

maybe this would be better

 

I cant see in the guide you linked to where it says you execute that in the command line. Mayeb you have got mixed up?

Edited by FN-GM
Posted

Hello!

 

If you're using SIP phones, it's the phone that plays the dial tone and "call progress" tones - ringing, engaged, etc. To change what they sound like you need to edit the configuration for the phone - either via the web interface of the phone or via the config file the phone grabs when it boots - the method employed by the phone depends on the phone.

 

The settings in the Asterisk configuration file refer to occasions when Asterisk generates the tones - predominantly if you are using a hardware card to provide connectivity to analogue phones. Otherwise, Asterisk just relays the status to the SIP phone (it's ringing, it's engaged) and the SIP phone makes whatever noise it sees fit.

 

Hope this helps!

 

Alex.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...