[Asterisk-Users] Problem with octobri and x100p clone
Agustin Gudiño
agudino at tourlineexpress.com
Thu Dec 22 03:06:50 MST 2005
the thing is: I first had problems loading the drivers and was the zaptel
init file that I will post below
that thing... the order the modules are loaded was the first problem that I
solved and asterisk starts perfectly, the error commented still showing.
here is the zaptel init file --- just a part including the loading of
modules and the ztcfg start
--------------------------------------------------
action "Loading zaptel framework: " modprobe zaptel >>>>>>>loads
zaptel first
# sleep 10
>>>>>>this was my first try with errors - is commented now
# action "Loading zaptel second: " modprobe wcfxo
echo -n "Waiting for zap to come online ..."
TMOUT=10 # max secs to wait
while [ ! -d /dev/zap ] ; do
sleep 1
TMOUT=`expr $TMOUT - 1`
if [ $TMOUT -eq 0 ] ; then
echo "Error: missing /dev/zap!"
exit 1
fi
done
echo "OK"
echo -n "Loading zaptel hardware modules: "
for x in $MODULES; do
if insmod ${x} ${ARGS} >& /dev/null; then
echo -n "$x "
fi
done
echo
sleep 5;
action "Loading wcfxo: " modprobe wcfxo
>>>>>>>>>>>>>> I put the wcfxo here - loads OK
sleep 5;
action "Running ztcfg: " /sbin/ztcfg
RETVAL=$?
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/zaptel
;;
stop)
-----------------------end of part of zaptel init file
Any hint?
Thanks in advance...
Agustin
PS: excuse my english
----- Original Message -----
From: <DRi at b-w-computer.de>
To: "Asterisk Users Mailing List - Non-Commercial Discussion"
<asterisk-users at lists.digium.com>
Sent: Thursday, December 22, 2005 9:55 AM
Subject: Re: [Asterisk-Users] Problem with octobri and x100p clone
> have you checked the order the modules are loaded and that this matches
> the zaptel.conf ?
>
> asterisk-users-bounces at lists.digium.com wrote on 22.12.2005 09:48:55:
>
>> Hi everybody,
>> I have a problem with my *..
>> I have an Octobri Card working good..
>> and 2 x100p clones ..
>> the fact is that * modeprobes ok and load drivers ok.
>> but when I want to make a call outside, I get this error
>>
>> -- Executing Dial("SIP/203-7f0a", "Zap/g1/69XXXXX65|30") in new stack
>> Dec 19 12:33:51 NOTICE[3042]: app_dial.c:759 dial_exec: Unable to create
> channel of type 'Zap'
>>
>> the group 1 are 8 lines of the Octobri
>> the group 2 are 2 x100p clones
>>
>> zapata.conf
> file---------------------------------------------------------
>> [root at sipoperaciones asterisk]# vi zapata.conf
>>
>> ;
>> ; Default context
>> ;
>> context=enlace
>> signalling=fxs_ks
>> echocancel=yes
>> echocancelwhenbridged=yes
>> echotraining=800
>> relaxdtmf=yes
>> rxgain=4.0
>> txgain=4.0
>> busydetect=no
>> callprogress=no
>> musiconhold=default
>> usecallerid=yes
>> callerid=asreceived
>> channel=25-26
>> group=2
>> switchtype = euroisdn
>>
>> signalling = bri_cpe
>> ; p2mp NT mode (for connecting ISDN phones in point-to-multipoint mode)
>> ;signalling = bri_net_ptmp
>> ; p2p NT mode (for connecting an ISDN pbx in point-to-point mode)
>> ;signalling = bri_net
>>
>> pridialplan = local
>> prilocaldialplan = local
>> nationalprefix =
>> internationalprefix = 0
>>
>> echocancel = yes
>>
>> context=incoming
>> group = 1
>> ; S/T port 1
>> channel => 1-2
>>
>> group = 1
>> ; S/T port 2
>> channel => 4-5
>>
>> so on to latest Octobri port
>>
>>
>> group = 1
>> ; S/T port 8
>> channel => 22-23
>>
>>
>> ---------------end of zapata.conf file
>>
>>
>> ----------------zaptel.conf file---------------------
>> [root at sipoperaciones etc]# vi zaptel.conf
>> loadzone=es
>> defaultzone=es
>> # qozap span definitions
>> # most of the values should be bogus because we are not really zaptel
>>
>> span=1,1,3,ccs,ami
>> span=2,0,3,ccs,ami
>> span=3,0,3,ccs,ami
>> span=4,0,3,ccs,ami
>> span=5,1,3,ccs,ami
>> span=6,0,3,ccs,ami
>> span=7,0,3,ccs,ami
>> span=8,0,3,ccs,ami
>>
>> bchan=1,2
>> dchan=3
>> bchan=4,5
>> dchan=6
>> bchan=7,8
>> dchan=9
>> bchan=10,11
>> dchan=12
>> bchan=13,14
>> dchan=15
>> bchan=16,17
>> dchan=18
>> bchan=19,20
>> dchan=21
>> bchan=22,23
>> dchan=24
>> fxsks=25-26
>> --------------end of zaptel.conf file ---------------------
>> someone could help me?????
>> thanks in advance
>> Bye_______________________________________________
>> --Bandwidth and Colocation provided by Easynews.com --
>>
>> Asterisk-Users mailing list
>> To UNSUBSCRIBE or update options visit:
>> http://lists.digium.com/mailman/listinfo/asterisk-users
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list