Re: [asterisk-users] Asterisk Web Meetme module not loading

2013-05-16 Thread Dan Austin
Rohit Mahajan wrote:

> Matt Riddell  venturevoip.com> writes:
>> Are you using the latest version of the app_cbmysql?
>> 
>> It looks like it needs to be updated for the latest version.
>> 
>> Alternatively it may say somewhere on their website which version of 
>> Asterisk this works with?


> I have been encountering error whenever i run make install to load cbmysql.
> Below is the error.

> app_cbmysql.c:529:38: error: macro "ast_config_load" requires 2 arguments,
> but only 1 given
> app_cbmysql.c: In function âload_configâ:


> How i can resolve this problem.

The best way, as the author of app_cbmysql, is to not use app_cbmysql.
If you are running Asterisk 1.6.7 or later and and Web-MeetMe 4.X you can use 
the realtime functionality in app_meetme.  The ODBC and realtime setup is
a bit more complicated than app_cbmysql, but the reliability will be much 
better,
and you won't need the equally hacky cbend.php script to handle CDR or 
conference
shutdown events.

Dan
--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

Re: [asterisk-users] Asterisk Web Meetme module not loading

2013-05-16 Thread Rohit Mahajan









Matt Riddell  venturevoip.com> writes:

> 
> On 1/09/09 5:19 PM, Glen Ganderton wrote:
> >
> > app_cbmysql.c:37:1: warning: "AST_MODULE" redefined
> > : warning: this is the location of the previous definition
> > app_cbmysql.c: In function âcheckMaxâ:
> > app_cbmysql.c:116: warning: implicit declaration of function
> > âast_say_numberâ
> > app_cbmysql.c: In function âroomQueryâ:
> > app_cbmysql.c:181: warning: unused variable âeatimeâ
> > app_cbmysql.c:337: warning: control reaches end of non-void function
> 
> I'm not sure how Asterisk is supposed to know that this requires a link 
> to MySQL without being told.
> 
> Are you using the latest version of the app_cbmysql?
> 
> It looks like it needs to be updated for the latest version.
> 
> Alternatively it may say somewhere on their website which version of 
> Asterisk this works with?
> 



Dear Mr. Riddell,

Greetings!!! trust this reaches you to the best of everything..

I have been encountering error whenever i run make install to load cbmysql.
Below is the error.

app_cbmysql.c:529:38: error: macro "ast_config_load" requires 2 arguments,
but only 1 given
app_cbmysql.c: In function âload_configâ:


How i can resolve this problem.

Please help.





--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

Re: [asterisk-users] Asterisk Web Meetme module not loading

2009-09-18 Thread Dan Austin
Matt wrote:

> On 1/09/09 5:53 PM, Glen wrote:
>> Matt Riddell wrote:
>>> In the latest readme for WebMeetMe (3.1.0) it states:
>>>
>>> * Compile and install CBMySQL
>>> App_cbmysql is now included in the web-meetme package,
>>> located in ./cbmysql.  To install just run make; make install
>>>
>>> Copy the sample cbmysql.conf to /etc/asterisk and create
>>> a dialplan similar to the one in cb-extensions.conf.sample
>>> Modify the settings to suit your system.  The location of the
>>> mysql.sock file is likely not correct, check /etc/my.conf for
>>> the correct location.
>>>
>>>
>> That fixed it Matt, just compiling in the wrong directory.
>>
>> Thanks for all your help.

> No problems :)  I haven't actually used it myself, but it looks pretty cool!

Matt-
Thanks for jumping in.  I have been offline for close to four weeks
recovering from oral surgery.  Months go by without a single Web-MeetMe 
question, and as soon as I stop watching email a bunch show up...

As was discovered, the app is compiled separately from Asterisk.
Due to changes in the AMI interface over the years, there will soon be
three versions of WMM-
2.X for Asterisk 1.2 (largely unmaintained, but problem reports 
are rare)
3.x for Asterisk 1.4
4.X for Asterisk 1.6 (recommend 1.6.0.7 or 1.6.1 or newer)

Starting in 1.6 the scheduling logic that was in app_cbmysql is now native
to app_meetme when using RealTime, so app_cbmysql has not been updated for 1.6.
I need to get 4.X released.  I normally like to run a new release in house for
a couple of months before release, but between the surgery and changes at work
it is not likely to happen.  The good news is that the 4.X release has less to
test since the scheduling logic moved into app_meetme, so I just need to confirm
that nothing is seriously broken in the UI.

