Arjan Kroon
2006-Feb-20 02:01 UTC
[Asterisk-Users] automatically start application from thecommandprompt
Thankx MC, This is the solution. I've tried it and it works perfect. But I've got a question. I want to set a variable with the command SetVar I place the following text file in the directory /var/spool/asterisk/outgoing/ Channel: Zap/g1/0655871460 MaxRetries: 0 RetryTime: 30 WaitTime: 30 Context: call_outbound Extension: s Priority: 1 SetVar: call_outbound_id=0 When I tried to read the variable call_outbound_id in the context call_outbound I can not see the value. ( exten => s,6,NoOp(${call_outbound_id}) ) Is this the right solution, or do I have to use the option Data? Kind regards, Arjan Kroon ________________________________ From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Michael Collins Sent: maandag 13 februari 2006 21:06 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: RE: [Asterisk-Users] automatically start application from thecommandprompt This can also be done with the use of "call" files. Check this out: http://www.voip-info.org/tiki-index.php?page=Asterisk+auto-dial+out -MC ________________________________ From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Arjan Kroon Sent: Monday, February 13, 2006 7:10 AM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] automatically start application from the commandprompt Hello, Is it possible to start an asterisk application from the command prompt? This application has to dial to a number. When the calling party picks up the phone, the asterisk application had to play certain voicefiles. Kind Regards, Arjan Kroon Mobillion B.V. Copernicuslaan 30 Postbus 554 / PO Box 554 6710 BN Ede tel: +31 (0)318-648920 fax: +31 (0)318-648839 mobile: +31 (0)6-55871460 email: arjan.kroon@mobillion.nl internet: www.mobillion.nl -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060220/efd74604/attachment.htm