FN-GM Posted January 24, 2013 Posted January 24, 2013 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
Quackers Posted January 24, 2013 Posted January 24, 2013 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. 1
FN-GM Posted January 24, 2013 Author Posted January 24, 2013 Thanks, based on that guide can you tell me why the simple command does not work please? Thanks
twin--turbo Posted January 24, 2013 Posted January 24, 2013 your not in vi ( or any other editor ) simply on the comamnd line. Rob
FN-GM Posted January 24, 2013 Author Posted January 24, 2013 Thats right isnt it? on the guide posted in my OP it doesnt say do it in the editor
twin--turbo Posted January 24, 2013 Posted January 24, 2013 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
pcstru Posted January 24, 2013 Posted January 24, 2013 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
FN-GM Posted January 24, 2013 Author Posted January 24, 2013 Ok but why does the command Set(CHANNEL(tonezone)=UK) not work please?
pcstru Posted January 24, 2013 Posted January 24, 2013 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
plexer Posted January 24, 2013 Posted January 24, 2013 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
Domino Posted January 24, 2013 Posted January 24, 2013 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
FN-GM Posted January 24, 2013 Author Posted January 24, 2013 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.” 1
FN-GM Posted January 24, 2013 Author Posted January 24, 2013 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.
Quackers Posted January 24, 2013 Posted January 24, 2013 on our Aastra phones the dial tone settings and ring tone settings are done on the handset config not the asterisk side.
twin--turbo Posted January 24, 2013 Posted January 24, 2013 Well it is the phone that plays the tone and not the server, try a reboot of the server the phones. Rob
plexer Posted January 24, 2013 Posted January 24, 2013 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 1
pcstru Posted January 24, 2013 Posted January 24, 2013 (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 January 24, 2013 by pcstru
FN-GM Posted January 24, 2013 Author Posted January 24, 2013 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.
Domino Posted January 24, 2013 Posted January 24, 2013 Its not what you say its the way you say it. ...in text?
FN-GM Posted January 24, 2013 Author Posted January 24, 2013 (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 January 24, 2013 by FN-GM
amelmoe Posted January 29, 2013 Posted January 29, 2013 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now