Skip to content

Commit

Permalink
puts seems to be buffering the output, causing the parser to lose syn…
Browse files Browse the repository at this point in the history
…c. Try this more direct approach.
  • Loading branch information
bklang committed Aug 2, 2010
1 parent cbbba93 commit 3d3427e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/adhearsion/voip/asterisk/commands.rb
Expand Up @@ -44,7 +44,7 @@ module Commands

# Utility method to write to pbx.
def write(message)
to_pbx.puts(message)
to_pbx.print(message + "\n")
end

# Utility method to read from pbx. Hangup if nil.
Expand Down

0 comments on commit 3d3427e

Please sign in to comment.