Hi, List My problem is when I use linphonecsh in Bash script - I get "ERROR: Failed to connect pipe: Connection refused" the script is: #!/bin/bash if [ ! "$(pidof linphonec)" ]; then
linphonecsh init linphonecsh register --host somehost.ru --username 123456 --password 123456 linphonecsh status register else linphonecsh 'exit' fi exit 0 Here is the output: ++ pidof linphonec + '[' '!' '' ']' + linphonecsh init + linphonecsh register --host somehost.ru --username 123456 --password 123456 ERROR: Failed to connect pipe: Connection refused + linphonecsh status register ERROR: Failed to connect pipe: Connection refused + exit 0 I do it as ROOT -rwxr-xr-x 1 root root 9,1K Фев 29 16:56 /usr/bin/linphonecsh But when I issue the linphonecsh commands in a shell - there are no problems (i.e I can register and make calls). Can anyone give me a hint how to solve this problem?
_______________________________________________ Linphone-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/linphone-users
