[Freeswitch-users] Correlate SendMsg reply with request in async mode
Anthony Minessale
anthony.minessale at gmail.com
Tue May 7 19:35:11 MSD 2013
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 at 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 at 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 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.freeswitch.org/>
>> http://www.ClueCon.com <http://www.cluecon.com/>
>> http://www.OSTAG.org <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
> _________________________________________________________________________
> 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
>
>
>
> _________________________________________________________________________
> 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/20130507/d3f2c7f2/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list