[Asterisk-Users] chan_local and variables

Philipp von Klitzing klitzing at pool.informatik.rwth-aachen.de
Sat Feb 14 07:19:14 MST 2004


Hi!

> We need to implement the following:
> 	Call comes in, ring ZAP/1 (6 rings)
> 	For the last two rings, also ring ZAP/2
> 
> [incoming]
> exten => s,1,DIAL(Local/123 at test1 & Local/124 at test1,18)
> 
> [test1]
> exten => 123,1,Dial(ZAP/1)
> exten => 124,1,Wait(12)
> exten => 124,2,Dial(ZAP/2)

Why not simply use this instead:

[incoming]
exten => s,1,DIAL(ZAP/1,12)
exten => s,2,DIAL(ZAP/1&ZAP/2,6)

Philipp





More information about the asterisk-users mailing list