Thanks,
Dan  

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

AstriCon 2009 - October 13 - 15 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] Asterisk Web Meetme module not loading

2009-08-31 Thread Matt Riddell
On 1/09/09 5:53 PM, Glen wrote:
> Matt Riddell wrote:
>> In the latest readme for WebMeetMe (3.1.0) it states:
>>
>> * Compile and install CBMySQL
>>  App_cbmysql is now included in the web-meetme package,
>> located in ./cbmysql.  To install just run make; make install
>>
>>  Copy the sample cbmysql.conf to /etc/asterisk and create
>> a dialplan similar to the one in cb-extensions.conf.sample
>> Modify the settings to suit your system.  The location of the
>> mysql.sock file is likely not correct, check /etc/my.conf for
>> the correct location.
>>
>>
> That fixed it Matt, just compiling in the wrong directory.
>
> Thanks for all your help.

No problems :)  I haven't actually used it myself, but it looks pretty cool!

-- 
Cheers,

Matt Riddell
Director
___

http://www.venturevoip.com/news.php (Daily Asterisk News)
http://www.venturevoip.com/st.php (SmoothTorque Predictive Dialer)
http://www.venturevoip.com/c3.php (ConduIT3 PABX Systems)

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

AstriCon 2009 - October 13 - 15 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] Asterisk Web Meetme module not loading

2009-08-31 Thread Glen
Matt Riddell wrote:
> In the latest readme for WebMeetMe (3.1.0) it states:
>
> * Compile and install CBMySQL
>   App_cbmysql is now included in the web-meetme package,
> located in ./cbmysql.  To install just run make; make install
>
>   Copy the sample cbmysql.conf to /etc/asterisk and create
> a dialplan similar to the one in cb-extensions.conf.sample
> Modify the settings to suit your system.  The location of the
> mysql.sock file is likely not correct, check /etc/my.conf for
> the correct location.
>
>   
That fixed it Matt, just compiling in the wrong directory.

Thanks for all your help.

-Glen

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

AstriCon 2009 - October 13 - 15 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] Asterisk Web Meetme module not loading

2009-08-31 Thread Matt Riddell
In the latest readme for WebMeetMe (3.1.0) it states:

* Compile and install CBMySQL
App_cbmysql is now included in the web-meetme package,
located in ./cbmysql.  To install just run make; make install

Copy the sample cbmysql.conf to /etc/asterisk and create
a dialplan similar to the one in cb-extensions.conf.sample
Modify the settings to suit your system.  The location of the
mysql.sock file is likely not correct, check /etc/my.conf for
the correct location.

-- 
Cheers,

Matt Riddell
Director
___

http://www.venturevoip.com/news.php (Daily Asterisk News)
http://www.venturevoip.com/st.php (SmoothTorque Predictive Dialer)
http://www.venturevoip.com/c3.php (ConduIT3 PABX Systems)

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

AstriCon 2009 - October 13 - 15 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] Asterisk Web Meetme module not loading

2009-08-31 Thread Matt Riddell
I've sent you Dan Austin's email address off list just in case he is 
able to help out :D

-- 
Cheers,

Matt Riddell
Director
___

http://www.venturevoip.com/news.php (Daily Asterisk News)
http://www.venturevoip.com/st.php (SmoothTorque Predictive Dialer)
http://www.venturevoip.com/c3.php (ConduIT3 PABX Systems)

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

AstriCon 2009 - October 13 - 15 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] Asterisk Web Meetme module not loading

2009-08-31 Thread Matt Riddell
Hmm, it looks like it has a makefile in the cb_mysql directory which is 
supposed to do the linking.

Have you tried running make from there?

It also has a copyright of Mark Spencer, but I know 100% he didn't write it.

The person you're probably looking for is Dan Austin, but I can't track 
him down.

Yeah, the lines in that makefile which do it are:

app_cbmysql.o: app_cbmysql.c
$(CC) -pipe -I/usr/include/mysql -L/usr/lib/mysql $(CFLAGS) -c -o 
app_cbmysql.o app_cbmysql.c

