I send an originate command like
/bin/echo "Channel: Local/[EMAIL PROTECTED]";\
/bin/echo "Variable: callid=123456|_number=$1|url=pippo|menuid=FOP|redirectnum=0554202880";\
/bin/echo "Context: chiamamezzi";\
/bin/echo "Exten: s";\
/bin/echo "Priority: 1";\
/bin/echo "Callerid: Asterisk Automatic Wardial";\
/bin/echo "Timeout: 10000";\
/bin/echo "Async: True";\
/bin/echo "ActionId: 10";\
where the dialplan is:
[chiamamezzi-dialout]
exten => _X.,1,Dial(ZAP/g1d/${EXTEN},30)
exten => _X.,2,NoOp( _X. DIALSTATUS is ${DIALSTATUS} number is ${number} )
exten => _X.,3,GotoIf($[$[${DIALSTATUS} = NOANSWER ] | $[${DIALSTATUS} = CANCEL]] ?_X.,5)
The problem is ${number} has no value . Why?
Cheers
Luca
~
--
Ing. Luca Casavola (Technical Manager)
Software Products Italia Milano / Roma / Firenze
tel. ++39 055/33651 fax ++39 055/340558 e-mail: [EMAIL PROTECTED] www: http://www.softpi.it
_______________________________________________ Asterisk-Users mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
