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

</blockquote></body></html>