<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi,<div><br><div><div>On Apr 15, 2011, at 6:46 AM, Olle E. Johansson wrote:</div><blockquote type="cite"><div><font class="Apple-style-span" color="#000000"><br></font>I need to add a manager event for early media. Early media/session progress is not a state in ast_channel_state (channel.h). It feels like the manager event should be using the "Newstate" event - from a 3rd party applications point of view it's a state of the call.<br><br>Now - would using Newstate and faking a new state hurt something? Should I invent a new manager event for this? Should we add a state to ast_channel_state ?<br></div></blockquote></div><br></div><div>I think that this fits into the Newstate event (I am against inventing a new manager event). About adding a new state to ast_channel_state, I am not qualified to suggest anything but it sounds logical to add it. Advertize a state via AMI and not having a different way to get that state by other means (ast cli, custom module, etc) is not good at all.</div><div><br></div><div>Best regards,</div><div><br></div><div>--</div><div>Nicolás Gudiño</div><div><br></div><div><br></div></body></html>