Hi Everyone,
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:
*/tmp/spool-file.sh*
*----------------------------------------------------------------------*
echo "Channel: Local/s@callback_leg*1*/n
CallerID: \"Call-back\" <123456>
MaxRetries: 0
RetryTime: 10
WaitTime: 45
Context: callback_leg*2*
Extension: s
Priority: 1
Set: myNum=$1
Set: partyNum=$2
AlwaysDelete: Yes
Archive: Yes" > $call_file
*Context - callback_leg1*
*----------------------------------------------------------------------*
[callback_leg1]
exten => s,1,Answer()
exten => s,1,NoOp(PartyNum=${partyNum})
exten => s,n,NoOp(MyNum=${myNum})
exten => s,n,Hangup()
Both the NoOp for $partyNum and $myNum come back blank. Does this have
anything to do with the use of Local Channel?
Thanks
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users