Displaying 1 result from an estimated 1 matches for "changecidnum".
2006 Jun 04
1
Inconsistency with ANI and channel callerid
...g outgoing calls, but set the reception
desk as the outbound CallerID on the PSTN. What's happening now is
that this is working for Zap/ devices, but not for SIP/ devices because
of the problem noted above.
A workaround I could use would be to make a Macro that is something
like this:
[macro-ChangeCIDnum]
exten => s,1,GotoIf(${ISNULL(${CALLERID(ANI)})}?:aniset)
; If ANI isn't set, then set it to the current CALLERID(num) before
; we change the CALLERID(num)
exten => s,n,Set(CALLERID(ANI)=${CALLERID(num)})
; Now change the CALLERID(num)
exten => s,n(aniset),Set(CALLERID(num)=${ARG1})
ex...