Quantcast
Channel: FreePBX Community Forums - Latest posts
Viewing all articles
Browse latest Browse all 227364

Running shell script from within the DialPlan

$
0
0

Hi,

You need to set the PATH environment in your script, like that:

#Set the PATH environment
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin/

Add it beneath the first line of your script (#!/bin/bash)

Thank you,

Daniel Friedman
Trixton LTD.


Viewing all articles
Browse latest Browse all 227364

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>