Hallo,
ich arbeite erst wenige Tage mit * und habe vermutlich wohl 'nur' ein Konfigurationsproblem. Ich hoffe Ihr koennt mir helfen.
Meine Konfiguration sieht so aus:
Der asterisk-server ist ueber eine hfc-s pci direkt mit dem ntba verbunden.
Weiterhin sind am * zwei analog Telefone mittels iaxy verbunden. Das interne Telefonieren zwischen den beiden Telefonen funktioniert super. Allerdings ist eine Rauswahl nicht moeglich.
Config:
/etc/zaptel.conf
--snip--
span=1,1,3,ccs,ami
bchan=1-2
dchan=3
loadzone=nl
defaultzone=nl
--snap--
/etc/asterisk/zapata.conf
--snip--
[channels]
language=en
switchtype=euroisdn
;If you connect to a hicom PBX set your ISDN Numbering Plan Identifier to unknown.
pridialplan=unknown
prilocaldialplan=unknown
; p2mp TE mode
;signalling = bri_cpe_ptmp
; p2p TE mode
;signalling = bri_cpe
; p2mp NT mode
signalling = bri_net_ptmp
; p2p NT mode
;signalling = bri_net
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
rxgain=0.0
txgain=0.0
group=1
callgroup=1
pickupgroup=1
immediate=yes
context=default
channel => 1-2
--snap--
/etc/asterisk/extensions.conf
--snip--
exten => 1212,1,Dial(IAX2/test1,,rm)
exten => 1212,2,Congestion
exten => 1212,3,Hangup
exten => 1213,1,Dial(IAX2/test2,,rm)
exten => 1213,2,Congestion
exten => 1213,3,Hangup
exten => _9.,1,Dial(Zap/g1/${EXTEN:1},,Tt)
exten => _9.,2,Congestion
exten => _9.,3,Hangup
--snap--
Software:
asterisk-1.0.7
bristuff-0.2.0-RC7k
libpri-1.0.7
zaptel-1.0.7
kernel 2.6.3
Distri: Mandrake 10.0
output von ztcfg -vv
--snip--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.
--snap--
output dmsg
--snip--
zaptel: no version for "struct_module" found: kernel tainted.
Zapata Telephony Interface Registered on major 196
PCI: Found IRQ 9 for device 0000:03:05.0
zaphfc: CCD/Billion/Asuscom 2BD0 configured at mem 0xe05fe000 fifo 0xd1778000(0x11778000) IRQ 9 HZ 1000
zaphfc: Card 0 configured for TE mode
spurious 8259A interrupt: IRQ7.
zaphfc: 1 hfc-pci card(s) in this box.
Registered tone zone 3 (Netherlands)
Registered tone zone 3 (Netherlands)
Registered tone zone 3 (Netherlands)
--snap--
output asterisk -vvvc
--snip--
-- Accepted AUTHENTICATED TBD call from 192.168.0.36
-- Accepting DIAL from 192.168.0.36, formats = 0x4
-- Executing Dial("IAX2/test1@test1/3", "Zap/g1/40099138||Tt") in new stack
Apr 5 12:10:44 DEBUG[6868]: app_dial.c:504 dial_exec: SIMPLE DIAL (NO URL)
-- Called g1/40099138
-- Channel 0/1, span 1 got hangup
Apr 5 12:10:48 DEBUG[6868]: chan_zap.c:2665 zt_setoption: Set option AUDIO MODE, value: ON(1) on Zap/1-1
Apr 5 12:10:48 DEBUG[6868]: chan_zap.c:2164 zt_hangup: Hangup: channel: 1 index = 0, normal = 22, callwait = -1, thirdcall = -1
Apr 5 12:10:48 DEBUG[6868]: chan_zap.c:2292 zt_hangup: Already hungup... Calling hangup once, and clearing call
Apr 5 12:10:48 DEBUG[6868]: chan_zap.c:1413 zt_disable_ec: disabled echo cancellation on channel 1
Apr 5 12:10:48 DEBUG[6868]: chan_zap.c:2577 zt_setoption: Set option TDD MODE, value: OFF(0) on Zap/1-1
Apr 5 12:10:48 DEBUG[6868]: chan_zap.c:1352 update_conf: Updated conferencing on 1, with 0 conference users
Apr 5 12:10:48 DEBUG[6868]: chan_zap.c:2659 zt_setoption: Set option AUDIO MODE, value: OFF(0) on Zap/1-1
Apr 5 12:10:48 DEBUG[6868]: chan_zap.c:1413 zt_disable_ec: disabled echo cancellation on channel 1
-- Hungup 'Zap/1-1'
== No one is available to answer at this time
Apr 5 12:10:48 DEBUG[6868]: app_dial.c:1052 dial_exec: Exiting with DIALSTATUS=NOANSWER.
-- Executing Congestion("IAX2/test1@test1/3", "") in new stack
Apr 5 12:10:48 DEBUG[6868]: chan_iax2.c:5543 socket_read: Immediately destroying 3, having received hangup
== Spawn extension (default, 940099138, 2) exited non-zero on 'IAX2/test1@test1/3'
Apr 5 12:10:48 DEBUG[6868]: chan_iax2.c:2415 iax2_hangup: We're hanging up IAX2/test1@test1/3 with cause 18 now...
Apr 5 12:10:48 DEBUG[6868]: chan_iax2.c:2424 iax2_hangup: Really destroying IAX2/test1@test1/3 now...
-- Hungup 'IAX2/test1@test1/3'
--snap--
Dazu ist noch zu sagen, dass am zweiten ntba eine octupus 800/300 von der Telekom haengt.
Habt Ihr eine Idee warum kein externer Ruf moeglich ist?
Danke.
ich arbeite erst wenige Tage mit * und habe vermutlich wohl 'nur' ein Konfigurationsproblem. Ich hoffe Ihr koennt mir helfen.
Meine Konfiguration sieht so aus:
Der asterisk-server ist ueber eine hfc-s pci direkt mit dem ntba verbunden.
Weiterhin sind am * zwei analog Telefone mittels iaxy verbunden. Das interne Telefonieren zwischen den beiden Telefonen funktioniert super. Allerdings ist eine Rauswahl nicht moeglich.
Config:
/etc/zaptel.conf
--snip--
span=1,1,3,ccs,ami
bchan=1-2
dchan=3
loadzone=nl
defaultzone=nl
--snap--
/etc/asterisk/zapata.conf
--snip--
[channels]
language=en
switchtype=euroisdn
;If you connect to a hicom PBX set your ISDN Numbering Plan Identifier to unknown.
pridialplan=unknown
prilocaldialplan=unknown
; p2mp TE mode
;signalling = bri_cpe_ptmp
; p2p TE mode
;signalling = bri_cpe
; p2mp NT mode
signalling = bri_net_ptmp
; p2p NT mode
;signalling = bri_net
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
rxgain=0.0
txgain=0.0
group=1
callgroup=1
pickupgroup=1
immediate=yes
context=default
channel => 1-2
--snap--
/etc/asterisk/extensions.conf
--snip--
exten => 1212,1,Dial(IAX2/test1,,rm)
exten => 1212,2,Congestion
exten => 1212,3,Hangup
exten => 1213,1,Dial(IAX2/test2,,rm)
exten => 1213,2,Congestion
exten => 1213,3,Hangup
exten => _9.,1,Dial(Zap/g1/${EXTEN:1},,Tt)
exten => _9.,2,Congestion
exten => _9.,3,Hangup
--snap--
Software:
asterisk-1.0.7
bristuff-0.2.0-RC7k
libpri-1.0.7
zaptel-1.0.7
kernel 2.6.3
Distri: Mandrake 10.0
output von ztcfg -vv
--snip--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.
--snap--
output dmsg
--snip--
zaptel: no version for "struct_module" found: kernel tainted.
Zapata Telephony Interface Registered on major 196
PCI: Found IRQ 9 for device 0000:03:05.0
zaphfc: CCD/Billion/Asuscom 2BD0 configured at mem 0xe05fe000 fifo 0xd1778000(0x11778000) IRQ 9 HZ 1000
zaphfc: Card 0 configured for TE mode
spurious 8259A interrupt: IRQ7.
zaphfc: 1 hfc-pci card(s) in this box.
Registered tone zone 3 (Netherlands)
Registered tone zone 3 (Netherlands)
Registered tone zone 3 (Netherlands)
--snap--
output asterisk -vvvc
--snip--
-- Accepted AUTHENTICATED TBD call from 192.168.0.36
-- Accepting DIAL from 192.168.0.36, formats = 0x4
-- Executing Dial("IAX2/test1@test1/3", "Zap/g1/40099138||Tt") in new stack
Apr 5 12:10:44 DEBUG[6868]: app_dial.c:504 dial_exec: SIMPLE DIAL (NO URL)
-- Called g1/40099138
-- Channel 0/1, span 1 got hangup
Apr 5 12:10:48 DEBUG[6868]: chan_zap.c:2665 zt_setoption: Set option AUDIO MODE, value: ON(1) on Zap/1-1
Apr 5 12:10:48 DEBUG[6868]: chan_zap.c:2164 zt_hangup: Hangup: channel: 1 index = 0, normal = 22, callwait = -1, thirdcall = -1
Apr 5 12:10:48 DEBUG[6868]: chan_zap.c:2292 zt_hangup: Already hungup... Calling hangup once, and clearing call
Apr 5 12:10:48 DEBUG[6868]: chan_zap.c:1413 zt_disable_ec: disabled echo cancellation on channel 1
Apr 5 12:10:48 DEBUG[6868]: chan_zap.c:2577 zt_setoption: Set option TDD MODE, value: OFF(0) on Zap/1-1
Apr 5 12:10:48 DEBUG[6868]: chan_zap.c:1352 update_conf: Updated conferencing on 1, with 0 conference users
Apr 5 12:10:48 DEBUG[6868]: chan_zap.c:2659 zt_setoption: Set option AUDIO MODE, value: OFF(0) on Zap/1-1
Apr 5 12:10:48 DEBUG[6868]: chan_zap.c:1413 zt_disable_ec: disabled echo cancellation on channel 1
-- Hungup 'Zap/1-1'
== No one is available to answer at this time
Apr 5 12:10:48 DEBUG[6868]: app_dial.c:1052 dial_exec: Exiting with DIALSTATUS=NOANSWER.
-- Executing Congestion("IAX2/test1@test1/3", "") in new stack
Apr 5 12:10:48 DEBUG[6868]: chan_iax2.c:5543 socket_read: Immediately destroying 3, having received hangup
== Spawn extension (default, 940099138, 2) exited non-zero on 'IAX2/test1@test1/3'
Apr 5 12:10:48 DEBUG[6868]: chan_iax2.c:2415 iax2_hangup: We're hanging up IAX2/test1@test1/3 with cause 18 now...
Apr 5 12:10:48 DEBUG[6868]: chan_iax2.c:2424 iax2_hangup: Really destroying IAX2/test1@test1/3 now...
-- Hungup 'IAX2/test1@test1/3'
--snap--
Dazu ist noch zu sagen, dass am zweiten ntba eine octupus 800/300 von der Telekom haengt.
Habt Ihr eine Idee warum kein externer Ruf moeglich ist?
Danke.