Hello Brain, In my perl script I set a global variable, e.g. global_egress_disable=1 ( This is while bridge is calling to a number of loopback destinations) In my dialplan is a particular context, I would like to examine this global variable to see if it exists and set to 1. (This is my work around way to stop bridge to continue dialing out the remaining of the extensions if the caller has decided to go to voicemail or somewhere else in bind_digit_action.) Thanks, Ali On Thu, Nov 21, 2013 at 2:39 PM, Brian West <brian@freeswitch.org> wrote:
Its already there, what are you looking to do exactly?
-- Brian West brian@freeswitch.org FreeSWITCH Solutions, LLC PO BOX 2531 Brookfield, WI 53008-2531 Twitter: @FreeSWITCH_Wire , @briankwest http://www.freeswitchbook.com http://www.freeswitchcookbook.com
T: +1.918.420.9001 | F: +1.918.420.9002 | M: +1.918.424.WEST iNUM: +883 5100 1420 9001 ISN: 410*543 Skype:briankwest PGP Key: http://www.bkw.org/key.txt (AB93356707C76CED)
On 2013-11-21, at 1:06 PM, Ali Pey <alipey@gmail.com> wrote:
Hello,
Is there a way to access a global variable in the xml dialplan and have a condition on it?
Regards, Ali Pey
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org