[Freeswitch-dev] Setting channel flags late

Anthony Minessale anthony.minessale at gmail.com
Tue Jun 11 23:02:09 MSD 2013


Probably 1 is the path of least resistance.



On Tue, Jun 11, 2013 at 9:57 AM, Richard Brady <rnbrady at gmail.com> wrote:

> 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?
>
> Regards,
> Richard
>
> --
> Richard Brady
> M: +44 (0)7771 623 348
> T:  +44 (0)20 8144 8160
> E: rnbrady at gmail.com
>
> _________________________________________________________________________
> 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-dev mailing list
> FreeSWITCH-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> 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 at hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
googletalk:conf+888 at conference.freeswitch.org
pstn:+19193869900
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20130611/57ee2c27/attachment.html 


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