On Monday 24 July 2006 19:47, Jon Scottorn wrote: > 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: > <snit> > 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 | > You should substitute commas with a "pipe"; i.e. your "select" should look: | 1 | default | 101 | 1 | Macro | stdexten|101|sip/101 | | 2 | default | 102 | 1 | Macro | stdexten|102|sip/102 | On the wiki is complete mess with the commas ...
Benchev _______________________________________________ --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
