<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi,<div><br></div><div>I wrote some code that connects to the Asterisk AMI to see if the channel is up by doing an Action status followed by a "Channel: $CHANNEL". Most of the time if the channel is <b>NOT</b> up I will get:</div><div>line9: Response: Error</div><div>line10: Message: No such channel</div><div><br></div><div>And if the channels is up I get in line 15 the channel I am looking for. The issue I am having is every so often in the AMI I will see other calls. In manager.conf I do have:</div><div>eventfilter=Status<br></div><div><br></div><div>However every so often I do get other events for example "Event: Dialend". AmI doing something wrong? I wanted to use core show channels concise and parse that however as per <a href="http://lists.digium.com/pipermail/asterisk-dev/2012-January/053284.html">http://lists.digium.com/pipermail/asterisk-dev/2012-January/053284.html</a> that is deprecated.</div><div><br></div><div>
<div style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">Is that correct or am I facing a bug? I am using Asterisk 15.4.1.</div><br class="gmail-Apple-interchange-newline">
<br></div><div><br>EDIT: As per the docs it seems I need:</div><div>eventfilter=Event: Status<br></div><div><br></div><div>and NOT:</div><div>eventfilter=Status<br></div><div><br></div><div><br></div><div>TIA</div><div><br></div><div><br></div><div>Dovid</div><div><br></div></div></div></div></div></div></div></div></div>