› VitalPBX Community Support › General Discussion › Dialing an extension execute a script
- This topic has 6 replies, 3 voices, and was last updated 11 months ago by
PitzKey.
- Post
-
- February 14, 2020 at 8:04 pm
Hi,
I just moved from another asterisk distro to VitalPBX, everything works as expected, but I didn’t find the way to execute a script when i’m dialing an extension.
I’ve made a script to unlock the front door, when i was dialing a number (147 in my case).
How can I made this working with VitalkPBX?
0
- Replies
-
- February 15, 2020 at 1:14 am
- February 15, 2020 at 10:21 am
I took a look on “Settings”>”Technology settings”>”Dial profiles” hoping creating a custom dial profile, but I can’t find the way to specify a script. I saw I can set a specific “Dial profile” for an extension on “PBX”>”Extensions”>”Extensions”>”Advanced”>”Dial profile”
Can you explain a little bit more?
On another way, I took a look on “PBX”>”Applications”>”Feature code”, but there is no way to add a custom one.
0- February 17, 2020 at 1:05 am
We did this with the custom context module, then created an “extension” in the Custom Applications module, see images: https://imgur.com/a/4xMJaQP
0- February 17, 2020 at 3:07 pm
- February 22, 2020 at 5:04 pm
- February 24, 2020 at 5:23 pm
You will need to write your own context, see above link how to.
Then you’ll need to use the System(/path/to/your/script)
It does necessarily need to be in the folder you mentioned.
0
Tagged: script dial extension
- You must be logged in to reply to this topic.