[Freeswitch-dev] get variable value
How do I get the vaule of a custom variable. I have seen uuid_getvar Usage: uuid_getvar <uuid> <varname> but how I use in C
Grep the source for "switch_channel_get_variable" and you'll see numerous examples... -MC On Wed, Oct 19, 2011 at 12:37 PM, adam harris <admharris@gmx.com> wrote:
How do I get the vaule of a custom variable. I have seen uuid_getvar Usage: uuid_getvar <uuid> <varname> but how I use in C
_______________________________________________ Join us at ClueCon 2011, Aug 9-11, Chicago http://www.cluecon.com 877-7-4ACLUE
FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
From your email, I am assuming you are trying to get a variable using ESL? If so, custom variables are prefixed with variable. So you would use the get_header functions just as you would on other non-custom variables.
Makes sense? Regards, João Mesquita On Wed, Oct 19, 2011 at 7:27 PM, Michael Collins <msc@freeswitch.org> wrote:
Grep the source for "switch_channel_get_variable" and you'll see numerous examples...
-MC
On Wed, Oct 19, 2011 at 12:37 PM, adam harris <admharris@gmx.com> wrote:
How do I get the vaule of a custom variable. I have seen uuid_getvar Usage: uuid_getvar <uuid> <varname> but how I use in C
_______________________________________________ Join us at ClueCon 2011, Aug 9-11, Chicago http://www.cluecon.com 877-7-4ACLUE
FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
_______________________________________________ Join us at ClueCon 2011, Aug 9-11, Chicago http://www.cluecon.com 877-7-4ACLUE
FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
participants (3)
-
adam harris
-
João Mesquita
-
Michael Collins