[Asterisk-Users] zt hook failed: Device or resource busy
Cian O'Sullivan
cosullivan at icsbermuda.com
Wed Nov 3 08:37:45 MST 2004
Follow up:
Does the following mean the channel is in use when it says Reserved?
*CLI> show channel Zap/1-1
-- General --
Name: Zap/1-1
Type: Zap
UniqueID: 1099494219.1
Caller ID: (N/A)
Caller ID Name: (N/A)
DNID Digits: (N/A)
State: Rsrvd (1)
Rings: 0
NativeFormat: 68
WriteFormat: 4
ReadFormat: 4
1st File Descriptor: 10
Frames in: 843
Frames out: 0
Time to Hangup: 0
Elapsed Time: 0h0m0s
-- PBX --
Context: incoming
Extension: s
Priority: 1
Call Group: 0
Pickup Group: 0
Application: (N/A)
Data: (None)
Stack: -1
Blocking in: (Not Blocking)
Variables:
CALLTYPE=SPEECH
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Cian
O'Sullivan
Sent: Wednesday, November 03, 2004 11:31 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [Asterisk-Users] zt hook failed: Device or resource busy
Hello,
I ordered the Devel lite kit, and installed it.
I am just trying to get the FXO port to work, and am having trouble.
To load the card I do the following.
modprobe wcfxs
modprobe wcfxo
ztcfg -vv
asterisk -vc
My /var/log/asterisk/messages show
Nov 3 11:03:39 WARNING[3317]: zt hook failed: Device or resource busy
Here is my /etc/zaptel.conf
fxoks=1
fxsks=4
loadzone=us
defaultzone=us
Here is my /etc/asterisk/zapata.conf
[channels]
;
echocancel=yes
echocancelwhenbridged=yes
relaxdtmf=yes
rxgain=0.0
txgain=0.0
immediate=no
busydetect=no
callprogress=no
musiconhold=default
usecallerid=yes
callerid=asreceived
;
context=incoming
signalling=fxo_ks
channel=1
context=local-access
signalling=fxs_ks
channel=4
;
When I try to dial outside from a SIP phone I get the following error
Nov 3 11:14:12 NOTICE[3337]: Unable to create channel of type 'Zap'
When I try to dial in, it appears as if the line is answered, as the
rining stops, but ther eis only static, and no indication in the
asterisk logs that it has received an event from FXO.
I have searched the asterisk mailing list archives and posted questions,
but to no avail.
Can you provide any insight?
Cheers
Cian
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at 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
More information about the asterisk-users
mailing list