[asterisk-users] If caller id is null set to a specific number
Eric "ManxPower" Wieling
eric at fnords.org
Fri Nov 9 08:25:37 CST 2007
Doug Lytle wrote:
> Eric "ManxPower" Wieling wrote:
>> Doug Lytle wrote:
>>
>> ANI is not Caller*ID. A caller can block their Caller*ID, but not their
>> ANI.
>>
>>
> This I didn't know, Thanks!
>
>
>> exten => s,1,ExecIf($["${CALLERID(num)}" = ""],Set,CALLERID(num)=4055551212)
>>
>>
> I wasn't aware of the ExecIf command, again thanks!
I didn't either until recently, and I'm supposed to know that sort of
stuff. I've found that ExecIf is very useful if you just want to do one
thing if the condition is true.
More information about the asterisk-users
mailing list