Hi Everyone,<div><br></div><div>I am trying to pass a variable using the .call files but it turns out blank. Can someone please point out what might be wrong here:</div><div><br></div><div><div><b>/tmp/spool-file.sh</b></div>
<div><b>----------------------------------------------------------------------</b></div><div>echo "Channel: Local/s@callback_leg<b>1</b>/n</div><div>CallerID: \"Call-back\" <123456></div><div>MaxRetries: 0</div>
<div>RetryTime: 10</div><div>WaitTime: 45</div><div>Context: callback_leg<b>2</b></div><div>Extension: s</div><div>Priority: 1</div><div>Set: myNum=$1</div><div>Set: partyNum=$2</div><div>AlwaysDelete: Yes</div><div>Archive: Yes" > $call_file</div>
</div><div><br></div><div><b>Context - callback_leg1</b></div><div><b>----------------------------------------------------------------------</b></div><div><div>[callback_leg1]</div><div>exten => s,1,Answer()</div><div>
exten => s,1,NoOp(PartyNum=${partyNum})</div><div>exten => s,n,NoOp(MyNum=${myNum})</div><div>exten => s,n,Hangup()</div></div><div><br></div><div><br></div><div>Both the NoOp for $partyNum and $myNum come back blank. Does this have anything to do with the use of Local Channel?</div>
<div><br></div><div>Thanks</div>