[Freeswitch-users] Correlate SendMsg reply with request in async mode

Anthony Minessale anthony.minessale at gmail.com
Fri May 3 23:13:01 MSD 2013


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 at freeswitch.org> wrote:

>
>
> On Fri, May 3, 2013 at 2:19 AM, mbo <mbodbg at 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 at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at 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 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-users/attachments/20130503/69bcb31a/attachment.html 


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