[asterisknow] Automatic configuration of zaptel.conf and zapata.conf
Aldo D. Sudak
adsudak at yahoo.com.ar
Tue Aug 14 17:04:50 CDT 2007
Dear sirs,
I am completely new to Asterisk and to Linux, for which reason I preferred to install Asterisknow.
1) First, and with the aid of 'sudo', I configurated zaptel.conf.zapscan (I have a TDM800 card with 4xFXS and 2xFXO channels installed in my PC). I declared fxsks signalling for the FXO channels and fxoks signalling for the FXS channels. I rebooted the machine and obtained error messages stating that channels had already been configurated in previous lines of zaptel.conf. In fact, I opened zaptel.conf and found the channels' configuration written twice. So I eliminated my writings in zaptel.conf.zapscan and confirmed that zaptel.conf is automatically written when booting (this was never stated in my asterisk literature!).
2) Next I wrote zapata.conf.zapscan with the following assignements:
context = internas_master
group = 1
pickupgroup = 1
signalling = fxo_ks
channel => 1
;
context = internas
channel => 2,3,4
;
context = entrantes
group = 2
signalling = fxs_ks
channel => 5,6
Then I rebooted the computer and tried to verify if my PBX worked (I had also designed a dialplan with contexts corresponding to the ones declared in zapata.conf.zapscan). I noticed in the CLI that any attempt to dial from my phone (Zap/2) was unduly directed to the [entrantes] context instead of [internas] as it should be. When I looked into zapata.conf I found there were four new lines automatically added at the end of the file:
signalling = fxo_ks
channel => 1,2,3,4
signalling = fxs_ks
channel => 5,6
It is quite apperent for me that these added lines are the cause, because [entrantes] is the last context definition and so all six channels are assigned it. Does anybody know how to solve this problem?
I am also interested about the GUI but I don't know how to open it! I have not been able to find any official "user handbook" for Asterisknow, and the "Quick start" links at the website seem to work no longer.
I'll be really very grateful to anyone who sends me any ideas to adsudak at fullzero.com.ar or adsudak at yahoo.com.ar
Thank you very much in advance.
---------------------------------
Los referentes más importantes en compra/venta de autos se juntaron:
Demotores y Yahoo!Ahora comprar o vender tu auto es más fácil. ¡Probalo!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisknow/attachments/20070814/de159b14/attachment.htm
More information about the asterisknow
mailing list