Commit 45ddb5e9bc4217f5d42eb78da7ae9cf0a097fd15
1 parent
611bb3c3
add openvox gsm send sms (working will all openvox gw appliance GW1202, GW1600, etc.)
Showing
1 changed file
with
14 additions
and
0 deletions
Show diff stats
asterisk/ami_commands.anubis
| ... | ... | @@ -55,3 +55,17 @@ public define AMI_Action |
| 55 | 55 | ] |
| 56 | 56 | ) |
| 57 | 57 | . |
| 58 | + | |
| 59 | +public define AMI_Action | |
| 60 | + ami_openvox_gsm_send_sync_sms | |
| 61 | + ( | |
| 62 | + String span, | |
| 63 | + String destination, | |
| 64 | + String message, | |
| 65 | + String timeout | |
| 66 | + )= | |
| 67 | + action("Command", [ | |
| 68 | + key_value("command", "gsm send sync sms "+span+" "+destination+" \""+message+"\" "+timeout) | |
| 69 | + ] | |
| 70 | + ) | |
| 71 | +. | ... | ... |