Displaying 1 result from an estimated 1 matches for "customerrepwillcall".
2007 Jul 11
2
Pass Dialed number to a script
...boundmsgs/choice)
exten => s,5,wait(3)
exten => 1,1,Goto(s,3) ; replay message
exten => 2,1,Goto(msgack,s,1) ; acknowledge message
exten => 3,1,Goto(callback,s,1)
exten => t,1,Playback(vm-goodbye)
exten => t,2,Hangup
[callback]
exten => s,1,Playback(outboundmsgs/customerrepwillcall)
--> exten => s,n,system(${SCRIPTS_DIR}/rep_callback.sh ${????????} )
exten => s,n,Playback(vm-goodbye)
exten => s,n,Hangup
how do I pass the number that was dialed (from the creation of a .call file)
to the rep_callback.sh script ?
thanks
Shawn