[Serusers] Broken Pipe Error
Andres
andres at telesip.net
Sun Jan 4 22:43:31 CET 2004
Hi,
When we need to dump register requests to a file, we use the following command
inside ser.cfg:
if (method=="REGISTER") {
exec_msg("echo `date` - From: $SIP_HF_FROM To: $SIP_HF_TO
Contact: $SIP_HF_CONTACT Src_IP: $SIP_SRCIP User_Agent: $SIP_HF_USER_AGENT >>
/var/log/ser/ser_register.log");
};
The command executes just fine every time and generates the info in the flat
file but the SYSLOG shows this error:
Jan 4 16:40:35 wailea /usr/local/sbin/ser[15344]: ERROR: exec_msg: cmd echo
`date` - From: $SIP_HF_FROM To: $SIP_HF_TO Contact: $SIP_HF_CONTACT Src_IP:
$SIP_SRCIP User_Agent: $SIP_HF_USER_AGENT >> /var/log/ser/ser_register.log
failed. exit_status=-1, errno=32: Broken pipe
This error only appears on RH9.0. It does not appear under Solaris 2.8 or
RH7.3.
Any idea how we can fix this?
Regards,
Andres
More information about the sr-users
mailing list