[asterisk-users] macros in Realtime

Benjamin Jacob benjamin.jacob at masconit.com
Wed Sep 6 04:58:07 MST 2006


Thanks Simon,
will try and get back  on this one .

Ben.

Simon Woodhead wrote:

> 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 
> <mailto: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
>     <http://Easynews.com> --
>
>     asterisk-users mailing list
>     To UNSUBSCRIBE or update options visit:
>        http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>--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
>  
>


More information about the asterisk-users mailing list