Ajout des script pour asterisk
This commit is contained in:
parent
e9bae60ef9
commit
124d4a83e1
12 changed files with 286 additions and 0 deletions
5
sip/history_add.sh
Executable file
5
sip/history_add.sh
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash
|
||||
printf -v id "%q" "$1"
|
||||
printf -v src "%q" "$2"
|
||||
printf -v dst "%q" "$3"
|
||||
psql -h pgsql.adm.crans.org -U crans django -c "INSERT INTO voip_history (uniq_id,src,dst) VALUES ('$id','$src','$dst')" >> /tmp/history
|
Loading…
Add table
Add a link
Reference in a new issue