<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">> Event sockets is what you want....<div><br></div><div>Thanks Ken, it looks like Event Sockets will do the job, but I'm not sure how.<br>I'm testing with netcat listening on port 8084, and then I've managed to connect to it by inserting this line on the dialplan:<br><br><div><action application="socket" data="127.0.0.1:8084 async full"/><br><br></div><div>Since I dont need to control the call but only receive notification events about the channel state changes I assume I have to send the command "myevents\n\n\" and the pass the variable socket_resume:true back, but this doesnt seem to be working.</div><div><br></div></div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><div><div><div>sendmsg </div></div></div></div><div><div><div><div>call-command: execute</div></div></div></div><div><div><div><div>execute-app-name: myevents\n\n\</div></div></div></div><div><div>socket_resume:true</div></div></blockquote><div><div><br></div><div>This is my first attempt to write an application for FS so I need some guidance.</div><div>Thanks!</div><div><br></div><div><br></div><div><br></div><div><br></div></div></body></html>