On Wed, 2004-03-10 at 20:30, Steven M. Sokol wrote:
Or, you could apply my patch, that I've been upgrading on the asterisk bug
site.
Check http://bugs.digium.com/bug_view_page.php?bug_id=0000752

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|???).

Steve--

A snippet from my extensions.conf:

exten => 3,1,System(/usr/bin/play /var/lib/asterisk/sounds/call-for.gsm|0)
exten => 3,2,System(/usr/bin/play /var/spool/asterisk/voicemail/default/1/greet.wav&|0)
exten => 3,3,Dial(Zap/5r3&Zap/6r3&Sip/murf|35|mP)        ; Ring the interface, 20 seconds maximum
                                                 ; music on hold,  Privacy db.

Now, you can also use P(dbname), so each user can use their own personal set of callers/settings.

I've been thinking of a call screening feature, which would be trivial to implement, using a different
option letter, maybe little 'p', or 'S' for screen or something, that won't use the DB, but give the callee
the options of accepting, sending to vm, teletorture, etc.

One note of Caution: While I was out of town, I had asterisk freeze twice. The reason? The log reached
2 gigabytes. The reason the log got that big? Filled with millions of occurrences of the message:

Feb 11 16:57:40 WARNING[1269840688]: File file.c, Line 521 (ast_readaudio_callback): Failed to write frame
Feb 11 16:57:40 WARNING[1269840688]: File file.c, Line 521 (ast_readaudio_callback): Failed to write frame
Feb 11 16:57:40 WARNING[1269840688]: File file.c, Line 521 (ast_readaudio_callback): Failed to write frame
Feb 11 16:57:40 WARNING[1269840688]: File file.c, Line 521 (ast_readaudio_callback): Failed to write frame

I suspect that it is some complication of having the Dial ring to the timeout, and going to voicemail... if anyone
can help resolve this, they will surely be rewarded with many back-pats and thanks!

murf



Thanks,

Steve

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to