Make one extension to set vars then call transfer to another one that does things based on the vars. On Sun, Nov 4, 2012 at 9:33 AM, Brian Wiese < brian.wiese.freeswitch@gmail.com> wrote:
What's happening is that you're trying to use cellPhone as a built-in variable when instead it is a channel variable that you've set (read the whole Variables section of this Wiki page: http://wiki.freeswitch.org/wiki/Dialplan_XML#Variables).
Try "<condition field="${cellPhone}" expression......."
~Brian
On Sat, Nov 3, 2012 at 11:20 PM, D'Arcy J.M. Cain <darcy@vex.net> wrote:
On Sat, 3 Nov 2012 22:58:43 -0400 "D'Arcy J.M. Cain" <darcy@Vex.Net> wrote:
work. However, there is a way to get what you want by adding inline="true" to the action when you set variables so they actually are set immediately and won't count in the list of work. This only works for set and a small list of apps.
Definitely not what I want in this case.
I think I misunderstood. I read "immediately" as being at reloadxml time. I see that it means during the hunting phase. I modified my dialplan but it still isn't quite right. See the updated pastebin:
http://pastebin.freeswitch.org/20168
See the log extract at the end. It shows cellPhone being set to something but when it tests it it is blank.
-- D'Arcy J.M. Cain System Administrator, Vex.Net http://www.Vex.Net/ IM:darcy@Vex.Net
_________________________________________________________________________ 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
_________________________________________________________________________ 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
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900