emilianodellacasa/ruby-asterisk — pull request #4 by sumitbirla (2013-10-24 20:10:51+00:00)
Title: Response parse fix and response delimiter

When the returned data contains lines such as below with multiple semicolons, only partial data is collected due to line.split(':') picking up only the first two values in Duration:

Action ID: 345
Duration: 10:03:12

Also to read data completely, telnet must wait for two newlines after ActionID: 223 otherwise only partial data is returned.