What is the new syntax in * v2.16 for:
exten => 99,1,[color=red]SETCIDNUM(${CALLERIDNUM:1})[/color]
I only understand from there that:
SetCIDNum has been deprecated (that’s the reason for this question) in favor of the function
CALLERID(number)
but I’m still puzzling for the new syntax of: SetCIDNum(${CALLERIDNUM:1})
why don’t you just change to SET(CALLERID(num) = 012345678) ?
Because the value (as in: exten => 99,1,SETCIDNUM(${CALLERIDNUM:1}) )
assigned to SetCIDNUM should be a variable and not a constant.
The new function CALLERID() can accept any variable, e.g.,
[quote=“valley”]The new function CALLERID() can accept any variable, e.g.,
See voip-info.org/wiki/index.php … c+callerid[/quote]
THANKS
[quote=“valley”]The new function CALLERID() can accept any variable, e.g.,
See voip-info.org/wiki/index.php … c+callerid[/quote]
When I use:
Here’s my output:
– Executing [9xx@sip:2] Set(“SIP/1xx-08aa8090”, “CALLERID(num)=”) in new stack
What’s the syntax if I want to slap my # into the CALLERID(num) field?
This is an outbound dialplan, so using EXTEN apparently doesn’t work.
Thanks,
Scott