[Serusers] Voicemail crashing with signal 13
Arnd Vehling
av at nethead.de
Mon Jan 12 02:36:53 CET 2004
Hello,
while stuck config billing i gave the voicemail module a try. It compiled,
installed and started without problems (only some minor changes in the example
conf had been needed) but bails out after trying to send the mail.
I traced it back to: AmSmtpClient.cpp: function int base64_encode_file
It crashes in the following while-loop while trying to write to a pipe (out)
with no listerner (signal 13).
---
while(ooff >= 60){
fprintf(out,"%.*s\r\n",60,obuf + off);
off += 60;
ooff -= 60;
}
---
The debug looks like this:
----
Jan 11 11:42:54 gk Sems[26260]: Debug: SENDED: To: xxxx at yyyy.net^M
Jan 11 11:42:54 gk Sems[26260]: Debug: SENDED: Subject: Voice message from:
Arnd <sip:4223 at yy.xxxxx.net>^M
Jan 11 11:42:54 gk Sems[26260]: Debug: SENDED: MIME-Version: 1.0^M
Jan 11 11:42:54 gk Sems[26260]: Debug: SENDED: Content-Type: multipart/mixed;
^M
Jan 11 11:42:54 gk Sems[26260]: Debug: SENDED:
boundary="----=_NextPart_1073850174_26260"^M
Jan 11 11:42:54 gk Sems[26260]: Debug: SENDED: ^M
Jan 11 11:42:54 gk Sems[26260]: Debug: SENDED:
------=_NextPart_1073850174_26260^M
Jan 11 11:42:54 gk Sems[26260]: Debug: SENDED: Content-Type: text/plain^M
Jan 11 11:42:54 gk Sems[26260]: Debug: SENDED: ^M
Jan 11 11:42:54 gk Sems[26260]: Debug: SENDED: Hello <sip:4001 at xxx.xxxxx.net>,
Arnd <sip:4223 at gk.yyyyy.net> left a voice message for you.
--------------------------------------------------------- This message was
created
the iptel.org voicemail system.
--------------------------------------------------------- ^M
Jan 11 11:42:54 gk Sems[26260]: Debug: SENDED:
------=_NextPart_1073850174_26260^M
Jan 11 11:42:54 gk Sems[26260]: Debug: SENDED: Content-Type: audio/x-wav^M
Jan 11 11:42:54 gk Sems[26260]: Debug: SENDED: Content-Transfer-Encoding:
base64^M
Jan 11 11:42:54 gk Sems[26260]: Debug: SENDED: Content-Disposition: inline; ^M
Jan 11 11:42:54 gk Sems[26260]: Debug: SENDED: filename="message.wav"^M
Jan 11 11:42:54 gk Sems[26260]: Debug: SENDED: ^M
Jan 11 11:42:54 gk Sems[26260]: Warning: signal 13 received
Jan 11 11:42:54 gk Sems[26260]: Info: finished
Jan 11 11:42:54 gk Sems[26260]: Debug: isdngw: destructor of
IsdnGatewayFactory: cleaning up.
Jan 11 11:42:54 gk Sems[26255]: Warning: signal 17 received
Jan 11 11:42:54 gk Sems[26255]: Info: finished
----
Any ideas? I am still using "0.8.13-dev-23-merged"..
I can post the voicemail.cfg if needed.
best regards,
Arnd
--
NetHead Network Design and Security
Arnd Vehling av at nethead.De
Gummersbacherstr. 27 Phone: +49 221 8809210
50679 Köln Fax : +49 221 8809212
More information about the sr-users
mailing list