wait for execute_complete events to be sure you application execute request was received and processed or use uuid_setvar instead which is instant.
On Sat, Oct 31, 2009 at 4:09 PM, Artem Shiyanov <[email protected]> wrote: > Hello! > > I've got strange problem: > In my app which talks to FreeSwitch via mod_socket there is such logic: > <pre conditions: channel1 - newly created, parked channell - with help of > 'uuid_create' and 'originate ... &park'; channel2 is talking with channel3> > for (channel in {array of channel1, channel2, channel3}) { > set value for the channel variable X > } > > uuid_transfer channel1 extension Y > uuid_transfer -both channel2 extension Y > > > In extension Y there is a logic based on the channel variable X. > The problem itself: every second launching falls, the reason - channel > variable X hasn't been set for one of channel1..3. > Sniffer shows that commands are sent (and confirmated by FreeSwitch) > consiquently, FreeSwitch sends OK for each command in time. > Temporary sollution that I found is to wait 0.5 sec after 'set' commands > have been sent and before transfer any channel to extension Y. > > Maybe some already faced with similar problem? > > > Thanks, > Artem > > > _______________________________________________ > FreeSWITCH-users mailing list > [email protected] > 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:[email protected] <msn%[email protected]> GTALK/JABBER/PAYPAL:[email protected]<paypal%[email protected]> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:[email protected] <sip%[email protected]> iax:[email protected]/888 googletalk:[email protected]<googletalk%3aconf%[email protected]> pstn:213-799-1400
_______________________________________________ FreeSWITCH-users mailing list [email protected] http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
