keywords: ip pbx voip gateway gsm gateway

× Questions about VS-GW2120/GW1600/GW1202 and WGW1002G GSM Series VoIP Gateway

Use of asterisk variables in CID in routing rules

7 years 2 months ago #9972 by glaz123
Hi,

I'd like to use an asterisk variables (${SOME} which I set in extentions_custom.conf) for field CID in routing rules, does anyone know is it possible?
I can set CID in interface to be any directly written number, but when I use a variable it is not saved in config. If I directly edit extentions_routing.conf
to be something like "exten=>s/${number],n,Dial(something)", it works correctly until I save config in GUI (for very obvious reason).
7 years 2 months ago - 7 years 2 months ago #9973 by Michael.zou
Hi.
You can not edit "extentions_routing.conf" file, if you want add your own dialplan, please edit extensions_custom.conf file.
If you wanna your master board use your own dialplan, please copy "extra-channels.conf" file as a new channels configuration file, and then, modify ”chan_extra.conf“ file to include your new channels configuration file, and then modify the context to your own dial context in extensions_custom.conf file, but first, do not add any routing rules for same port in GUI.
If you wanna your slave board use your own dialplan, please edit "extensions_custom.conf" file, use the same context name in extentions_routing.conf, like "gsm-1", but first, do not add any routing rules for same port in GUI.

Regards!
Michael
OpenVox Support Team
Email: This email address is being protected from spambots. You need JavaScript enabled to view it.
Skype: along.zou
Tel: +86-755-66630978 ext.657
Quick Support:
wiki.openvox.cn/index.php/OpenVox_Quick_Support
Support Forum:
www.openvox.cn/forum/index.html
Time to create page: 0.026 seconds
Powered by Kunena Forum