app_cbmysql.so: app_cbmysql.o
$(CC) -shared -Xlinker -x -o $@ $< -I/usr/include/mysql 
-L/usr/lib/mysql -lmysqlclient



-- 
Cheers,

Matt Riddell
Director
___

http://www.venturevoip.com/news.php (Daily Asterisk News)
http://www.venturevoip.com/st.php (SmoothTorque Predictive Dialer)
http://www.venturevoip.com/c3.php (ConduIT3 PABX Systems)

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

AstriCon 2009 - October 13 - 15 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] Asterisk Web Meetme module not loading

2009-08-31 Thread Matt Riddell
On 1/09/09 5:19 PM, Glen Ganderton wrote:
>
> app_cbmysql.c:37:1: warning: "AST_MODULE" redefined
> : warning: this is the location of the previous definition
> app_cbmysql.c: In function âcheckMaxâ:
> app_cbmysql.c:116: warning: implicit declaration of function
> âast_say_numberâ
> app_cbmysql.c: In function âroomQueryâ:
> app_cbmysql.c:181: warning: unused variable âeatimeâ
> app_cbmysql.c:337: warning: control reaches end of non-void function

I'm not sure how Asterisk is supposed to know that this requires a link 
to MySQL without being told.

Are you using the latest version of the app_cbmysql?

It looks like it needs to be updated for the latest version.

Alternatively it may say somewhere on their website which version of 
Asterisk this works with?

-- 
Cheers,

Matt Riddell
Director
___

http://www.venturevoip.com/news.php (Daily Asterisk News)
http://www.venturevoip.com/st.php (SmoothTorque Predictive Dialer)
http://www.venturevoip.com/c3.php (ConduIT3 PABX Systems)

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

AstriCon 2009 - October 13 - 15 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] Asterisk Web Meetme module not loading

2009-08-31 Thread Glen Ganderton
On Tue, Sep 1, 2009 at 3:06 PM, Matt Riddell  wrote:

> On 1/09/09 4:54 PM, Glen wrote:
> > Parsing '/etc/asterisk/cbmysql.conf': Found
> > asterisk: symbol lookup error:
> /usr/lib/asterisk/modules/app_cbmysql.so:
> > undefined symbol: mysql_init
> >> ldd /usr/lib/asterisk/modules/app_cbmysql.so
> > This is the output
> >
> > linux-gate.so.1 =>  (0xe000)
> > libpthread.so.0 =>  /lib/libpthread.so.0 (0xb7f6)
> > libc.so.6 =>  /lib/libc.so.6 (0xb7e2d000)
> > /lib/ld-linux.so.2 (0x8000)
>
> Er weird - so it's not even requesting a link to the mysql library.
>
> Looks like the linking somehow went wrong - if it can't find mysql_init
> and it doesn't look for it then surely something went wrong at the
> linking stage.
>
> Can you post me the output of the compilation?
>
> --
> Cheers,
>
> Matt Riddell
> Director
>


When compiling the module I simply recompiled asterisk (I was told this is
the best way), below is the output of that.

remote:/usr/src/asterisk-1.4.20.1 # make && make install
Generating input for menuselect ...
menuselect/menuselect --check-deps menuselect.makeopts
Generating embedded module rules ...
make[1]: Nothing to be done for `all'.
make[1]: Nothing to be done for `all'.
make[1]: Nothing to be done for `all'.
make[1]: Nothing to be done for `all'.
make[1]: Nothing to be done for `all'.
   [CC] app_cbmysql.c -> app_cbmysql.o
app_cbmysql.c:37:1: warning: "AST_MODULE" redefined
: warning: this is the location of the previous definition
app_cbmysql.c: In function âcheckMaxâ:
app_cbmysql.c:116: warning: implicit declaration of function
âast_say_numberâ
app_cbmysql.c: In function âroomQueryâ:
app_cbmysql.c:181: warning: unused variable âeatimeâ
app_cbmysql.c:337: warning: control reaches end of non-void function
   [LD] app_cbmysql.o -> app_cbmysql.so
make[1]: Nothing to be done for `all'.
make[1]: Nothing to be done for `all'.
make[1]: Nothing to be done for `all'.
make[1]: Nothing to be done for `all'.
make[1]: Nothing to be done for `all'.
 +- Asterisk Build Complete -+
 + Asterisk has successfully been built, and +
 + can be installed by running:  +
 +   +
 +   make install+
 +---+
