[Home]

Summary:ASTERISK-01445: [patch] misc nitpicks...
Reporter:Brian West (bkw918)Labels:
Date Opened:2004-04-20 21:49:58Date Closed:2004-09-25 02:51:24
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) cdr.unregister.txt
( 1) format_g726.unregister.txt
( 2) translate.unregister.txt
Description:1. Print message on unload codec_x.so

asterisk*CLI> unload codec_ulaw.so
 == Unregistered translator 'lintoulaw' from format SLINR to ULAW
 == Unregistered translator 'ulawtolin' from format ULAW to SLINR
asterisk*CLI> load codec_ulaw.so
Loaded /usr/lib/asterisk/modules/codec_ulaw.so => (Mu-law Coder/Decoder)
 == Registered translator 'ulawtolin' from format ULAW to SLINR, cost 1
 == Registered translator 'lintoulaw' from format SLINR to ULAW, cost 1


****** ADDITIONAL INFORMATION ******

Not sure the unregister cdr one is very helpful but if it can it should print something.  
Comments:By: Brian West (bkw918) 2004-04-20 22:19:17

added this:

asterisk*CLI> unload cdr_pgsql.so
 == Unregistered 'pgsql' CDR backend
asterisk*CLI> unload cdr_csv.so
 == Unregistered 'csv' CDR backend
asterisk*CLI> unload cdr_odbc.so
 == Unregistered 'ODBC' CDR backend

By: Brian West (bkw918) 2004-04-20 22:54:23

format_g726 just unregister in the reverse order they were registered.

bkw

By: James Golovich (jamesgolovich) 2004-04-21 00:24:00

Awesome.  Some good stuff here.  
Some commited to both brances, and some only to HEAD