Created
December 26, 2020 22:13
-
-
Save ambiorixg12/314dfc5f896cdb6623ccc6f524158fee to your computer and use it in GitHub Desktop.
FreePBX Call foward API
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| // show the fowarding value | |
| //echo shell_exec("asterisk -x \" database show CF/$_GET[exten] \" "); | |
| //update the fowarding value | |
| //echo shell_exec("asterisk -x \" database put CF $_GET[exten] 13052311212 \" "); | |
| //command for deleting | |
| echo shell_exec("asterisk -x \" database del CF $_GET[exten] \" "); | |
| ?> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment