[Freeswitch-users] Global variable in dialplan

Ali Pey alipey at gmail.com
Fri Nov 22 00:16:18 MSK 2013


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 at freeswitch.org> wrote:

> Its already there, what are you looking to do exactly?
>
> --
> Brian West
> brian at 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 at 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 at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20131121/78c04feb/attachment.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list