How to add custom action on hangup ?
I have read This post
and I did exactly like there:
I have added custom context with same name in extensions_custom.conf and when I call my curl request is not working
Do I need to do something else ?
[macro-dialout-one-predial-hook]
exten => _.,1,Noop(Entering user defined context macro-dialout-one-predial-hook in extensions_custom.conf)
Thats the stuff I get if I just copy paste it, I mostly get it on every macros I try to use
1067250 [2023-06-22 13:58:14] WARNING[3617660] pbx.c: Unable to register extension ‘s’ priority 1 in ‘macro-dialout-one-predial-hook’, already in use
If I add some already existing macros to overide file they just don’t executere
More detail on my problem, maybe I’m not explaining good enough
I want to send by curl name of the record what is saved on asterisk side, and it is working
If I add something like this to extensions_additional.conf in context [sub-record-check] this will work :
But it will be reseted if someone will update something in freepbx panel, so… I’m looking for a way to make it work in extensions_custom.conf, or maybe in extensions_override_freepbx.conf
This one have worked for me, but can I ask one more question ?
How to get the filename what is saved in sub-record-check ?
CDR is not working and it is not realy my asterisk server, can you give me an advice please ?