Asterisk + zaphfc + Error

kandy

Neuer User
Mitglied seit
19 Feb 2005
Beiträge
61
Punkte für Reaktionen
0
Punkte
0
I cannot start asterisk since I go this error
Code:
 [chan_zap.so] => (Zapata Telephony w/PRI)
  == Unregistered channel type 'Tor'
  == Unregistered channel type 'Zap'
[root@asterisk1 root]# Ouch ... error while writing audio data: : Broken pipe

this are my config files
zaptel.conf

Code:
# hfc-s pci a span definition
# most of the values should be bogus because we are not really zaptel

span=1,1,3,ccs,ami
bchan=1-2
dchan=3

Zapata.conf
Code:
[channels]

switchtype = euroisdn
signalling = bri_net_ptmp
prilocaldialplan = local
echocancel = yes

immediate=yes
setcallerid(""<${CALLERIDNUM}>)
;usecallerid=yes
group = 1
context=default
channel => 1-2

pridialplan = dynamic
nationalprefix = 0
internationalprefix = 00
context=isdn-incoming
 
kandy!

try without loading the chan_oss.so and chan_alsa.so
in the modules.conf, unless you want use sound.
The issue is caused by nonexistent audio devices, i guess.

regards
britzelfix
 
I have already disabled the sound

noload => chan_alsa.so
noload => chan_oss.so

without luck
 
did you load the modules and run ztcfg ?
And when you run ztcfg -v what is the output to that?
 
@kandy

please check your musiconhold.conf.
You've got the error message from mpg123.

cheers
bernhard
 
Result of
ztcfg -vv

Zaptel Configuration
======================

SPAN 1: CCS/ AMI Build-out: 399-533 feet (DSX-1)

Channel map:

Channel 01: Individual Clear channel (Default) (Slaves: 01)
Channel 02: Individual Clear channel (Default) (Slaves: 02)
Channel 03: D-channel (Default) (Slaves: 03)

3 channels configured.

After I remove the musiconhold and I start asterisk with the comand

asterisk -vvvvvvvvvcgd
I receive


[chan_zap.so] => (Zapata Telephony w/PRI)
== Unregistered channel type 'Tor'
== Unregistered channel type 'Zap'
[root@asterisk1 root]#

UPDATE:
I change PC and now is working, I do not have any error anymore
 
recompile asterisk .... and work correctly

Giuseppe donDisperato
 
Holen Sie sich 3CX - völlig kostenlos!
Verbinden Sie Ihr Team und Ihre Kunden Telefonie Livechat Videokonferenzen

Gehostet oder selbst-verwaltet. Für bis zu 10 Nutzer dauerhaft kostenlos. Keine Kreditkartendetails erforderlich. Ohne Risiko testen.

3CX
Für diese E-Mail-Adresse besteht bereits ein 3CX-Konto. Sie werden zum Kundenportal weitergeleitet, wo Sie sich anmelden oder Ihr Passwort zurücksetzen können, falls Sie dieses vergessen haben.