search for: callscript

Displaying 2 results from an estimated 2 matches for "callscript".

2003 Sep 04
3
Call script after hangup
Beginner: How can a script be called after a calling user hangup? What's wrong with this: [incoming] exten => s,1,Playback,welcome exten => s,2,Record,msgfile:gsm exten => h,1,Goto(callscript,1,1) [callscript] exten => 1,1,Wait,5 exten => 1,2,System("SomeScript") Thank you -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20030904/e0eac7fe/attachment.htm
2005 Mar 14
0
dial script, send variable problem??
...dialplan, so that i can call a number and send it a different soundfile i choose in my pyton script. the problem is, that the * dials correct and sends a sound but only if its hardcodet, the variable my script sends will not bee seen in the dialplan? how is it possibe to send a variable via a callscript to an extention? thanks, alexander ------------- ...... python code ... sound="feature-not-avail-line" s.send('Action: Originate\r\n') s.send('Channel: IAX2/guest@snmdir.ath.cx/501\r\n') s.send('Context: outboundmsg\r\n') s.send('Extention: s\r\n') s.s...