[asterisk-users] Ex-Girlfriend Logic in 1.4.4

Mojo with Horan & Company, LLC mojo at horanappraisals.com
Wed Jun 20 17:37:47 CDT 2007


For real? I thought _ was to tell asterisk it was time for some pattern 
matching:

; exact extension, exact cid
exten => 5000/19256002182,1,Answer

; any extension beginning with 5, from specific cid only
exten => _5./19256002182,1,Answer

; match exactly extension 5000, but anyone calling from
; (925) 600-XXXX  matches
exten => 5000/_1925600.,1,Answer

; match anyone calling any extension beginning with 5 FROM any cid
; in the (925) 600-XXXX block
exten => _5./_1925600.,1,Answer

are the ways I've always used the underscore.

Doug, sorry I didn't have anything to help with your problem.  I just 
wanted to get some clarification of this poster's statement, to either 
help myself or 10,000 other readers, I'm not sure who, yet...

Mojo

Nasir Iqbal wrote:
> Hi,
> 
> 
>> exten => 5000/19256002182,1,Answer
>>
>> exten => 5000/19256002182,n,Wait(1)
>>
>> exten => 5000/19256002182,n,NoOp(${CALLERID(num)})
>>
>> exten => 5000/19256002182,n,Playback(tt-monkeys)
>>
>>  
>>
>> nothing appears on the console and I get no match. You can see the ca
> 
> 
> Try with underscore before extension like.
> 
> exten => _5000/19256002182,1,Answer
> 
> 
> Nasir Iqbal
> 
> ICT Innovations
> 
> 
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users



More information about the asterisk-users mailing list