Hi, A newbie here trying to modify the callerID name on the dial plan. I’ve realized that on extensions_additional.conf i can’t write anything because it gets over written. So i want to know how i can change the callerid on the extension_custom.conf
This is the dialplan i have on the extension_additional.conf
i would like to change the caller id to this, and ONLY to this number.
exten => 3055000002,n,Set(CALLERID(name)=${CALLERID(num)}-${RGPREFIX}-${CALLERID(name)})
What would i need to add on extension_custom.conf?
[ext-did-0002]
include => ext-did-0002-custom
exten => fax,1,Goto(ext-fax,in_fax,1)
exten => 3055000002,1,Set(__FROM_DID=${EXTEN})
exten => 3055000002,n,Gosub(app-blacklist-check,s,1)
exten => 3055000002,n,ExecIf($[ “${CALLERID(name)}” = “” ] ,Set,CALLERID(name)=${CALLERID(num)})
exten => 3055000002,n,Set(_CALLINGPRES_SV=${CALLINGPRES${CALLINGPRES}})
exten => 3055000002,n,SetCallerPres(allowed_not_screened)
exten => 3055000002,n,Set(_RGPREFIX=THISGW)
exten => 3055000002,n,Set(CALLERID(name)=${RGPREFIX}${CALLERID(name)})
exten => 3055000002,n,Goto(ivr-5,s,1)
exten => 3055000004,1,Set(__FROM_DID=${EXTEN})
exten => 3055000004,n,Gosub(app-blacklist-check,s,1)
exten => 3055000004,n,ExecIf($[ “${CALLERID(name)}” = “” ] ,Set,CALLERID(name)=${CALLERID(num)})
exten => 3055000004,n,Set(_CALLINGPRES_SV=${CALLINGPRES${CALLINGPRES}})
exten => 3055000004,n,SetCallerPres(allowed_not_screened)
exten => 3055000004,n,Goto(from-did-direct,2015,1)
exten => 7865000000,1,Set(__FROM_DID=${EXTEN})
exten => 7865000000,n,Gosub(app-blacklist-check,s,1)
exten => 7865000000,n,ExecIf($[ “${CALLERID(name)}” = “” ] ,Set,CALLERID(name)=${CALLERID(num)})
exten => 7865000000,n,Set(_CALLINGPRES_SV=${CALLINGPRES${CALLINGPRES}})
exten => 7865000000,n,SetCallerPres(allowed_not_screened)
exten => 7865000000,n,Goto(ivr-4,s,1)
exten => 9545000006,1,Set(__FROM_DID=${EXTEN})
exten => 9545000006,n,Gosub(app-blacklist-check,s,1)
exten => 9545000006,n,ExecIf($[ “${CALLERID(name)}” = “” ] ,Set,CALLERID(name)=${CALLERID(num)})
exten => 9545000006,n,Set(_CALLINGPRES_SV=${CALLINGPRES${CALLINGPRES}})
exten => 9545000006,n,SetCallerPres(allowed_not_screened)
exten => 9545000006,n,Goto(from-did-direct,2005,1)