Hi.
For my purposes I change extra-channels.conf file (in particular a context=gsm-1 change to context=mygsm-1)
But every time when gateway reboting file reseting to original and my changes is gone.
Can you give me a advice - how I can change extra-channels.conf permanently?
Hi,
You can customize dial rules extensions_custom.conf file.
1. add the following in /etc/asterisk/gw/custom.sh file: echo> /etc/asterisk/extensions_routing.conf
asterisk -rx "core reload"
2. Finally, execute the command: / my_tools / sync2flash
I add echo> /etc/asterisk/extensions_routing.conf in /etc/asterisk/gw/custom.sh
but when I restart asterisk or restart OS nothing happnes - file /etc/asterisk/extensions_routing.conf not cleared.
I use last firmware version 2.3.1
1.Please define your own dialing rules in the configuration file /etc/asterisk/gw/custom.sh
2.A space echo and> in line, you need to execute the command / my_tools / sync2flash then reboot to take effect