I did not fully understand what you are saying. If you are saying you are running that in XML and want to access the value in perl then just $session->getVariable should work. If you are saying you are setting it in PERL and want to access it in dialplan XML afterwards the variables are accessable as if you set them in XML just remember that ALL expressions are evaluated at the start of an XML Plan, so if you change a variable used in those expressions it will not be picked up.<br>
~Mitch<br><br><div class="gmail_quote">On Mon, Sep 7, 2009 at 4:51 AM, Ahmed Munir <span dir="ltr"><<a href="mailto:ahmedmunir007@gmail.com">ahmedmunir007@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br><br>I've set some variables in dialplan XML and I want to call these variables in perl, i.e.<br><br>dialplan.xml<br><br><action application="set" data="DIALEXCUTED=NO"/><br><br>Also after executing in perl the value of this variable pass to dialplan.xml<br>
<br>Kindly tell me how to do this. <br clear="all"><br>-- <br>Regards,<br><font color="#888888"><br>Ahmed Munir<br><br><br>
</font><br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>