[asterisk-users] Strange problem with zap channel.

Tim Uckun timuckun at gmail.com
Sat Jun 5 20:33:29 CDT 2010


I am trying to help a guy out with his Atcom IP04.  He has set it up like this.

He has a handful of IP phones all connecting via SIP. He has two phone
lines connected to the FXO ports one from telecom, another from
vodaphone.  He has set up the dialplan so that one of the trunks fails
over to the other trunk.  Everything seems to be working OK except for
outgoing calls.  He can call from extension to extension without
problems. If I call in on either of the trunk lines we can have a
normal conversation.

If he calls out to me he can hear me but I can't hear him.  The status
on GUI shows the phone as still ringing even though I picked up and he
can hear me.

Here is a log of one of the calls.   If anybody can offer a clue as to
what the problem might be I'd be grateful.  I looked at the port
definitions and they are set up for NZ signaling (kewl loop).

[Jun  6 13:24:29] DEBUG[4667]: app_macro.c:337 _macro_exec: Executed
application: Dial
    -- Executing [1-dial at macro-trunkdial-failover-0.3:2]
GotoIf("SIP/6006-015d0004", "16 > 0 ?1-BUSY|1:1-out|1") in new stack
    -- Goto (macro-trunkdial-failover-0.3,1-BUSY,1)
[Jun  6 13:24:29] DEBUG[4667]: app_macro.c:337 _macro_exec: Executed
application: Gotoif
  == Auto fallthrough, channel 'SIP/6006-015d0004' status is 'BUSY'
    -- Executing [9075763441 at DLPN_DialPlan1:1]
Macro("SIP/6006-015d0004",
"trunkdial-failover-0.3|Zap/g1/075763441|Zap/g2/075763441|trunk_1|trunk_2")
in new stack
    -- Executing [s at macro-trunkdial-failover-0.3:1]
Set("SIP/6006-015d0004", "CALLERID(num)=6498287700") in new stack
[Jun  6 13:31:41] DEBUG[4825]: app_macro.c:337 _macro_exec: Executed
application: Set
    -- Executing [s at macro-trunkdial-failover-0.3:2]
GotoIf("SIP/6006-015d0004", "1?1-dial|1") in new stack
    -- Goto (macro-trunkdial-failover-0.3,1-dial,1)
[Jun  6 13:31:41] DEBUG[4825]: app_macro.c:337 _macro_exec: Executed
application: GotoIf
    -- Executing [1-dial at macro-trunkdial-failover-0.3:1]
Dial("SIP/6006-015d0004", "Zap/g1/075763441") in new stack
[Jun  6 13:31:41] DEBUG[4825]: dsp.c:1787 ast_dsp_set_busy_pattern:
dsp busy pattern set to 0,0
[Jun  6 13:31:41] DEBUG[4825]: chan_zap.c:1952 zt_call: Dialing '075763441'
[Jun  6 13:31:41] DEBUG[4825]: chan_zap.c:2028 zt_call: Deferring dialing...
    -- Called g1/075763441
[Jun  6 13:31:42] DEBUG[4825]: chan_zap.c:4444 zt_handle_event: Sent
deferred digit string: T075763441w
[Jun  6 13:31:44] DEBUG[4825]: chan_zap.c:3788 zt_handle_event: Done
dialing, but waiting for progress detection before doing more...


At this point I have picked up the phone and am speaking, he can hear
me but I can't hear him.

After I hang up I get this.


[Jun  6 13:32:02] DEBUG[4825]: dsp.c:1445 ast_dsp_busydetect:
ast_dsp_busydetect detected busy, avgtone: 255, avgsilence 240
    -- Zap/1-1 is busy
    -- Hungup 'Zap/1-1'
  == Everyone is busy/congested at this time (1:1/0/0)
[Jun  6 13:32:02] DEBUG[4825]: app_macro.c:337 _macro_exec: Executed
application: Dial
    -- Executing [1-dial at macro-trunkdial-failover-0.3:2]
GotoIf("SIP/6006-015d0004", "16 > 0 ?1-BUSY|1:1-out|1") in new stack
    -- Goto (macro-trunkdial-failover-0.3,1-BUSY,1)
[Jun  6 13:32:02] DEBUG[4825]: app_macro.c:337 _macro_exec: Executed
application: Gotoif
  == Auto fallthrough, channel 'SIP/6006-015d0004' status is 'BUSY'



More information about the asterisk-users mailing list