[Asterisk-Users] Dial out on Zap

Pimjai Wesnarat pw at nummerndirekt.de
Thu Apr 6 02:49:54 MST 2006


Hi,


I'm trying to test my dial out function so I did something like this in 
extensions.conf


exten => 999,1,Dial(Zap/g1/02601591)
exten => 999,102,Congestion()


My Zapata.conf looks something like this

[channels]
context=from-pstn
group=0
switchtype=euroisdn
overlapdial=yes
faxdetect=no

; PRI port 1 (E1)
; context=1
group=1
signalling=pri_cpe
channel=>1-15,17-31


I am able to receive the fax just fine with this setting. So I think 
it's ok.
I'm using a Digium card connecting to a PSTN. There're 4 ports on the 
card, 31 channels each, but we currently use one.
When I call extension 999, it was supposed to forward my call to 
02601591, right?
But it didn't. It just gets silence and it hangs up the call.
On my CLI it looks something like this:


    -- Executing Dial("Zap/1-1", "Zap/g1/02601591") in new stack
    -- Requested transfer capability: 0x00 - SPEECH
    -- Called g1/02601591
    -- Moving call from channel 1 to channel 2
Apr  6 11:08:08 WARNING[5854]: chan_zap.c:7745 pri_fixup_principle: 
Can't fix up channel from 1 to 2 because 2 is already in use
Apr  6 11:08:08 WARNING[5854]: chan_zap.c:9046 pri_dchannel: Unable to 
move channel 2!
    -- Zap/2-1 is proceeding passing it to Zap/1-1
Apr  6 11:08:22 NOTICE[5849]: chan_iax2.c:5691 update_registry: 
Restricting registration for peer 'hylafax-iaxmodem' to 60 seconds 
(requested 300)
    -- Channel 0/2, span 1 got hangup request   <----- I didn't hang up 
the call. It did by itself.
    -- Hungup 'Zap/2-1'
  == Everyone is busy/congested at this time (1:0/0/1)
    -- Executing Congestion("Zap/1-1", "") in new stack
    -- Channel 0/1, span 1 got hangup request
  == Spawn extension (voice, 999, 102) exited non-zero on 'Zap/1-1'
    -- Executing SetVar("Zap/1-1", "HANGUP_TIME=1144314509") in new stack
    -- Executing NoOp("Zap/1-1", "16") in new stack
    -- Hungup 'Zap/1-1'


I'm a bit confused what I did wrong. Do I need a second line or something??

Pim




More information about the asterisk-users mailing list