<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.24.5">
</HEAD>
<BODY>
Could one use different family-names in the Asterisk Realtime Architecture ??<BR>
<BR>
Suppose I have 3 SIP-accounts, where incoming conversations al come into a different [context].<BR>
<BR>
Now I want to put the detail of the context into a mysql database.<BR>
<BR>
So I was thinking :<BR>
<BR>
[family] =&gt; mysql,[database],[table]<BR>
extensions_sip1 =&gt; mysql,asterisk,sip1<BR>
extensions_sip2 =&gt; mysql,asterisk,sip2<BR>
extensions_sip3 =&gt; mysql,asterisk,sip3<BR>
<BR>
Then in extensions.conf I have :<BR>
<BR>
[sip1_context]<BR>
switch =&gt; Realtime/sip1_context@extensions_sip1<BR>
<BR>
[sip2_context]<BR>
switch =&gt; Realtime/<A HREF="mailto:sip2_context@extensions_sip2">sip2_context@extensions_sip2</A><BR>
<BR>
[sip3_context]<BR>
switch =&gt; Realtime/<A HREF="mailto:sip3_context@extensions_sip3">sip3_context@extensions_sip3</A><BR>
<BR>
<BR>
So now I have 1 database : Asterisk. With 3 different tables who each contain a [context] as a part of my dialplan.<BR>
<BR>
<BR>
Why would I do this ??<BR>
<BR>
In a webGUI (php+mysql) I can let the account sip1 change its dialplan, without interfering with other contexts. Account sip1 just reads and writes in table sip1.<BR>
Account sip2 just edits table sip2 and account sip3 just edits his dialplan in table sip3.<BR>
<BR>
To have these parts of the dialplan split up into different parts in different mysql-tables, I need to define different family names.<BR>
<BR>
So again my question : <B>Could one use different family-names in the Asterisk Realtime Architecture ??</B><BR>
<BR>
Greetingz,<BR>
Jonas Kellens.
</BODY>
</HTML>