<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.10.2">
</HEAD>
<BODY>
Hi,<BR>
<BR>
I am trying to get asterisk Realtime to work. I have a fresh installed 1.2.10 setup on a debian system. I have taken the defaul setup and put it into the mysql database. <BR>
I have setup two extensions 101 and 102. <BR>
<BR>
If I setup the extension like such:<BR>
<BR>
exten => 101,1,Dial(SIP/101)<BR>
exten => 102,1,Dial)SIP/102)<BR>
<BR>
I can dial back and forth between the two phones.<BR>
<BR>
When I switch it to use the stdexten macro and change the extension like such<BR>
<BR>
exten => 101,1,Macro(stdexten,101,sip/101)<BR>
exten => 102,1,Macro(stdexten,102,sip/102)<BR>
<BR>
I can not dial each extension and this is what reports on asterisk cli:<BR>
<BR>
-- SIP Seeding peer from astdb: '102' at 102@209.33.206.3:5060 for 3600<BR>
-- SIP Seeding peer from astdb: '101' at 101@209.33.206.3:1093 for 3600<BR>
-- Executing Macro("SIP/101-081a7f90", "stdexten,102,sip/102")<BR>
Jul 24 10:36:37 WARNING[23358]: app_macro.c:149 macro_exec: No such context 'macro-stdexten,102,sip/102' for macro 'stdexten,102,sip/102'<BR>
== Auto fallthrough, channel 'SIP/101-081a7f90' status is 'UNKNOWN'<BR>
-- SIP Seeding peer from astdb: '101' at 101@209.33.206.3:1093 for 3600<BR>
<BR>
My question is what has to be in the mysql extenstions_table to get the macro to work?<BR>
<BR>
Here is what is in my extensions_table:<BR>
<BR>
mysql> select * from extensions_table;<BR>
+----+---------+-------+----------+-------+----------------------+<BR>
| id | context | exten | priority | app | appdata |<BR>
+----+---------+-------+----------+-------+----------------------+<BR>
| 1 | default | 101 | 1 | Macro | stdexten,101,sip/101 | <BR>
| 2 | default | 102 | 1 | Macro | stdexten,102,sip/102 |<BR>
<BR>
Thanks in advance for any help.<BR>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<B><I><FONT SIZE="4"><FONT COLOR="#000080">Jon Scottorn</FONT></FONT></I></B><BR>
<I><FONT COLOR="#000080">Systems Administrator</FONT></I><BR>
<I><FONT COLOR="#000080">The Possibility Forge, Inc.</FONT></I><BR>
<I><FONT COLOR="#000080">http://www.possibilityforge.com</FONT></I><BR>
<I><FONT COLOR="#000080">435.635.0591 x.1004</FONT></I>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>