How to works inbound callerid number on Vitxi call history and recordings

Hi team,

let me know how to works inbound callerid number on Vitxi call history and recordings

i tried, but always unknowns.

thanks

1 Like

Hi,

our case ITSP(TELCO) does not support callerid(name) on trunk.
so, we need to chage this on base dialplan.

[sub-construct-cid]
exten => s,1,NoOp(Building CID)
same => n,Set(ORIGINAL_CID_NAME=${CALLERID(name)})
same => n,Set(ORIGINAL_CID_NUMBER=${CALLERID(num)})
same => n,Set(_CALL_SOURCE=${CALLERID(name)})

; add this line for Vitxi CDR
same => n,ExecIf($[“${ISNULL(${CALLERID(name)})}”=“1”]?Set(_CALL_SOURCE=${CALLERID(num)}))

please check it
thanks

1 Like

Try using the CID Modifier to replace the Caller Name with the “${CALLERID(num)}

3 Likes

Thanks miguel,

it works for me !

hava a good day!

1 Like