Jondecker:
Thanks for the info. I actually had full intentions of writing a wiki page for the installation of the X100P but have been tied up with other hardware at the moment. Please forgive any misinformation I'm writing this mostly from memory and a few notes I took when doing my install.
You should be able to get it working with the following instruction:
1) Create a blank zaptel.conf file in /etc/
NOTE: If this file does not exist the zaptel driver install will fail.
2) Open a shell and type: sudo apt-get install zaptel
3) In your shell type: genzaptelconf
This will populate the blank zaptel.conf file you created earlier
4) Now you are ready to write your zapata.conf file in /etc/asterisk I have attached both my zaptel.conf and my zapata.conf as working examples.
5) We should be able to run some diagnostic commands to be sure we're on the right track. You can run ztcfg -vvvv and you should get some output similar to the following:
Zaptel Version: 1.4.3
Echo Canceller: MG2
Configuration
======================
Channel map:
Channel 01: FXS Kewlstart (Default) (Slaves: 01)
1 channels configured.
6) The manual part is done at this point, now we jump to the LMCE web-admin and navigate to Advanced>Phones Setup>Trunks>Add Zap Trunk.
7) My PSTN line is my only phone line so I route all traffic in and out of it so the only fields I filled out were :
Outbound Caller ID: Your Phone #
Maximum Channels: 1
Zap Identifier (trunk name): 1
Submit and apply your changes
9) This part I am fuzzy on since my current installation is simply ringing every phone in my house, whether it is a standard PSTN or a SIP phone. At any rate, I have a ring group I created to accomplish this, pm me if you want more details and I'll break it down but it is beyond the scope of a basic working setup. Anyways, we need to create and inbound route so click on Inbound Routes, I configured mine as follows:
Zaptel Channel: 1
Destination Ring Groups: RingAll <600>
You should configure your destination to your needs and based on how you want asterisk to work in your setup.
10) Submit and apply your changes
11) This is the last part, we need to create an outbound route so that asterisk knows when you use our zaptel trunk. Click on Outbound Routes. I configured mine as follows:
Route Name: OutPSTN
Dial patterns wizards: Local 7/10 and Emergency
Trunk Sequence: ZAP/1
12) Submit and apply your changes
13) Reload zaptel and verify our work from the CLI by loading up a shell and typing Asterisk -vvvvvvvvvvr, to reload zaptel we type zap restart, then check our card by typing zap show status. We should see some output like:
Description Alarms IRQ bpviol CRC4
Wildcard X100P Board 1 OK 0 0 0
ZTDUMMY/1 1 UNCONFIGUR 0 0 0
14) Finally we can verify the channels are created successfully by typing zap show channels and you should see something like:
Chan Extension Context Language MOH Interpret
pseudo from-zaptel default
1 from-zaptel default
That should be enough information to get you a basic working setup, if you have more questions please PM me. Also let me know if these instructions need to be tweaked to get it working and I will create a wiki page when the instructions work
PS. I could use some assistance with my alarm panel if you know anything about GSD