Hey there all, been pouring over the internet (especially this forum) trying to find out how i can pass a variable to an AGI script when i initiate a call out with a .call drop file in the outbound spool.
i am using this
Channel: Zap/2/xxxxxxxxxx
Callerid: CALLERID(James)
WaitTime: 15
Context: outboundmsg6
Extension: s
SetVar: myvar=bigun
and in extensions.conf
[outboundmsg6]
exten => s,1,Wait(3)
exten => s,2,Answer
exten => s,3,Wait(2)
exten => s,4,AGI(agi_test_dialout.py)
exten => s,5,Hangup
when i do an AGI enviroment dump to the terminal, i can see the other params show up, but not the variable.
what do i need to do?