Hi Guys Just a stooped question, if I may. I have a bash script that I would like to run from the acd. Would I use the System command, the API command or is there a better way of doing this. I want to create a smb connection to a microsnot machine and pull a .wav file off to playback to the caller. TIA Kind Regards Terry Wade Mobile: +27 82 802-5750 Office: +27 11 784-7642 Fax: +27 11 388-0855 Linux is like a Wigwam - No gates, no windows, Apache inside Disclaimer and Confidentiality Warning This message is intended for the addressee only. If you are not the intended recipient of this message, you are notified that any distribution, use of or copying of this communication is strictly prohibited. If you have received the communication in error, please notify the sender immediately. The views and opinions expressed in this message are those of the individual sender of this message and do not necessarily represent the views and opinions of ActiCom. Consequently, ActiCom does not accept responsibility for such views and opinions and this message should not be read as representing the views and opinions of ActiCom without subsequent written confirmation. Each page attached hereto must also be read in conjunction with this disclaimer. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050705/b3df0588/attachment.htm
Giorgio Incantalupo
2005-Jul-05 00:44 UTC
[Asterisk-Users] calling shell scripts from within *
Hi, we are using AGI command to call external python script but it can be a good solution if you have a small PBX . There are res_perl and res_python that promise a better performance but we are still working on it. I suggest you to try them if your call flow is very intensive. Giorgio Terry Wade wrote:> Hi Guys > > > > Just a stooped question, if I may. I have a bash script that I would > like to run from the acd. Would I use the System command, the API > command or is there a better way of doing this. > > > > I want to create a smb connection to a microsnot machine and pull a > .wav file off to playback to the caller. > > > > TIA > > > > Kind Regards > > > > Terry Wade > > Mobile: +27 82 802-5750 > > Office: +27 11 784-7642 > > Fax: +27 11 388-0855 > > > > Linux is like a Wigwam - No gates, no windows, Apache inside > > > > Disclaimer and Confidentiality Warning > > > > This message is intended for the addressee only. If you are not the > intended recipient of this message, you are notified that any > distribution, use of or copying of this communication is strictly > prohibited. If you have received the communication in error, please > notify the sender immediately. The views and opinions expressed in > this message are those of the individual sender of this message and do > not necessarily represent the views and opinions of ActiCom. > Consequently, ActiCom does not accept responsibility for such views > and opinions and this message should not be read as representing the > views and opinions of ActiCom without subsequent written confirmation. > Each page attached hereto must also be read in conjunction with this > disclaimer. > > > >------------------------------------------------------------------------ > >_______________________________________________ >Asterisk-Users mailing list >Asterisk-Users@lists.digium.com >http://lists.digium.com/mailman/listinfo/asterisk-users >To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >