[asterisk-users] asterisk realtime and creating "new" contexts

Saul Bejarano saul at procomm100.com
Fri Aug 15 12:56:52 CDT 2008


I took it out of the field name used by FreePBX on the database.
If you install FreePBX you can see it on the mysql table list.

Saul

Todd Fulton wrote:
> hi saul,
> 
> could you give me more info on the "VMX-CONTEXT" concept?  i tried to 
> google it, but could find nothing.
> 
> i am trying to do exactly what you state in terms of creating a virtual 
> slice of the box for each user.  thanks!
> 
> 
> todd
> 
>     -------- Original Message --------
>     Subject: Re: [asterisk-users] asterisk realtime and creating "new"
>     contexts
>     From: Saul Bejarano <saul at procomm100.com>
>     Date: Thu, August 14, 2008 8:01 pm
>     To: asterisk-users at lists.digium.com
> 
> 
>     The VMX-CONTEXT can be managed from database
> 
>     mysql> select * from globals;
>     But you will have to specify the same on each extension under sip
>     once the extension under table sip is the one that calls the CONTEXT to
>     route the call.
> 
>     | PARKNOTIFY | SIP/200 |
>     | RECORDEXTEN | "" |
>     | RINGTIMER | 15 |
>     | DIRECTORY | last |
>     | AFTER_INCOMING | |
>     | IN_OVERRIDE | forcereghours |
>     | REGTIME | 7:55-17:05 |
>     | REGDAYS | mon-fri |
>     | DIRECTORY_OPTS | |
>     | DIALOUTIDS | 1/2/3/4/5/6/ |
>     | OUT_1 | ZAP/g0 |
>     | VM_PREFIX | * |
>     | VM_OPTS | |
>     | VM_GAIN | |
>     | VM_DDTYPE | u |
>     | TIMEFORMAT | kM |
>     | TONEZONE | us |
>     | ALLOW_SIP_ANON | yes |
>     | VMX_CONTEXT | from-internal
> 
>     It will make it sort of complicated thought because it was build to be
>     the generic element routing the calls out of the SIP Registrar, by
>     having individual Context what you are trying to do is partition one
>     Asterisk box to function as multiple offering invidual termination to
>     each one of your users or complete management of a virtual slice of the
>     box :)
> 
>     Todd Fulton wrote:
>      > Hi,
>      >
>      > I'm trying to create a multi-tennant asterisk installation ....
>     where
>      > each of my customers has its own context. Well, I've got asterisk
>      > realtime working, and I can add/update extensions to existing
>     contexts
>      > in extensions.conf without a problem. However, when I attempt to
>     create
>      > database entries with a context that is NOT in extensions.conf, I
>     get an
>      > error "invalid extension".
>      >
>      > I've found several posts around the net asking this question, but no
>      > answers. Has anyone out there dealt with this problem?
>      >
>      > Any help would be great!
>      >
>      >
>      > Todd
>      >
>      >
>      >
>     ------------------------------------------------------------------------
>      >
>      > _______________________________________________
>      > -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>      >
>      > AstriCon 2008 - September 22 - 25 Phoenix, Arizona
>      > Register Now: http://www.astricon.net
>      >
>      > asterisk-users mailing list
>      > To UNSUBSCRIBE or update options visit:
>      > http://lists.digium.com/mailman/listinfo/asterisk-users
> 
> 
>     _______________________________________________
>     -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> 
>     AstriCon 2008 - September 22 - 25 Phoenix, Arizona
>     Register Now: http://www.astricon.net
> 
>     asterisk-users mailing list
>     To UNSUBSCRIBE or update options visit:
>     http://lists.digium.com/mailman/listinfo/asterisk-users
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> 
> AstriCon 2008 - September 22 - 25 Phoenix, Arizona
> Register Now: http://www.astricon.net
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list