8 Sep
2009
8 Sep
'09
7:34 a.m.
On Mon, Sep 7, 2009 at 1:51 AM, Ahmed Munir <ahmedmunir007@gmail.com> wrote:
Hi,
I've set some variables in dialplan XML and I want to call these variables in perl, i.e.
dialplan.xml
<action application="set" data="DIALEXCUTED=NO"/>
Also after executing in perl the value of this variable pass to dialplan.xml
Kindly tell me how to do this.
If you execute the set app prior to calling your script then the variable will be available with $session->getVariable("DIALEXECUTED"); If you modify the value inside your script then it will be available in dialplan but only if you transfer the call back through the dialplan again. -MC