[asterisk-users] Macro issue under 1.8.5

--[ UxBoD ]-- uxbod at splatnix.net
Mon Jul 18 09:20:22 CDT 2011


----- Original Message -----
> ----- Original Message -----
> > On Sat, 16 Jul 2011 11:01:07 +0100 (BST)
> > "--[ UxBoD ]--" <uxbod at splatnix.net> wrote:
> > 
> > > ----- Original Message -----
> > > > On 11-07-15 02:18 PM, Doug Lytle wrote:
> > > > > --[ UxBoD ]-- wrote:
> > > > >> I back leveled to 1.8.3 and that works fine. What am I
> > > > >> missing
> > > > >> as
> > > > >> app_macro has been installed okay?
> > > > >
> > > > > Macro was depreciated in 1.6 and most likely removed in 1.8.5
> > > > >
> > > > Removed, no.  However in future version of Asterisk it will not
> > > > be
> > > > enabled in menuselect by default.
> > > > 
> > > > @OP: *CLI> module load app_macro.so
> > > > 
> > > 
> > > Same problem even after performing the above load. module does
> > > exist:
> > 
> > Watch the console carefully for errors when you run that command.
> >  They
> > should tell you exactly what's wrong.
> > 
> > Also, it may help to inspect the differences in apps/app_macro.c
> > between
> > 1.8.3 and 1.8.5.
> > 
> 
> Well it seems like its getting worse!
> 
> [Jul 18 11:36:00] WARNING[28936]: pbx.c:4071 pbx_extension_helper: No
> application 'Playback' for extension (home, 400, 1)
> 
> Looking in pbx.c it would appear it cannot find the application in
> some sort of cache:
> 
> if (!e->cached_app)
>   e->cached_app = pbx_findapp(e->app);
>   app = e->cached_app;
>   ast_unlock_contexts();
>   if (!app) {
>      ast_log(LOG_WARNING, "No application '%s' for extension (%s, %s,
>      %d)\n", e->app, context, exten, priority);
>      return -1;
>   }
> 
> Any thoughts ?

Okay, I cleared out /usr/lib/asterisk/modules plus my build directory and started with a fresh extract of asterisk tar file. This time all seems a lot better apart from:

[Jul 18 12:25:38] ERROR[14082] pbx.c: Function CALLERID not registered

for which I need to add into modules.conf:

load => func_callerid.so

Why is this need now as it was not necessary in 1.8.3 ?
-- 
Thanks, Phil


More information about the asterisk-users mailing list