by oshonubi » Wed Sep 09, 2009 11:28 am
From my experience most of the configuration for Zap is done by through the backend. You need to get to /etc/asterisk and vi extensions.conf. One thing, please do a back up before you start. For your Zap configuration in extensions.conf, you will uncomment the zap lines in the global section. In addition, be sure your zapata is well configured. From their you can define your dial plan from the [default] context.
For your dial plan, you need to know what dial plan your opertor support. One of the best way of knowing it is to dial another number from your operator's line. For instance, an operator may require a prefix before you dial the number, then add the prefix to you dial number. If you would liek to dial as 678-1234-789 as a ten digit dial number, connect your phone directly to the line and make the dial out of vicidial, if it works, then your dial plan will be something like this _xxxxxxxxxx. if the number does not go, may be there is a dial prefix, then confirm from your operator. If for instance the dial prefix is 9, then your number to dial becomes (9)678-1234-789, then your dial plan will take the following format _xxxxxxxxxxx that is 11 digits.
One issue about vicidial is that the dial plan works mainly for US, UK, Germany, Australia and possibly one or two other countries, If you are not in any of these countries, you need to contruct your dial plan yourself.
Hope this works.
Should you have any question, it will be my pleasure to assist
Vicidial Scratch Install
Rocky Linux 9.2
PHP 8.0
Asterisk 16.17.0-vici
Dahdi 3.2