[Asterisk-Users] pattern matching based on callerid, not working

tim panton tpanton at attglobal.net
Sat Jul 2 01:23:46 MST 2005


On 2 Jul 2005, at 08:48, Dinesh Nair wrote:

>
>
> On 07/02/05 02:15 Matthew Boehm said the following:
>
>> according to the wiki, I should be able to do this:
>> exten => _9./3003,1,Set(CALLERID(number)=2814444443)
>> exten => _9./3004,n,Set(CALLERID(number)=2814444444)
>> exten => _9./3005,n,Set(CALLERID(number)=2814444445)
>> exten => _9./3006,n,Set(CALLERID(number)=2814444446)
>>
>
> i believe these four should be on the same priority. asterisk  
> dialplans will bork if the next priority doesnt match.
>

Or better yet, fold them into a single line - like:

exten => _9./300[3456],1,Set(CallerID(number)=281444444${CALLERIDNUM}:1)

Tim.



More information about the asterisk-users mailing list