[asterisk-users] how to avoid call waiting? Or check DIALSTATUS before Dial()?
Tzafrir Cohen
tzafrir.cohen at xorcom.com
Thu May 14 20:09:30 CDT 2009
On Thu, May 14, 2009 at 06:37:53PM -0400, sean darcy wrote:
> I have two internal analogue extensions off a TDM400P. If the first is
> busy, I'd like to ring the second. So:
>
> [incoming]
> exten =>s,1,Answer()
> exten =>s,n,Dial(${mainline},60)
exten =>s,n,Dial(DAHDI/g5,60)
For both channels set: group = 5
> exten =>s,n,ExecIf($["${DIALSTATUS}" = "BUSY"]?Dial(${secondline},30))
>
> But it doesn't work because * first tries Call Waiting on the main line.
Disabling that can also help.
--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen at xorcom.com
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
More information about the asterisk-users
mailing list