Last active
July 19, 2022 13:05
-
-
Save AndiDittrich/f5e271ba1bca72ef7c6c1e0953f07efc to your computer and use it in GitHub Desktop.
Revisions
-
Andi Dittrich revised this gist
Jul 19, 2022 . No changes.There are no files selected for viewing
-
Andi Dittrich created this gist
Jul 19, 2022 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,10 @@ -- Note: only supported in GXP21xx and GRP26xx series -- Grandstream Phone Params - phone requires a statically assigned address or internal DNS name! set PhoneAddr to "172.16.XXX.XXX" set PhonePasswd to "mySecretPassphrase" -- Tomedo replaces the xxx with the callee number set CallTarget to "xxx" -- execute webhook via curl http get do shell script "curl -X GET \"http://" & PhoneAddr & "/cgi-bin/api-make_call?passcode=" & PhonePasswd & "&hs=1&phonenumber=" & CallTarget & "\""