[Asterisk-Users] System(...) but how to pass parameters?
Pisac
pisacc at gmail.com
Sat Dec 24 17:22:18 MST 2005
Not in CLI, Invoked in extensions.conf:
exten => s,1,system(/usr/bin/logscript) ;and how to pass some parameters
here?
if I do somenhing like:
exten => s,1,system(/usr/bin/logscript,${CALLERID},pstn)
then I get error.
----- Original Message -----
From: "Pisac" <pisacc at gmail.com>
To: "Asterisk Users Mailing List - Non-Commercial Discussion"
<asterisk-users at lists.digium.com>
Sent: ned 25. dec 2005 1:08
Subject: [Asterisk-Users] System(...) but how to pass parameters?
> How to pass some parameters to shell script, invoked in CLI through
> application system(...)?
>
> I want to do some logging of incoming CID-s to file. Is there some
other
> method to do this?
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list