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 -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users