Hi! I’m almost new at freebpx.
My version is FreePBX15, uses a pjsip.
I have a doorbell module with sip features, and it’s working already, but i want execute script (curl) to send message to Telegram, when doorbell extension is trying to call any other.
As i googled, i need to make a custom context and place something like:
same => n,set(output=${SHELL(curl https://)} )
???
Or this is the wrong way?
This is probably a helpful resource that you can reference to do what you’d like to do.
Despite the frequency with which it arises here in the forum, there is not yet a good resource for learning to use dialplan hooks in FreePBX. This will probably end up in the wiki at some point, but until that happens, here are the broad strokes for leveraging dialplan hooks in FreePBX 14.
What is a dialplan hook?
A dialplan hook refers to several pre-defined FreePBX contexts that exist solely for users to add their own Asterisk Macros to be run at specific locations in the call flow. They all …
thanks! find an example, will try
system
(system)
Closed
May 31, 2023, 1:57am
4
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.