Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] Event socket chunks don't always end with 2 line breaks?


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
lon at kickasspixels.com
Guest





PostPosted: Fri Jun 26, 2009 9:51 pm    Post subject: [Freeswitch-users] Event socket chunks don't always end with Reply with quote

In the latest SVN this seem to be true for CHANNEL_HANGUP, which appends the following after the normal line breaks.


"Disconnected, goodbye.\n
See you at ClueCon! http://www.cluecon.com/"


Perhaps it can be changed to conform the chunked data structure?


variable_disconnect_message: Disconnected, goodbye. See you at ClueCon! http://www.cluecon.com


Just a thought.


Lon
Back to top
brian at freeswitch.org
Guest





PostPosted: Fri Jun 26, 2009 9:55 pm    Post subject: [Freeswitch-users] Event socket chunks don't always end with Reply with quote

The protocol has a content-length header.. you read exactly that many bytes and you won't be confused by this disconnect message.

/b

On Jun 26, 2009, at 9:50 PM, Lon Baker wrote:
Quote:
In the latest SVN this seem to be true for CHANNEL_HANGUP, which appends the following after the normal line breaks.


"Disconnected, goodbye.\n
See you at ClueCon! http://www.cluecon.com/"


Perhaps it can be changed to conform the chunked data structure?


variable_disconnect_message: Disconnected, goodbye. See you at ClueCon! http://www.cluecon.com


Just a thought.


Lon
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services