[Asterisk-Users] Failover Trunking Won't Fail Over

Greg Blakely greg at vyger.net
Mon Jun 21 21:02:37 MST 2004


Hello, all.

In section 4.3.10 of the Asterisk Handbook, there is an example of an
LCR/Failover Trunking scenario.  I've tried it, and it works, as long as
I fail over from something else to ZAP, but I can't get it to "hunt" to
the other context if the zapata channel (or group) is used first.

Can anyone help?  Here is my extensions.conf, and the error message I
get.

[trunklocal]
;
; Local area dialing accessed through trunk interface
;
exten => _NXXXXXX,1,Dial(ZAP/26/952${EXTEN})
exten => _NXXXXXX,2,Congestion
;
exten => _612NXXXXXX,1,Dial(ZAP/26/${EXTEN})
exten => _612NXXXXXX,2,Congestion
;
exten => _651NXXXXXX,1,Dial(ZAP/26/${EXTEN})
exten => _651NXXXXXX,2,Congestion
;
exten => _763NXXXXXX,1,Dial(ZAP/26/${EXTEN})
exten => _763NXXXXXX,2,Congestion
;
exten => _952NXXXXXX,1,Dial(ZAP/26/${EXTEN})
exten => _952NXXXXXX,2,Congestion

[iconnectlocal]
;
; Local calls routed through iConnectHere
;
exten => _NXXXXXX,1,Macro(dialiconnect,1952${EXTEN},70)
exten => _NXXXXXX,2,Macro(fastbusy)
;
exten => _612NXXXXXX,1,Macro(dialiconnect,1${EXTEN},70)
exten => _612NXXXXXX,2,Macro(fastbusy)
;
exten => _651NXXXXXX,1,Macro(dialiconnect,1${EXTEN},70)
exten => _651NXXXXXX,2,Macro(fastbusy)
;
exten => _763NXXXXXX,1,Macro(dialiconnect,1${EXTEN},70)
exten => _763NXXXXXX,2,Macro(fastbusy)
;
exten => _952NXXXXXX,1,Macro(dialiconnect,1${EXTEN},70)
exten => _952NXXXXXX,2,Macro(fastbusy)
;

[local]
;
; Master context for local, toll-free, and iaxtel calls only
;
include => parkedcalls
include => trunklocal
include => iconnectlocal

[extensions]
;
include => local

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

[root at lizzie asterisk]# asterisk -vvvvvvr 
  == Parsing '/etc/asterisk/asterisk.conf': Found
Asterisk CVS-HEAD-05/28/04-09:54:40, Copyright (C) 1999-2004 Digium.
Written by Mark Spencer <markster at digium.com>
========================================================================
=
Connected to Asterisk CVS-HEAD-05/28/04-09:54:40 currently running on
lizzie (pid = 31313)
    -- Starting simple switch on 'Zap/3-1'
    -- Executing Dial("Zap/3-1", "ZAP/26/7635121111") in new stack
    -- Called 26/7635121111
    -- Zap/26-1 answered Zap/3-1
    -- Attempting native bridge of Zap/3-1 and Zap/26-1

=-=-=-=-=-=-=--=-=-=--=-=-=-=-=-=-=-=-=-=-=-=-=-

    -- Starting simple switch on 'Zap/2-1'
    -- Executing Dial("Zap/2-1", "ZAP/26/7635121111") in new stack
Jun 21 23:00:23 NOTICE[1242952640]: app_dial.c:674 dial_exec: Unable to
create channel of type 'ZAP'
  == Everyone is busy at this time
    -- Executing Congestion("Zap/2-1", "") in new stack
lizzie*CLI> 





More information about the asterisk-users mailing list