On Monday 09 August 2010 13:08:19 Tino wrote:
> Is there any  way to capture the output of the 'System' application in
> asterisk dialplan and evaluate it.
>
> For example, i would like to get the output of following System application
> and use its value in next line
> for decision making
>
> exten => 5000,n,System(command)

No, but you may use the SHELL dialplan function in versions which support it:

Set(output=${SHELL(command)})

-- 
Tilghman Lesher
Digium, Inc. | Senior Software Developer
twitter: Corydon76 | IRC: Corydon76-dig (Freenode)
Check us out at: www.digium.com & www.asterisk.org

-- 
_____________________________________________________________________
-- 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