menuselect/menuselect --check-deps menuselect.makeopts
Generating embedded module rules ...
make[1]: Nothing to be done for `all'.
make[1]: Nothing to be done for `all'.
make[1]: Nothing to be done for `all'.
make[1]: Nothing to be done for `all'.
make[1]: Nothing to be done for `all'.
make[1]: Nothing to be done for `all'.
make[1]: Nothing to be done for `all'.
make[1]: Nothing to be done for `all'.
make[1]: Nothing to be done for `all'.
make[1]: Nothing to be done for `all'.
make[1]: Nothing to be done for `all'.
if [ x`/usr/bin/id -un` = xroot ]; then CFLAGS=" -pipe -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g3 -include
/usr/src/asterisk-1.4.20.1/include/asterisk/autoconfig.h -march=i686 " sh
build_tools/mkpkgconfig /usr/lib/pkgconfig; fi
mkdir -p /var/lib/asterisk/static-http
for x in static-http/*; do \
/usr/bin/install -c -m 644 $x /var/lib/asterisk/static-http
; \
done
mkdir -p /var/lib/asterisk/images
for x in images/*.jpg; do \
/usr/bin/install -c -m 644 $x /var/lib/asterisk/images ; \
done
mkdir -p /var/lib/asterisk/agi-bin
make -C sounds install
make[1]: Entering directory `/usr/src/asterisk-1.4.20.1/sounds'
make[1]: Leaving directory `/usr/src/asterisk-1.4.20.1/sounds'
mkdir -p /usr/lib/asterisk/modules
mkdir -p /usr/sbin
mkdir -p /etc/asterisk
mkdir -p /usr/bin
mkdir -p /var/run
mkdir -p /var/spool/asterisk/voicemail
mkdir -p /var/spool/asterisk/dictate
mkdir -p /var/spool/asterisk/system
mkdir -p /var/spool/asterisk/tmp
mkdir -p /var/spool/asterisk/meetme
mkdir -p /var/spool/asterisk/monitor
make[1]: Entering directory `/usr/src/asterisk-1.4.20.1/utils'
for x in astman stereorize streamplayer aelparse muted; do \
if [ "$x" != "none" ]; then \
/usr/bin/install -c -m 755 $x /usr/sbin/$x; \
fi; \
done
make[1]: Leaving directory `/usr/src/asterisk-1.4.20.1/utils'
make[1]: Entering directory `/usr/src/asterisk-1.4.20.1/agi'
mkdir -p /var/lib/asterisk/agi-bin
for x in agi-test.agi eagi-test eagi-sphinx-test jukebox.agi; do
/usr/bin/install -c -m 755 $x /var/lib/asterisk/agi-bin ; done
make[1]: Leaving directory `/usr/src/asterisk-1.4.20.1/agi'
make[1]: Entering directory `/usr/src/asterisk-1.4.20.1/res'
for x in res_adsi.so res_agi.so res_clioriginate.so res_convert.so
res_features.so res_indications.so res_monitor.so res_musiconhold.so
res_smdi.so res_speech.so; do /usr/bin/install -c -m 755 $x
/usr/lib/asterisk/modules ; done
make[1]: Leaving directory `/usr/src/asterisk-1.4.20.1/res'
make[1]: Entering directory `/usr/src/asterisk-1.4.20.1/channels'
for x in chan_agent.so chan_iax2.so chan_local.so chan_mgcp.s

Re: [asterisk-users] Asterisk Web Meetme module not loading

2009-08-31 Thread Matt Riddell
On 1/09/09 4:54 PM, Glen wrote:
> Parsing '/etc/asterisk/cbmysql.conf': Found
> asterisk: symbol lookup error: /usr/lib/asterisk/modules/app_cbmysql.so:
> undefined symbol: mysql_init
>> ldd /usr/lib/asterisk/modules/app_cbmysql.so
> This is the output
>
> linux-gate.so.1 =>  (0xe000)
> libpthread.so.0 =>  /lib/libpthread.so.0 (0xb7f6)
> libc.so.6 =>  /lib/libc.so.6 (0xb7e2d000)
> /lib/ld-linux.so.2 (0x8000)

Er weird - so it's not even requesting a link to the mysql library.

Looks like the linking somehow went wrong - if it can't find mysql_init 
and it doesn't look for it then surely something went wrong at the 
linking stage.

