[Asterisk-Dev] WARNING[22314]: No such switch 'Realtime'
Gabriel Afana
adtomi at adelphia.net
Tue Dec 28 14:12:38 MST 2004
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 at 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
More information about the asterisk-dev
mailing list