@@ -, +, @@ --- C4/SIP/Sip.pm | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) --- a/C4/SIP/Sip.pm +++ a/C4/SIP/Sip.pm @@ -229,13 +229,12 @@ sub write_msg { $msg .= sprintf('%04.4X', $cksum); } - if ($file) { $file->autoflush(1); - print $file "$msg\r"; + print $file "$msg$CRLF"; } else { STDOUT->autoflush(1); - print $msg, "\r"; + print $msg, "$CRLF"; syslog("LOG_INFO", "OUTPUT MSG: '$msg'"); } --