[Asterisk-Users] calling shell scripts from within *

Tzafrir Cohen tzafrir at cohens.org.il
Tue Jul 5 00:58:10 MST 2005


On Tue, Jul 05, 2005 at 09:44:50AM +0200, Giorgio Incantalupo wrote:
> 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.

A fork/exec is involved anyway because of calling an external program. And \
bash is lighter than than python/perl . This is exactly what System is for, 
as it does not need to interact with the dialplan.

-- 
Tzafrir Cohen         | tzafrir at jbr.cohens.org.il | VIM is
http://tzafrir.org.il |                           | a Mutt's  
tzafrir at cohens.org.il |                           |  best
ICQ# 16849755         |                           | friend



More information about the asterisk-users mailing list