On Wed, 20 Jul 2011, Antonio Modesto wrote:

System(/bin/sh /var/spool/asterisk/calllog/log.sh ${FromExt} ${exten});

Specifying '/bin/sh' is not necessary.

The system() dialplan application calls the execl() system function with the command '/bin/sh -c' so specifying '/bin/sh foo' results in sh running sh running foo.

--
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards       [email protected]      Voice: +1-760-468-3867 PST
Newline                                              Fax: +1-760-731-3000

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
              http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to