Displaying 1 result from an estimated 1 matches for "aniset".
Did you mean:
andset
2006 Jun 04
1
Inconsistency with ANI and channel callerid
...rID 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})
exten => s,n,MacroExit
and use this every time I would nor...