[Freeswitch-dev] Setting channel flags late

Richard Brady rnbrady at gmail.com
Tue Jun 11 18:57:35 MSD 2013

Hi guys

A variable (e.g. liberal_dtmf) which has an underlying channel flag (e.g.
CF_LIBERAL_DTMF) or some other internal representation or associated state
can only be set at the beginning of the channel's lifetime, i.e. at the
start of the call.

What is the best place to add custom code to allow this to happen for a
particular variable while the call is in progress?

1. With a variable-specific command (e.g. "uuid_liberal_dtmf <uuid> true")

2. By modifying uuid_setvar to carry out some custom logic

3. With the addition of a new generic command, e.g. uuid_setvar_deep, which
could serve as a single point for folks to add their custom code, and to
return an error for any variable which is not explicitly supported.

Any thoughts?


Richard Brady
M: +44 (0)7771 623 348
T:  +44 (0)20 8144 8160
E: rnbrady at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20130611/7fa3130b/attachment.html 

Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-dev mailing list