[Freeswitch-users] Using channel variables as values to time of day attributes in conditions

Brian West brian at freeswitch.com
Thu Apr 9 19:14:28 UTC 2020


I do not believe we do any sort of expansion on those fields.

On Thu, Apr 9, 2020 at 1:03 PM Chad Phillips <chad at apartmentlines.com>
wrote:

> Will this dialplan XML condition work in newer versions of FreeSWITCH?
>
> <condition wday="${REFORWARDING_DAYS}" hour="${REFORWARDING_HOURS}"
> break="never">
>
> ${REFORWARDING_DAYS} and ${REFORWARDING_HOURS} are dialplan variables I
> set prior to calling the extension with that condition. I tried this on an
> older version of FreeSWITCH and it doesn't seem to work, I end up having to
> hard code the values for the 'wday' and 'hour' attributes.
> _________________________________________________________________________
>
> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
> services.
> Build your next product on our scalable cloud platform.
>
> Join our online community to chat in real time
> https://signalwire.community
>
> Professional FreeSWITCH Services
> sales at freeswitch.com
> https://freeswitch.com
>
> Official FreeSWITCH Sites
> https://freeswitch.com/oss
> https://freeswitch.org/confluence
> https://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
> https://freeswitch.com



-- 

Brian West | Co-founder and Developer

Need Commercial support? email sales at freeswitch.com

FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045
<https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g>

Email: brian at freeswitch.com

Mobile: 918-424-9378

Website: https://www.FreeSWITCH.com <https://www.freeswitch.com/>

[image: https://www.facebook.com/signalwireinc?src=email]
<https://www.facebook.com/freeswitch> [image:
https://twitter.com/freeswitch] <https://twitter.com/freeswitch>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20200409/7e89e824/attachment.html>


More information about the FreeSWITCH-users mailing list