[Freeswitch-dev] switch_ivr_bridge.c question
anthony.minessale at gmail.com
Thu Feb 2 23:20:22 MSK 2012
The code is not the same on the latest.
Look closer ;)
You should probably keep yourself on the latest for this deep of an examination.
On Thu, Feb 2, 2012 at 11:43 AM, teldev <ustcorporation at yahoo.com> wrote:
> Re-worded my original post a bit, sorry if it becomes a new thread...having
> Nabble issues.
> In switch_ivr_bridge.c on line 1474, we have the following lines of code:
> switch_channel_clear_state_handler(originator_channel, NULL);
> switch_channel_clear_state_handler(originatee_channel, NULL);
> 1476 switch_channel_set_state_flag(originator_channel,
> Is the call to “switch_channel_set_state_flag” a typo? Since line 1476
> triggers an asynchronous flag change, and line 1477 changes the same flag
> synchronously, on line 1478 the value of the flag becomes unpredictable
> since the asynchronous change from line 1476 can happen before or after line
> 1477 (mostly after, of course).
> Thanks again.
> View this message in context: http://freeswitch-dev.4355.n6.nabble.com/switch-ivr-bridge-c-question-tp4359635p4359635.html
> Sent from the FreeSWITCH-dev mailing list archive at Nabble.com.
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> Official FreeSWITCH Sites
> FreeSWITCH-dev mailing list
> FreeSWITCH-dev at lists.freeswitch.org
Anthony Minessale II
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
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-dev