[asterisk-users] how to match "no callerid" in 1.6 ?

Philipp Kempgen philipp.kempgen at amooma.de
Fri Jul 24 04:14:47 CDT 2009


Louis-David Mitterrand schrieb:
> On Fri, Jul 24, 2009 at 10:37:38AM +0200, Michiel van Baak wrote:
>> On 10:17, Fri 24 Jul 09, Louis-David Mitterrand wrote:
>> > 
>> > This used to work fine in 1.4:
>> > 
>> > 	exten => 2131/,1,NoOp(reject3: ${CALLERID(num)})
>> > 	exten => 2131/,n,Playback(no_unknow_callerid_here)
>> > 	exten => 2131/,n,Hangup
>> > 
>> > And now, after upgrading to 1.6.1.x it matches every callerid.

> Why remove the elegant and minimal <exten>/<emtpy>
> notation

Not that need the <exten>/<callerid> syntax for anything but I'd say
this is a bug and a regression.
The syntax is exten[/callerid] so the "/" clearly says that there
is a second "argument" even if that happens to be an empty string.


    Philipp Kempgen
-- 
AMOOMA GmbH - Bachstr. 126 - 56566 Neuwied  ->  http://www.amooma.de
Geschäftsführer: Stefan Wintermeyer, Handelsregister: Neuwied B14998
Asterisk: http://the-asterisk-book.com - http://das-asterisk-buch.de
Videos of the AMOOCON VoIP conference 2009 ->  http://www.amoocon.de
-- 



More information about the asterisk-users mailing list