[Asterisk-Users] CHANUNAVAIL = CHANUNAVAIL doesn't eval properly

Tobias Jönsson asterisk at tobiasjonsson.se
Mon Oct 18 08:57:01 MST 2004


On Fri, 15 Oct 2004, Matthew Boehm wrote:

> What 'should' happen is that if someone dials any extension starting 
> with 3, Dial attempts to dial it. If there is no such channel, set 
> DIALSTATUS and goto priority n + 101.  Then check result of DIALSTATUS. 
> If DIALSTATUS is equal to CHANUNAVAIL then goto extension 'i' else goto 
> priority 103.

Why don't you just use the bristuff package? There is a Dial application 
which goes to n+201 if channel is unavailable.

-- 
Regards,
Tobias Jönsson, Lund SE


More information about the asterisk-users mailing list