<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? 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. 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 <saul@procomm100.com><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> 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>
> Hi,<br>
> <br>
> I'm trying to create a multi-tennant asterisk installation .... where <br>
> each of my customers has its own context. Well, I've got asterisk <br>
> realtime working, and I can add/update extensions to existing contexts <br>
> in extensions.conf without a problem. However, when I attempt to create <br>
> database entries with a context that is NOT in extensions.conf, I get an <br>
> error "invalid extension".<br>
> <br>
> I've found several posts around the net asking this question, but no <br>
> answers. Has anyone out there dealt with this problem?<br>
> <br>
> Any help would be great!<br>
> <br>
> <br>
> Todd<br>
> <br>
> <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>
<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>