Thanks for the answers. There is hardly any documentation of the PRIVATE_COMMAND event, can you give me some more details on it. What is it good for, when is it send, etc? If it is just an additional event including the channel data, where is the benefit using this event instead of set a custom variable first and then check this variable in the ChannelExecuteComplete event? Or am I missing something and it is possible to set a custom channel variable during SendMsg? Thanks Markus Am 03.05.2013 um 21:13 schrieb Anthony Minessale <anthony.minessale@gmail.com>:
Compromise:
Update to latest and sub to the "private_command" event, you should get back you own event with channel data merged in.
On Fri, May 3, 2013 at 12:27 PM, Michael Collins <msc@freeswitch.org> wrote:
On Fri, May 3, 2013 at 2:19 AM, mbo <mbodbg@gmx.net> wrote: I'm referring to a two years old bug report http://jira.freeswitch.org/browse/FS-1309.
Is it in the meantime somehow possible to map reply to SendMsg in asyc mode? I'm wondering why this ticket has been closed as "Won't fix", in my opinion is an essential feature to handle events properly.
If not, I want to implement the work around described in the ticket, to set a channel variable in a round trip before executing the real command. Do I need to wait for the ChannelExecuteComplete event for the Set command, or can I send my "real" command right away after the Set command? To be safe you should verify that the set app actually ran before you implement the workaround. -MC
-- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org 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:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org