[asterisk-users] macros in Realtime

Simon Woodhead woodheads at esms.com
Wed Sep 6 00:42:14 MST 2006


Hi Ben,

Yes it is but you need to remember to still include

[macro-stdpbx1exten]
switch => Realtime/

in your extensions.conf

Simon

On 9/6/06, Benjamin Jacob <benjamin.jacob at masconit.com> wrote:
>
> Hello all,
> Another question related to Realtime.
> Is it possible to call macros using Realtime arch?
>
> I have a macro definition in table extensions_conf in my MySql db as:
> 30     |     macro-stdpbx1exten     |     s             |
> 1             |     SET        |     fwdedNum=${DB(CFWD/${ARG1})}
>
> And calling the Macro using another entry in table extensions_conf in
> Mysql db:
>
> 40     |     pbx1                           |     _[345].     |
> 1             |     Macro      |     stdpbx1exten|${EXTEN}
>
> I get errors like :
>
> Sep  6 11:18:53 WARNING[14493]: app_macro.c:154 macro_exec: No such
> context 'macro-stdpbx1exten' for macro 'stdpbx1exten'
>
> Are there issues with the same??
>
> TiA
>
> -Ben.
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060906/92cccf81/attachment.htm


More information about the asterisk-users mailing list