[asterisk-users] Asterisk/Realtime and MySQL

Tilghman Lesher tlesher at digium.com
Sat Oct 2 17:45:28 CDT 2010


On Friday 01 October 2010 04:28:07 Phibee Network Operation Center wrote:
>   Le 01/10/2010 11:10, Steve Howes a écrit :
> > On 1 Oct 2010, at 09:52, Phibee Network Operation Center wrote:
> >> That's work and in my extension.conf, i have:
> >>      [as5300-incoming]
> >>              switch =>  Realtime
> >>
> >> and in extconfig.conf
> >>          extensions =>  mysql,general,VOIP_Extensions
> >> A lot of Extension are into the table VOIP_Extensions.
> >>
> >> I am search to know if i can add a :
> >>      [beta-incoming]
> >>              switch =>  Realtime
> >>
> >>      but not use the table "VOIP_Extensions" but "VOIP_Extensions_Beta"
> >>
> >>
> >> Anyone know if it's possible ? (use two table for extension)
> >
> > Dont think you can use two tables.. But you're using two contexts there
> > right? Just have your 'beta' stuff in the same table, but different
> > context.
> >
> > S
>
> Yes but i want two table, not two context in one table.

Then create two switch statements, in whatever order you want the tables
checked.

-- 
Tilghman Lesher
Digium, Inc. | Senior Software Developer
twitter: Corydon76 | IRC: Corydon76-dig (Freenode)
Check us out at: www.digium.com & www.asterisk.org



More information about the asterisk-users mailing list