Matthew Boehm
2004-Dec-28 14:24 UTC
[Asterisk-Users] WARNING[22314]: No such switch 'Realtime'
> /usr/bin/ld: /usr/lib/mysql/libmysqlclient.a(libmysql.o): relocation > R_X86_64_32 can not be used when making a shared object; recompile > with -fPIC > /usr/lib/mysql/libmysqlclient.a: could not read symbols: Bad value > collect2: ld returned 1 exit statusNever seen that before. What OS are you using? What version of MySQL?> Dec 29 12:58:22 WARNING[22260]: No such switch 'Realtime' > Dec 29 12:58:22 WARNING[22260]: No such switch 'Realtime' > Dec 29 12:58:22 WARNING[22260]: Channel 'SIP/gafana-8615' sent intoinvalid> extension 's' in context 'default', but no invalid handlerThese warnings tell me that you are not using most recent version of asterisk. What does "show version" say? -Matthew
Gabriel Afana
2004-Dec-28 14:30 UTC
[Asterisk-Users] WARNING[22314]: No such switch 'Realtime'
Im pulling my hair out over here playing with this all night last night and all morning....what am I missing!?!? I tried getting the Realtime extensions working...but I've been running into lots of problems and im getting frustrated. first problem was the asterisk-addons wasn't compiling right saying: /usr/bin/ld: /usr/lib/mysql/libmysqlclient.a(libmysql.o): relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC /usr/lib/mysql/libmysqlclient.a: could not read symbols: Bad value collect2: ld returned 1 exit status But it still produced the res_config_mysql.so file so I copied it to my modules directory. I have this in my extconfig.conf: [settings] s => mysql,user,extensions And this is in my extensions.conf file: [sports] switch => Realtime/sports@s When I run the sports context, it calls my phone but immediately hangs up...the error message is: Dec 29 12:58:22 WARNING[22260]: No such switch 'Realtime' Dec 29 12:58:22 WARNING[22260]: No such switch 'Realtime' Dec 29 12:58:22 WARNING[22260]: Channel 'SIP/gafana-8615' sent into invalid extension 's' in context 'default', but no invalid handler Gabe -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20041228/45c4f658/attachment.htm
Gabriel Afana
2004-Dec-28 14:41 UTC
[Asterisk-Users] WARNING[22314]: No such switch 'Realtime'
> > /usr/bin/ld: /usr/lib/mysql/libmysqlclient.a(libmysql.o): relocation > > R_X86_64_32 can not be used when making a shared object; recompile > > with -fPIC > > /usr/lib/mysql/libmysqlclient.a: could not read symbols: Bad value > > collect2: ld returned 1 exit status > > Never seen that before. What OS are you using? What version of MySQL?I am running Redhat ES Version 3 Update 4 on AMD64 platform I just installed MySQL 4.1.8 (do any DBIs or anything needs to be installed?)> > Dec 29 12:58:22 WARNING[22260]: No such switch 'Realtime' > > Dec 29 12:58:22 WARNING[22260]: No such switch 'Realtime' > > Dec 29 12:58:22 WARNING[22260]: Channel 'SIP/gafana-8615' sent into > invalid > > extension 's' in context 'default', but no invalid handler > > These warnings tell me that you are not using most recent version of > asterisk. What does "show version" say?[root@g0 asterisk]# /usr/sbin/asterisk -r Asterisk 1.0.3, Copyright (C) 1999-2004 Digium. Written by Mark Spencer <markster@digium.com> ========================================================================Connected to Asterisk 1.0.3 currently running on g0 (pid = 22313) g0*CLI> show version Asterisk 1.0.3 built by root@g0.gafana.com on a x86_64 running Linux Did I set everything up right? This is the DB setup: MySQL: + users (DB name) + extensions (Table name) + I dont have any extensions in there yet I dont have any extensions in the database yet but I dont see why that would be a reason * says that Realtime switch doesn't exist. Gabe