[asterisk-users] AEL in 1.6 and Gosub
Klaus Darilion
klaus.mailinglists at pernau.at
Wed Mar 17 05:48:34 CDT 2010
Am 17.03.2010 00:40, schrieb Steve Murphy:
>
>
> How about:
>
> ....
> &blacklist(${exten});
> ....
>
> macro blacklist(the_exten)
> {
> switch(the_exten)
> {
> pattern +4390[01]: Hangup();
> default: return;
> }
> }
Yes, that would work. I didn't knew the "pattern" statement.
> Basically, you are using the pattern matching capability to
> end the call for certain extensions... so the above should
> come close. If you really, really want to keep your gosub call,
> then you can, you'll just have to ignore the warnings, iirc.
I think I will just ignore it :-)
thanks
klaus
More information about the asterisk-users
mailing list