mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2026-03-02 15:34:05 +01:00
voice-client: use correct key value for lines
This commit is contained in:
parent
22b307a967
commit
6979da23ea
1 changed files with 2 additions and 2 deletions
|
|
@ -49,8 +49,8 @@ case "$1" in
|
|||
done
|
||||
json_select ..
|
||||
|
||||
json_add_object "$(getLineName)"
|
||||
for line in $(uci show voice_client | grep $(getLineName)_line | awk -F[.,=] '{print$2}'); do
|
||||
json_add_object "tel"
|
||||
for line in $(uci show voice_client | grep tel_line | awk -F[.,=] '{print$2}'); do
|
||||
json_add_object "$line"
|
||||
linestate="ONHOOK"
|
||||
linenum=${line:4}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue