ok I see, I'll and update documentation in the wiki. I posted an other solution we found. Can you comment it? ... We did some more tests an found out that if we add a Event-UUID to the sendmsg command like: sendmsg Event-UUID: 5bf340cd-7a7e-4965-9285-95ed365ed242 call-command: execute execute-app-name: speak execute-app-arg: flite|slt|One We will get back this Event-UUID as Application-UUID in the CHANNEL_EXECUTE and CHANNEL_EXECUTE_COMPLETE events, so we are able to match it. In our tests this works fine, however I'm not sure if this approach is reliable and has any side effects. May I ask for your opinion of this approach? ... Thanks Markus Am 07.05.2013 um 17:35 schrieb Anthony Minessale <anthony.minessale@gmail.com>:
This is the first time the event is used. I changed to code in real time for you based on your request so you will be the one doing the documentation. That's how open source works.
The point once you update and compile master, your actual sendmsg event that you send will now be sent back to you once it is processed with every header you supplied as well as the caller profile data from the channel you sent it on. This was what you asked for.
On Sun, May 5, 2013 at 1:58 PM, mbo <mbodbg@gmx.net> wrote: 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
_________________________________________________________________________ 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