Hi Everyone,<div><br></div><div>I have a php file that if an argument is passed to it, it will echo a number back. I am looking to use system() in dial-plan to send ${EXTEN} to it and then to get that processed value back from the php file and put it in $var back into asterisk dial-plan. While trying this method doesn&#39;t work:</div>

<div><br></div><div><div>exten =&gt; _x.,1,SetVar(var = system(php /file.php ${EXTEN})</div></div><div>exten =&gt; _x.,n,NoOp(${var})</div><div><br></div><div>What is right syntax for line 1?</div><div><br></div><div>Thanks,</div>

<div>Bruce</div><div><br></div>