Hi Ben,<br><br>Yes it is but you need to remember to still include<br><br>[macro-stdpbx1exten]<br>switch =&gt; Realtime/<br><br>in your extensions.conf<br><br>Simon<br><br><div><span class="gmail_quote">On 9/6/06, <b class="gmail_sendername">
Benjamin Jacob</b> &lt;<a href="mailto:benjamin.jacob@masconit.com">benjamin.jacob@masconit.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello all,<br>Another question related to Realtime.<br>Is it possible to call macros using Realtime arch?<br><br>I have a macro definition in table extensions_conf in my MySql db as:<br> 30&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp; macro-stdpbx1exten&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp; s&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |
<br>1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp; SET&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp; fwdedNum=${DB(CFWD/${ARG1})}<br><br>And calling the Macro using another entry in table extensions_conf in<br>Mysql db:<br><br> 40&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp; pbx1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp; _[345].&nbsp;&nbsp;&nbsp;&nbsp; |
<br>1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp; Macro&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp; stdpbx1exten|${EXTEN}<br><br>I get errors like :<br><br>Sep&nbsp;&nbsp;6 11:18:53 WARNING[14493]: app_macro.c:154 macro_exec: No such<br>context 'macro-stdpbx1exten' for macro 'stdpbx1exten'
<br><br>Are there issues with the same??<br><br>TiA<br><br>-Ben.<br>_______________________________________________<br>--Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com</a> --<br><br>asterisk-users mailing list
<br>To UNSUBSCRIBE or update options visit:<br>&nbsp;&nbsp; <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>