[asterisk-users] Asterisk Realtime Macros
Jon Scottorn
jscottorn at possibilityforge.com
Mon Jul 24 09:47:19 MST 2006
Hi,
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.
I have setup two extensions 101 and 102.
If I setup the extension like such:
exten => 101,1,Dial(SIP/101)
exten => 102,1,Dial)SIP/102)
I can dial back and forth between the two phones.
When I switch it to use the stdexten macro and change the extension like
such
exten => 101,1,Macro(stdexten,101,sip/101)
exten => 102,1,Macro(stdexten,102,sip/102)
I can not dial each extension and this is what reports on asterisk cli:
-- SIP Seeding peer from astdb: '102' at 102 at 209.33.206.3:5060 for 3600
-- SIP Seeding peer from astdb: '101' at 101 at 209.33.206.3:1093 for
3600
-- Executing Macro("SIP/101-081a7f90", "stdexten,102,sip/102")
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'
== Auto fallthrough, channel 'SIP/101-081a7f90' status is 'UNKNOWN'
-- SIP Seeding peer from astdb: '101' at 101 at 209.33.206.3:1093 for
3600
My question is what has to be in the mysql extenstions_table to get the
macro to work?
Here is what is in my extensions_table:
mysql> select * from extensions_table;
+----+---------+-------+----------+-------+----------------------+
| id | context | exten | priority | app | appdata |
+----+---------+-------+----------+-------+----------------------+
| 1 | default | 101 | 1 | Macro | stdexten,101,sip/101 |
| 2 | default | 102 | 1 | Macro | stdexten,102,sip/102 |
Thanks in advance for any help.
Jon Scottorn
Systems Administrator
The Possibility Forge, Inc.
http://www.possibilityforge.com
435.635.0591 x.1004
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060724/bfd28916/attachment.htm
More information about the asterisk-users
mailing list