Digital receptionist's "Launch Script" option Path

Status
Not open for further replies.

maisx

Free User
Joined
Jan 9, 2019
Messages
5
Reaction score
0
The minimum permissions you have to give on Linux is at least read and execute for user phonesystem.

chown phonesystem test.sh
chmod 500 test.sh

So it will be like that
-r-x------ 1 phonesystem root test.sh
 
Ok, thanks for the reply
the position of the script can go well on path /var/lib/3cxpbx/rtest1.sh ?

TKS Maisx
 
Please ask someone can give me an example of sh scrip for linux

thanks a lot MAISX
 
Ok, thanks for the reply
the position of the script can go well on path /var/lib/3cxpbx/rtest1.sh ?

TKS Maisx

Hi @maisx

Yes it can be in that path you mentioned, the system works based on a full path to go find and launch the script.

As for script examples, these are typical bash scripts that can return exit codes, and based on the exit code you can select what action you want the PBX to perform. You can read up on bash scripts on Google. The system does not know what the script does, it just reads the exit code.
 
  • Like
Reactions: Evolute IT
Status
Not open for further replies.

Latest Posts

Forum statistics

Threads
111,925
Messages
589,757
Members
164,798
Latest member
Call_Flow.co.uk