FreePBX 15, unable to override…


(El Torio) #1

Hi everyone,
After a long time with old freePBX it decided to build a new server with freePBX 15.

I use it as a sort of ISDN<->VoIP gateway. There is no SIP extensions only 2 B410p card in NT mode.
On this two cards I have some legacy PBX.

I need a small CallerID modification on incoming calls.

exten => s,1,NoOp(++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)
exten => s,n,NoOp(###Call from OVH ${CALLERID(num)})
exten => s,n,Set(CALLERID(all)=${CALLERID(num):1})
exten => s,n,NoOp(###NOW Call from OVH ${CALLERID(num)})
exten => s,n,NoOp(++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)

I want this in [macro-dial-ringall-predial-hook]
But when I put it in extensions_override_freepbx.conf like I did before it doesn’t work.
In fact, the context is not overrrided even after reload, reboot, it remains the default macro…:

Connected to Asterisk 16.13.0 currently running on hermine (pid = 10294)
hermine*CLI> dialplan show macro-dial-ringall-predial-hook
[ Context ‘macro-dial-ringall-predial-hook’ created by ‘pbx_config’ ]
_ ‘s’ => 1. MacroExit() [extensions.conf:346]_

-= 1 extension (1 priority) in 1 context. =-

Is this a bug?


(Lorne Gaetz) #2

Follow the steps in this thread: Hooking for fun and income


(El Torio) #3

Thanks a lot !