<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">The protocol has a content-length header.. you read exactly that many bytes and you won't be confused by this disconnect message.<div><br></div><div>/b</div><div><br><div><div>On Jun 26, 2009, at 9:50 PM, Lon Baker wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>In the latest SVN this seem to be true for CHANNEL_HANGUP, which appends the following after the normal line breaks.</div><div><br></div><div>"Disconnected, goodbye.\n</div><div>See you at ClueCon! <a href="http://www.cluecon.com/">http://www.cluecon.com/</a>"</div> <div><br></div><div>Perhaps it can be changed to conform the chunked data structure?</div><div><br></div><div>variable_disconnect_message: Disconnected, goodbye. See you at ClueCon! <a href="http://www.cluecon.com">http://www.cluecon.com</a></div> <div><br></div><div>Just a thought.</div><div><br></div><div>Lon</div> _______________________________________________<br>Freeswitch-users mailing list<br><a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>http://www.freeswitch.org<br></blockquote></div><br></div></body></html>