<div dir="ltr"><div><div><div>Hi,<br><br></div>I see that this is solved by setting the<span style="font-family:monospace,monospace"> "fire_asr_events=true</span>" on the channel via the outbound ESL call handler when a new call comes in.<br><span style="font-family:monospace,monospace">-----------------<br>conn.execute ("set", "fire_asr_events=true", uuid, function (res) {<br> console.log ("ASR events now visible to inbound observers as well.");<br>});<br>-----------------</span><br><br></div>In combination with "<span style="font-family:monospace,monospace">divert_events on</span>", this seems to ensure that these events are visible to both inbound, and outbound ESL scripts.<br><br></div><div>The following thread lead me to the solution:<br><ul><li><a href="http://freeswitch-users.2379917.n2.nabble.com/What-is-Event-MEDIA-BUG-STOP-td6770735.html#a6774465">http://freeswitch-users.2379917.n2.nabble.com/What-is-Event-MEDIA-BUG-STOP-td6770735.html#a6774465</a><br></li></ul></div>Best, Joe<br><div> <br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Aug 25, 2016 at 12:53 AM, . <span dir="ltr"><<a href="mailto:joes.mailing.lists@gmail.com" target="_blank">joes.mailing.lists@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div>Hi,<br></div> I am wondering if it is possible to turn on 'divert_events' in order to get additional event notifications for things like gtalk and DETECTED_SPEECH over an inbound ESL connection?<br><br></div> I have an outbound ESL application that fields calls for a particular number and runs some simple grammars. Here I send 'divert_events on', and I am able to see these additional events no problem.<br><br></div> I also have a 'monitor' application setup in inbound mode, which just listens to 'everything'. However this inbound application does not see additional events like DETECTED_SPEECH, although it can see the application calls to play_and_detect_speech. If I try to send 'divert_events on' from the inbound socket I see an error message "ERR not controlling a session", so I guess this is not correct.<br><br></div> Is there a way to listen for these additional messages over the inbound socket, or not?<br><br></div> Thanks!<br></div>
</blockquote></div><br></div>