[asterisk-users] Disable CDR?

2008-09-29 Thread Vincent
Hello

I'm running Asterisk 1.4.21.2 on FreeBSD 6.3.

This part of extensions.conf...

;play a menu, and expect user to type any extension 1-4 or 9
exten = s,n,Wait(1)
exten = s,n,Background(main_menu)
exten = s,n,WaitExten(5)
exten = s,n,Hangup()

exten = _[1-49],1,AGI(convert_app.phpcli|${EXTEN})

...  triggers this message:

-- Executing [EMAIL PROTECTED]:5] Wait(Zap/1-1, 1) in new stack
-- Executing [EMAIL PROTECTED]:6] BackGround(Zap/1-1, main_menu) in
new stack
-- Zap/1-1 Playing 'main_menu' (language 'fr')
  == CDR updated on Zap/1-1
-- Executing [EMAIL PROTECTED]:1] AGI(Zap/1-1,
convert_app.phpcli|1) in new stack

I don't use CDR. Provided this will not have dire consequences, how
can I disable this?

Thank you.


___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Disable CDR?

2008-09-29 Thread Atis Lezdins
On Mon, Sep 29, 2008 at 1:25 PM, Vincent [EMAIL PROTECTED] wrote:
 Hello

 I'm running Asterisk 1.4.21.2 on FreeBSD 6.3.

 This part of extensions.conf...

 ;play a menu, and expect user to type any extension 1-4 or 9
 exten = s,n,Wait(1)
 exten = s,n,Background(main_menu)
 exten = s,n,WaitExten(5)
 exten = s,n,Hangup()

 exten = _[1-49],1,AGI(convert_app.phpcli|${EXTEN})

 ...  triggers this message:

-- Executing [EMAIL PROTECTED]:5] Wait(Zap/1-1, 1) in new stack
-- Executing [EMAIL PROTECTED]:6] BackGround(Zap/1-1, main_menu) in
 new stack
-- Zap/1-1 Playing 'main_menu' (language 'fr')
  == CDR updated on Zap/1-1
-- Executing [EMAIL PROTECTED]:1] AGI(Zap/1-1,
 convert_app.phpcli|1) in new stack

 I don't use CDR. Provided this will not have dire consequences, how
 can I disable this?

in cdr.conf:

[general]
enable=no

You may also unload CDR modules. For this do:

ast-dev14*CLI module show like cdr
Module Description
 Use Count
cdr_manager.so Asterisk Manager Interface CDR Backend   0
cdr_custom.so  Customizable Comma Separated Values CDR  0
app_forkcdr.so Fork The CDR into 2 separate entities0
app_cdr.so Tell Asterisk to not maintain a CDR for  0
app_setcdruserfield.so CDR user field apps  0
func_cdr.soCDR dialplan function0
cdr_addon_mysql.so MySQL CDR Backend0
7 modules loaded

And add in modules.conf:

noload = cdr_csv.so
noload = cdr_odbc.so
noload = cdr_pgsql.so
noload = cdr_sqlite.so
noload = cdr_sqlite3_custom.so

for each module not used.

Regards,
Atis


-- 
Atis Lezdins,
VoIP Project Manager / Developer,
[EMAIL PROTECTED]
Skype: atis.lezdins
Cell Phone: +371 28806004
Cell Phone: +1 800 7300689
Work phone: +1 800 7502835

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users