[asterisk-users] Dialplan not reading MySQL table

bbench at mail.bg bbench at mail.bg
Fri Apr 6 03:42:45 MST 2007


Цитат на писмо от Doug Shubert <doug at accessgate.net>:

> Hello,
>
> I'm trying to use MySQL for Dialplans and have followed
> the
> Asterisk RealTime Extensions setup.
>
> The MySQL table is called "extensions" and I have entered
> two records..
> ext 1000 and 2000.
>
> I also added
> switch => Realtime/default at extentions
> in extensions.conf
>
> and
> extensions => mysql,asterisk,extensions
> in extconfig.conf
>
> I do a *CLI> dialplan reload
>
> but when I show the dialplan it has "0" extensions
There is a spelling mistake in the switch statement
"extentions"
But try to use different names in extconfig.conf
for the switch and table i.e.:
exten_sions => mysql,asterisk,extensions_table
or something, and then
switch => Realtime/default at exten_sions
to avoid problems.
Benchev

-----------------------------

SCENA - Единственото БЕЗПЛАТНО списание за мобилни комуникации и технологии.
http://www.bgscena.com/



More information about the asterisk-users mailing list