Re: [asterisk-users] macros in Realtime

2006-09-06 Thread Simon Woodhead
Hi Ben,Yes it is but you need to remember to still include[macro-stdpbx1exten]switch = Realtime/in your extensions.confSimonOn 9/6/06, 
Benjamin Jacob [EMAIL PROTECTED] 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 inMysql db: 40 | pbx1 | _[345]. |
1 | Macro| stdpbx1exten|${EXTEN}I get errors like :Sep6 11:18:53 WARNING[14493]: app_macro.c:154 macro_exec: No suchcontext '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
___
--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


Re: [asterisk-users] macros in Realtime

2006-09-06 Thread Benjamin Jacob

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* [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] 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
 


___
--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


[asterisk-users] macros in Realtime

2006-09-05 Thread Benjamin Jacob

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