Ajout des script pour asterisk
This commit is contained in:
parent
e9bae60ef9
commit
124d4a83e1
12 changed files with 286 additions and 0 deletions
6
sip/update_pin.sh
Executable file
6
sip/update_pin.sh
Executable file
|
@ -0,0 +1,6 @@
|
|||
#!/bin/bash
|
||||
pass=$3
|
||||
pass=$((pass))
|
||||
num=$2
|
||||
num=$((num))
|
||||
psql -h pgsql.adm.crans.org -U crans django -c "UPDATE voip_profile SET voicemail_password='$pass' WHERE num='$num'" >> /tmp/pin
|
Loading…
Add table
Add a link
Reference in a new issue