Can you post me the output of the compilation?

-- 
Cheers,

Matt Riddell
Director
___

http://www.venturevoip.com/news.php (Daily Asterisk News)
http://www.venturevoip.com/st.php (SmoothTorque Predictive Dialer)
http://www.venturevoip.com/c3.php (ConduIT3 PABX Systems)

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

AstriCon 2009 - October 13 - 15 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] Asterisk Web Meetme module not loading

2009-08-31 Thread Glen
Matt Riddell wrote:
> On 1/09/09 4:31 PM, Glen wrote:
>   
>> Matt Riddell wrote:
>> 
>>> On 31/08/09 2:33 PM, Glen wrote:
>>>
>>>   
 I have asterisk 1.4.21 and web meetme (latest release 3.1) I have also
 installed the latest versions of mysql and php. I followed the readme
 file that came with the web meetme app and everything seemed to go fine
 up until I realised the module wasnt being loaded. When I stop asterisk
 and try to start it, it errors out and does not load and I get the
 following message:

 Parsing '/etc/asterisk/cbmysql.conf': Found
 asterisk: symbol lookup error: /usr/lib/asterisk/modules/app_cbmysql.so:
 undefined symbol: mysql_init

 
>>> Likely you don't have mysql-devel libraries installed - though I wonder
>>> how it would have compiled.
>>>
>>> mysql_init is a function provided by the libmysqlclient library - if you
>>> didn't compile app_cbmysql.so yourself, you could type ldd
>>> app_cbmysql.so to see what it links to then check your lib directory to
>>> see if you have the same - you might have 64 bit when it was compiled
>>> for 32 bit or something
>>> \
>>>   
>> Hi Matt,
>>
>> I have the following mysql packages installed
>>
>> MySQL-client-community-5.1.37
>> MySQL-devel-community-5.1.37
>> MySQL-server-community-5.1.37
>> MySQL-shared-community-5.1.37
>>
>> Also I get no errors when compiling app_cbmysql.so (I do compile this
>> from source)
>> 
>
> What do you get if you type:
>
> ldd /usr/lib/asterisk/modules/app_cbmysql.so
>
>   

This is the output

linux-gate.so.1 => (0xe000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb7f6)
libc.so.6 => /lib/libc.so.6 (0xb7e2d000)
/lib/ld-linux.so.2 (0x8000)



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

AstriCon 2009 - October 13 - 15 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] Asterisk Web Meetme module not loading

2009-08-31 Thread Matt Riddell
On 1/09/09 4:31 PM, Glen wrote:
> Matt Riddell wrote:
>> On 31/08/09 2:33 PM, Glen wrote:
>>
>>> I have asterisk 1.4.21 and web meetme (latest release 3.1) I have also
>>> installed the latest versions of mysql and php. I followed the readme
>>> file that came with the web meetme app and everything seemed to go fine
>>> up until I realised the module wasnt being loaded. When I stop asterisk
>>> and try to start it, it errors out and does not load and I get the
>>> following message:
>>>
>>> Parsing '/etc/asterisk/cbmysql.conf': Found
>>> asterisk: symbol lookup error: /usr/lib/asterisk/modules/app_cbmysql.so:
>>> undefined symbol: mysql_init
>>>
>>
>> Likely you don't have mysql-devel libraries installed - though I wonder
>> how it would have compiled.
>>
>> mysql_init is a function provided by the libmysqlclient library - if you
>> didn't compile app_cbmysql.so yourself, you could type ldd
>> app_cbmysql.so to see what it links to then check your lib directory to
>> see if you have the same - you might have 64 bit when it was compiled
>> for 32 bit or something
>> \
> Hi Matt,
>
> I have the following mysql packages installed
>
> MySQL-client-community-5.1.37
> MySQL-devel-community-5.1.37
> MySQL-server-community-5.1.37
> MySQL-shared-community-5.1.37
>
> Also I get no errors when compiling app_cbmysql.so (I do compile this
> from source)

What do you get if you type:

ldd /var/lib/asterisk/modules/app_cbmysql.so

-- 
Cheers,

Matt Riddell
Director
___

http://www.venturevoip.com/news.php (Daily Asterisk News)
http://www.venturevoip.com/st.php (SmoothTorque Predictive Dialer)
http://www.venturevoip.com/c3.php (ConduIT3 PABX Systems)

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

