[Asterisk-Users] Problem with octobri and x100p clone

2005-12-22 Thread Agustin Gudiño



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/69X65|30") in new stackDec 19 12:33:51 NOTICE[3042]: 
app_dial.c:759 dial_exec: Unable to create channel of type 'Zap'

the group 1are8 lines of the 
Octobri
the group 2are2 x100p 
clones

zapata.conf 
file-
[EMAIL PROTECTED] asterisk]# vi 
zapata.conf

;; Default 
context;context=enlacesignalling=fxs_ksechocancel=yesechocancelwhenbridged=yesechotraining=800relaxdtmf=yesrxgain=4.0txgain=4.0busydetect=nocallprogress=nomusiconhold=defaultusecallerid=yescallerid=asreceivedchannel=25-26group=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 = localprilocaldialplan = localnationalprefix 
=internationalprefix = 0

echocancel = yes

context=incominggroup = 1; S/T port 1channel = 1-2

group = 1; S/T port 2channel = 4-5

so on to latest Octobri port 


group = 1; S/T port 8channel = 22-23


---end of zapata.conf file


zaptel.conf file-
[EMAIL PROTECTED] etc]# vi 
zaptel.confloadzone=esdefaultzone=es# qozap span definitions# 
most of the values should be bogus because we are not really zaptel

span=1,1,3,ccs,amispan=2,0,3,ccs,amispan=3,0,3,ccs,amispan=4,0,3,ccs,amispan=5,1,3,ccs,amispan=6,0,3,ccs,amispan=7,0,3,ccs,amispan=8,0,3,ccs,ami

bchan=1,2dchan=3bchan=4,5dchan=6bchan=7,8dchan=9bchan=10,11dchan=12bchan=13,14dchan=15bchan=16,17dchan=18bchan=19,20dchan=21bchan=22,23dchan=24fxsks=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


Re: [Asterisk-Users] Problem with octobri and x100p clone

2005-12-22 Thread DRi
have you checked the order the modules are loaded and that this matches 
the zaptel.conf ?

[EMAIL PROTECTED] 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/69X65|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-
 [EMAIL PROTECTED] 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-
 [EMAIL PROTECTED] 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


Re: [Asterisk-Users] Problem with octobri and x100p clone

2005-12-22 Thread Agustin Gudiño
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: [EMAIL PROTECTED]
To: Asterisk Users Mailing List - Non-Commercial Discussion 
asterisk-users@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 ?

[EMAIL PROTECTED] 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/69X65|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-

[EMAIL PROTECTED] 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-
[EMAIL PROTECTED] 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 


___
--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


Re: [Asterisk-Users] Problem with octobri and x100p clone

2005-12-22 Thread Tzafrir Cohen
On Thu, Dec 22, 2005 at 11:06:50AM +0100, Agustin Gudiño wrote:
 the thing is: I first had problems loading the drivers and was the zaptel 
 init file that I will post below

What's wrong with a simple 'modprobe qozap; modprobe wcfxo; ztcfg' ?
(With no sleeps).

Just remove the post-install executions of ztcfg from /etc/modprobe.conf

-- 
Tzafrir Cohen | [EMAIL PROTECTED] | VIM is
http://tzafrir.org.il |   | a Mutt's  
[EMAIL PROTECTED] |   |  best
ICQ# 16849755 |   | friend

___
--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


Re: [Asterisk-Users] Problem with octobri and x100p clone

2005-12-22 Thread Remco Barende

On Thu, 22 Dec 2005, Tzafrir Cohen wrote:


On Thu, Dec 22, 2005 at 11:06:50AM +0100, Agustin Gudiño wrote:

the thing is: I first had problems loading the drivers and was the zaptel
init file that I will post below


What's wrong with a simple 'modprobe qozap; modprobe wcfxo; ztcfg' ?
(With no sleeps).


I need even longer sleeps (TDM11B only box), if I don't use the sleeps my 
RedHat Enterprise Linux 4.x rebuild will fail to load the second module 
after zaptel.


I don't know why, it seems that the second module is very impatient and 
also that RHEL is slow setting up the proper udev stuff.
___
--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


Re: [Asterisk-Users] Problem with octobri and x100p clone

2005-12-22 Thread Tzafrir Cohen
On Thu, Dec 22, 2005 at 01:15:31PM +0100, Remco Barende wrote:
 On Thu, 22 Dec 2005, Tzafrir Cohen wrote:
 
 On Thu, Dec 22, 2005 at 11:06:50AM +0100, Agustin Gudiño wrote:
 the thing is: I first had problems loading the drivers and was the zaptel
 init file that I will post below
 
 What's wrong with a simple 'modprobe qozap; modprobe wcfxo; ztcfg' ?
 (With no sleeps).
 
 I need even longer sleeps (TDM11B only box), if I don't use the sleeps my 
 RedHat Enterprise Linux 4.x rebuild will fail to load the second module 
 after zaptel.
 
 I don't know why, it seems that the second module is very impatient and 
 also that RHEL is slow setting up the proper udev stuff.


Yet another reason to cancel the automatic execution of ztcfg in
modprobe.conf and just run ztcfg once. After a short sleep, if you must.

-- 
Tzafrir Cohen | [EMAIL PROTECTED] | VIM is
http://tzafrir.org.il |   | a Mutt's  
[EMAIL PROTECTED] |   |  best
ICQ# 16849755 |   | friend

___
--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