willy@yponeinc.com
2004-Mar-06 15:27 UTC
[Asterisk-Users] Help Newbie: TDM Development Kit
Hi! I am a complete newbie at *asterisk. I am somwhat stumped. I have *asterisk successfully running on a FC-1 distro. modprobe indicates that wcfxo and wcfxs are successfully installed. To get things started, I setup a simple SIP with two clients (softphones) on my home LAN. This works OK. I used the setup example (slightly modified) from the Jon Todd article. http://www.onlamp.com/pub/a/onlamp/2003/07/03/asterisk.html?page=1 and I found instructions on the X-lite phones. It appears to work. Then, I recieved the Digium development kit X100P and TDM400P. I added a line to my extensions as follows: exten => _9.,1,Dial(ZAP/1/${EXTEN}) Figuring that anything which starts with a 9 should dial outside the box. Asterix console reports the following error: app_dial.c:533 dial_exec: Unable to create channel of type 'ZAP' Now, I probably need to do something to the zapata.conf file, but I have no idea what. Of course, the kit also has a TDM400P card. I have a phone plugged into it, but (needless to say) there is no dial tone or anything. Help Please ... willy
Hans-Henrik Andresen
2004-Mar-07 01:15 UTC
[Asterisk-Users] Re: Help Newbie: TDM Development Kit
Did you compile the zap and lipri and installed ? /HHA> app_dial.c:533 dial_exec: Unable to create channel of type > 'ZAP'
willy@yponeinc.com
2004-Mar-07 12:47 UTC
[Asterisk-Users] Re: Help Newbie: TDM Development Kit
Yeah .. Here's an update. It turns out I need to have a zaptel.conf file !?? Ok, so I found that and I now have the followign setup: ----------------->>>> cat zaptel.conf <<<<<loadzone=us defaultzone=us # Load FXS device (a TDM400P) as Channel #, and use kewlstart FXO signalling fxoks=1 # Load FXO device (a T100X) as Channel #, and use kewlstart FXS signalling fxsks=2 ----------------- In my zapata.conf file, I have an entry for the TDM400P as follows: [channels] language=en group=1 context=from-sip signalling=fxo_ks mailbox = 2100 callerid = "Fedora" <2100> channel => 1 -------------- Now, I have two SIP clients on my local LAN, [2000] and [2100]. The mailbox is at [2999] Locally (i.e. on the LAN, everything works, i.e., I can place calls to all my extensions, and leave voice mail. extension [2000] SIP using X-lite on a PC extension [2001] SIP using X-lite on a Laptop (PC) extension [2100] ZAP using the TDM400P board When I run ztcfg -vv I am getting: --------------------------------- Zaptel Configuration ===================== Channel map: Channel 01: FXO Kewlstart (Default) (Slaves: 01) Channel 02: FXS Kewlstart (Default) (Slaves: 02) 2 channels configured. --------------------------------- .. which looks OK to me. Now, of course I need to tell asterisk about the FXO card, so I add the following to zapata.conf .. --------------------------------- group=2 signalling=fxs_ks channel => 2 --------------------------------- and when I start asterisk, this is what shows ... Parsing '/etc/asterisk/zapata.conf': Found Registered channel 1, FXO Kewlstart signalling WARNING Unable to specify channel 2: No such device : Unable to open channel 2: No such device here = 0, tmp->channel = 2, channel = 2 msetup_zap: Unable to register channel '2' WARNING: mast_load_resource: load_module failed, returning -1 --------------------------------- Any ideas? BTW: trying to make the X100P channel 1 does not help either. ztcfg shows the channels, but asterisk will fail to load. Cheers, Willy ----- Original Message Follows -----> Did you compile the zap and lipri and installed ? > > /HHA > > > app_dial.c:533 dial_exec: Unable to create channel of > > type 'ZAP' > > > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users