Call Us Today! 877.742.2583




Page tree
Skip to end of metadata
Go to start of metadata

About

Eval can be used to execute an internal API or simply log some text to the console.

 Click here to expand Table of Contents

Usage

eval <string to eval>

This application may be run inline from the XML dialplan.

Examples

<action application="eval" data="dialplan=[${dialplan}]" />

In order to do a uuid_bridge I found the following works:

<action application="answer"/>
<action application="eval" data="${uuid_bridge(uuid_1 uuid_2)}"/>
If you need call back you can set up your dial plan this way:
<action application="eval" data="${sched_api(+5 none originate {ignore_early_media=true}sofia/your_GeteWay/${caller_id_number} your_ext XML your_context your_Caller_ID_Name your_Caller_ID_Number)}"/>
<action application="hangup"/>

See Also