[asterisk-dev] Compiling app_cbmysql for asterisk 1.6.2

Alex Villací­s Lasso a_villacis at palosanto.com
Fri Aug 7 18:24:47 CDT 2009


Dan Austin escribio':
> Alex wrote:
>
>   
>> I have been recently tasked with compiling cbmysql (an application to 
>> track conference rooms via MySQL) for asterisk 1.6.2. Since this 
>> particular module is long since unmaintained, I have to do the job of 
>> converting it myself. Originally this module builds for 1.4.x only, so I 
>> have been converting the code (a single .c file) to compile for 1.6.2. 
>> However, I think I could be forgetting some important issue with this 
>> migration task. Is there some official documentation on how to migrate 
>> asterisk module code for 1.4.x to 1.6.x ? Right now I have reached the 
>> stage in which it compiles without errors, but I want to prevent nasty 
>> surprises when testing it.
>>     
>
> The bulk of the logic/code in the module is MySQL related, with very
> minimal Asterisk API calls.  The primary reason I have not updated the
> app to compile for 1.6 is that the scheduling features (and a few
> enhancements) have been merged into app_meetme.  
>
> Is there a problem with using the scheduling features in app_meetme?
> What is driving the desire to continue to use app_cbmysql?
>
>   
Essentially, we want a drop-in replacement for app_cbmysql that works 
under 1.6.x and continues to use the MySQL tables that were created for 
Asterisk 1.4.x. We have a couple of web-based tools that use the cbmysql 
tables and they should continue to work when upgrading to Asterisk 1.6.x.


-- 
perl -e '$x=2.3;printf("%.0f + %.0f = %.0f\n",$x,$x,$x+$x);'




More information about the asterisk-dev mailing list