[asterisk-users] RE: 1.4 Beta 2 Config Problem

Brian Capouch brianc at palaver.net
Sat Sep 23 16:42:09 MST 2006


Andres wrote:
> Andres wrote:
> 
>>
>>> exten => 8600,13,GotoIf($[${CALLERID(number)} = 2013]?50:51)
>>>
>>> exten => 8600,50,Set(CALLERID(number)=2000)
>>>
>> You are missing a parenthesis.
>> It should read:
>> exten => 8600,50,Set(CALLERID(number)=2000))
> 

I just tried with a fairly recent version of SVN head--a close precursor 
of the 1.4 beta code--and the following syntax works just fine:

exten => 99,1,Set(CALLERID(num)=2025452432)
exten => 99,n,Dial(SIP/btel)

I sent this call to a Budgetone 101 that speaks out the CallerID, and it 
read back the correct value.

HTH.

B.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the asterisk-users mailing list