<p>Hello,</p>
<p>I have scoured the mailing lists and forums to no avail. Does anyone
have tips on how to use the system command within a dialplan (<a href="http://1.2.7.1">1.2.7.1</a>). I am very
familiar with dialplan scripting but new to the system command.</p>
<p>I am attempting to create a directory. I put both of the lines below
in my dialplan but neither executes, although they do not generate
errors. The first line was added just for kicks to see if system is
working properly.</p>
<p>exten =&gt; s,n,System(/bin/pwd &gt; location.out)<br>
exten =&gt; s,n,System(/bin/mkdir -p /var/lib/asterisk/sounds/1234)</p>
<p>Any assistance would be greatly appreciated.</p>
<p>Thanks,</p>
<p>Victor</p><p><br></p><p>P.S.&nbsp; I received a suggestion to change System(/bin/pwd... to System(!/bin/pwd ... but it did not work, with or without a space.<br></p>