<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.0.4">
</HEAD>
<BODY>
On Wed, 2004-03-10 at 20:30, Steven M. Sokol wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE><FONT COLOR="#fb5409"><I>Or, you could apply my patch, that I've been upgrading on the asterisk bug
site.
Check </FONT><A HREF="http://bugs.digium.com/bug_view_page.php?bug_id=0000752"><U>http://bugs.digium.com/bug_view_page.php?bug_id=0000752</U></A>
<FONT COLOR="#fb5409">
Steve (and anybody else who may know about this code),
I have the code for your privacy enhancements compiled and installed. My
one question is, how do I configure it? Looking at the code, it appears
that it reads from the internal DB1 database. Is this correct? Also, how
do I enable the privacy options in the Dial(IAX2/NNNN|???).
</I></FONT></PRE>
</BLOCKQUOTE>
<BR>
Steve--<BR>
<BR>
A snippet from my extensions.conf:<BR>
<BR>
exten => 3,1,System(/usr/bin/play /var/lib/asterisk/sounds/call-for.gsm|0)<BR>
exten => 3,2,System(/usr/bin/play /var/spool/asterisk/voicemail/default/1/greet.wav&|0)<BR>
exten => 3,3,Dial(Zap/5r3&Zap/6r3&Sip/murf|35|mP) ; Ring the interface, 20 seconds maximum<BR>
; music on hold, Privacy db.<BR>
<BR>
Now, you can also use P(dbname), so each user can use their own personal set of callers/settings.<BR>
<BR>
I've been thinking of a call screening feature, which would be trivial to implement, using a different<BR>
option letter, maybe little 'p', or 'S' for screen or something, that won't use the DB, but give the callee<BR>
the options of accepting, sending to vm, teletorture, etc.<BR>
<BR>
One note of Caution: While I was out of town, I had asterisk freeze twice. The reason? The log reached<BR>
2 gigabytes. The reason the log got that big? Filled with millions of occurrences of the message:<BR>
<BR>
Feb 11 16:57:40 WARNING[1269840688]: File file.c, Line 521 (ast_readaudio_callback): Failed to write frame<BR>
Feb 11 16:57:40 WARNING[1269840688]: File file.c, Line 521 (ast_readaudio_callback): Failed to write frame<BR>
Feb 11 16:57:40 WARNING[1269840688]: File file.c, Line 521 (ast_readaudio_callback): Failed to write frame<BR>
Feb 11 16:57:40 WARNING[1269840688]: File file.c, Line 521 (ast_readaudio_callback): Failed to write frame<BR>
<BR>
I suspect that it is some complication of having the Dial ring to the timeout, and going to voicemail... if anyone<BR>
can help resolve this, they will surely be rewarded with many back-pats and thanks!<BR>
<BR>
murf<BR>
<BR>
<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
<PRE><FONT COLOR="#fb5409"><I>Thanks,
Steve
</I></FONT></PRE>
</BLOCKQUOTE>
</BODY>
</HTML>