AstriCon 2009 - October 13 - 15 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] Asterisk Web Meetme module not loading

2009-08-31 Thread Matt Riddell
I meant /usr/lib not /var/lib sorry

-- 
Cheers,

Matt Riddell
Director
___

http://www.venturevoip.com/news.php (Daily Asterisk News)
http://www.venturevoip.com/st.php (SmoothTorque Predictive Dialer)
http://www.venturevoip.com/c3.php (ConduIT3 PABX Systems)

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

AstriCon 2009 - October 13 - 15 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] Asterisk Web Meetme module not loading

2009-08-31 Thread Glen
Matt Riddell wrote:
> On 31/08/09 2:33 PM, Glen wrote:
>   
>> I have asterisk 1.4.21 and web meetme (latest release 3.1) I have also
>> installed the latest versions of mysql and php. I followed the readme
>> file that came with the web meetme app and everything seemed to go fine
>> up until I realised the module wasnt being loaded. When I stop asterisk
>> and try to start it, it errors out and does not load and I get the
>> following message:
>>
>> Parsing '/etc/asterisk/cbmysql.conf': Found
>> asterisk: symbol lookup error: /usr/lib/asterisk/modules/app_cbmysql.so:
>> undefined symbol: mysql_init
>> 
>
> Likely you don't have mysql-devel libraries installed - though I wonder 
> how it would have compiled.
>
> mysql_init is a function provided by the libmysqlclient library - if you 
> didn't compile app_cbmysql.so yourself, you could type ldd 
> app_cbmysql.so to see what it links to then check your lib directory to 
> see if you have the same - you might have 64 bit when it was compiled 
> for 32 bit or something
> \
Hi Matt,

I have the following mysql packages installed

MySQL-client-community-5.1.37
MySQL-devel-community-5.1.37
MySQL-server-community-5.1.37
MySQL-shared-community-5.1.37

Also I get no errors when compiling app_cbmysql.so (I do compile this 
from source)

Any idea's?

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

AstriCon 2009 - October 13 - 15 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] Asterisk Web Meetme module not loading

2009-08-30 Thread Matt Riddell
On 31/08/09 2:33 PM, Glen wrote:
> I have asterisk 1.4.21 and web meetme (latest release 3.1) I have also
> installed the latest versions of mysql and php. I followed the readme
> file that came with the web meetme app and everything seemed to go fine
> up until I realised the module wasnt being loaded. When I stop asterisk
> and try to start it, it errors out and does not load and I get the
> following message:
>
> Parsing '/etc/asterisk/cbmysql.conf': Found
> asterisk: symbol lookup error: /usr/lib/asterisk/modules/app_cbmysql.so:
> undefined symbol: mysql_init

Likely you don't have mysql-devel libraries installed - though I wonder 
how it would have compiled.

mysql_init is a function provided by the libmysqlclient library - if you 
didn't compile app_cbmysql.so yourself, you could type ldd 
app_cbmysql.so to see what it links to then check your lib directory to 
see if you have the same - you might have 64 bit when it was compiled 
for 32 bit or something.

-- 
Cheers,

Matt Riddell
Director
___

http://www.venturevoip.com/news.php (Daily Asterisk News)
http://www.venturevoip.com/st.php (SmoothTorque Predictive Dialer)
http://www.venturevoip.com/c3.php (ConduIT3 PABX Systems)

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

AstriCon 2009 - October 13 - 15 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


[asterisk-users] Asterisk Web Meetme module not loading

2009-08-30 Thread Glen
I have asterisk 1.4.21 and web meetme (latest release 3.1) I have also 
installed the latest versions of mysql and php. I followed the readme 
file that came with the web meetme app and everything seemed to go fine 
up until I realised the module wasnt being loaded. When I stop asterisk 
and try to start it, it errors out and does not load and I get the 
following message:

Parsing '/etc/asterisk/cbmysql.conf': Found
asterisk: symbol lookup error: /usr/lib/asterisk/modules/app_cbmysql.so: 
undefined symbol: mysql_init

Has anybody seen this error message or have any idea what the problem 
could possibly be?

If more information is required please let me know and I will post up 
any config files you need.

Thanks


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

AstriCon 2009 - October 13 - 15 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