<table cellspacing='0' cellpadding='0' border='0' ><tr><td style='font: inherit;'><br>hi,<br><br>actually i'm not really sure what the actual design is, basically i want to build a multi-tenant pbx.<br><br>customer A can have local extensions 100 - 110<br>customer B can also have local extensions 100 - 110<br><br>but they have to register using an accountcode. e.g Cust A is 1000 Cust B is 1001, so...<br><br>local ext 100 on Cust A will have a username: 1000100<br>local ext 100 on Cust B will have a username: 1000101<br><br>they will also have a different context, Cust A will have [context-1000] B will have [context-1001]<br><br>those are working already, but now i need to add more asterisk, with the same functionality, so the prob of one user registering on asterisk 1 another user on asterisk 2 i will try to solve using ser/openser.<br><br>if use ser/openser as a registrar, will i still be able to have a same extension number on different Customer?<br>Or
what i should do is add 1000100 on ser/open and also add 1000100 on asterisk and assign it on a certain context, but i will register on ser/openser?<br><br>sorry i'm really confused on how i can combine those two, hope you understand what i meant.<br><br>regards,<br>ron<br><br><br>--- On <b>Thu, 5/8/08, Mindaugas Kezys <i><mkezys@gmail.com></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;">From: Mindaugas Kezys <mkezys@gmail.com><br>Subject: RE: [asterisk-ha-clustering] ser/openser to load balance asterisk<br>To: ronramos1004@yahoo.com, "'Asterisk High Availability and Clustering List - Non-Commercial Discussion'" <asterisk-ha-clustering@lists.digium.com><br>Date: Thursday, May 8, 2008, 9:01 AM<br><br><div id="yiv2111173157">
<style>
<!--
_filtered #yiv2111173157 {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}
_filtered #yiv2111173157 {font-family:Tahoma;panose-1:2 11 6 4 3 5 4 4 2 4;}
_filtered #yiv2111173157 {font-family:Consolas;panose-1:2 11 6 9 2 2 4 3 2 4;}
#yiv2111173157 /* Style Definitions */
p.MsoNormal,#yiv2111173157 li.MsoNormal,#yiv2111173157 div.MsoNormal
        {margin:0cm;margin-bottom:.0001pt;font-size:12.0pt;font-family:"Times New Roman", "serif";}
#yiv2111173157 a:link,#yiv2111173157 span.MsoHyperlink
        {color:blue;text-decoration:underline;}
#yiv2111173157 a:visited,#yiv2111173157 span.MsoHyperlinkFollowed
        {color:purple;text-decoration:underline;}
#yiv2111173157 pre
        {margin:0cm;margin-bottom:.0001pt;font-size:10.0pt;font-family:"Courier New";}
#yiv2111173157 span.HTMLPreformattedChar
        {font-family:Consolas;}
#yiv2111173157 span.EmailStyle19
        {font-family:"Calibri", "sans-serif";color:#1F497D;}
#yiv2111173157 .MsoChpDefault
        {}
_filtered #yiv2111173157 {margin:3.0cm 1.0cm 2.0cm 3.0cm;}
#yiv2111173157 div.Section1
        {}
-->
</style>
<div class="Section1">
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);">Why you do not want to let OpenSER to handle registration? You
will have 1 problem less.</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"> </span></p>
<p class="MsoNormal"><span style="font-size: 10.5pt; font-family: Consolas; color: rgb(31, 73, 125);">Regards,</span></p>
<p class="MsoNormal"><span style="font-size: 10.5pt; font-family: Consolas; color: rgb(31, 73, 125);">Mindaugas Kezys</span></p>
<p class="MsoNormal"><span style="font-size: 10.5pt; font-family: Consolas; color: rgb(31, 73, 125);">http://www.kolmisoft.com</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"> </span></p>
<div style="border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color blue; border-width: medium medium medium 1.5pt; padding: 0cm 0cm 0cm 4pt;">
<div>
<div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0cm 0cm;">
<p class="MsoNormal"><b><span style="font-size: 10pt; font-family: "Tahoma","sans-serif";" lang="EN-US">From:</span></b><span style="font-size: 10pt; font-family: "Tahoma","sans-serif";" lang="EN-US"> asterisk-ha-clustering-bounces@lists.digium.com
[mailto:asterisk-ha-clustering-bounces@lists.digium.com] <b>On Behalf Of </b>ronald
ramos<br>
<b>Sent:</b> Thursday, May 08, 2008 11:37 AM<br>
<b>To:</b> Asterisk High Availability and Clustering List - Non-Commercial
Discussion<br>
<b>Subject:</b> Re: [asterisk-ha-clustering] ser/openser to load balance
asterisk</span></p>
</div>
</div>
<p class="MsoNormal"> </p>
<table class="MsoNormalTable" border="0" cellpadding="0" cellspacing="0">
<tbody><tr>
<td style="padding: 0cm;">
<p class="MsoNormal">hi,<br>
<br>
thanks for your reply. for load balancing, can i use heartbeat as a single
point for users to register? heartbeat should distribute the registration if
i'm not mistaken. what other things can i load balance aside from
registration?<br>
<br>
regards,<br>
ron<br>
<br>
--- On <b>Thu, 5/8/08, pop al <i><popescualex2xxx@yahoo.com></i></b>
wrote:</p>
<p class="MsoNormal" style="margin-bottom: 12pt;">From: pop al
<popescualex2xxx@yahoo.com><br>
Subject: Re: [asterisk-ha-clustering] ser/openser to load balance asterisk<br>
To: "Asterisk High Availability and Clustering List - Non-Commercial
Discussion" <asterisk-ha-clustering@lists.digium.com><br>
Date: Thursday, May 8, 2008, 6:55 AM</p>
<pre>Hi,<br><br> "when ser receives a request, it will ask the other 2<br><br> * servers where the request did not come from, e.g<br><br> <br><br> </pre><pre> if call originated from ask * 1 first if not then<br><br> ask * 2. Do you think there will be issues?"<br><br> <br><br> To answer your question, it depends of what you want<br><br>to do and how it's configured the 3 *'s. If you do not<br><br>want load balancing, you can procede as you did, and<br><br>make the routing between the 3 *'s.<br><br> <br><br>If you want load balancing, that it is harder.<br><br> <br><br>--- ronald ramos <ronramos1004@yahoo.com> wrote:<br><br> <br><br>> Hi,<br><br>> <br><br>> i will try to setup 3 * box, 1 ser.<br><br>> <br><br>> if none, let's say i have 4 extensions 101, 102,103<br><br>> and 104, 101 registered on * 1, 102 on * 2, 103 on *<br><br>> 3 and 104 on * 1 also.<br><br>> <br><br>> i will
define this dial plan:<br><br>> <br><br>> [dial-extension]<br><br>> exten => _1XX,1,Dial(SIP/${EXTEN}) <- look it up<br><br>> on the local first<br><br>> exten => _1XX,1,Dial(SIP/${EXTEn}@ser) <- if not on<br><br>> local, check in ser<br><br>> <br><br>> when ser receives a</pre><pre> request, it will ask the other 2<br><br>> * servers where the request did not come from, e.g<br><br>> if call originated from ask * 1 first if not then<br><br>> ask * 2. Do you think there will be issues?<br><br>> <br><br>> i also plan on installing heartbeat so users will<br><br>> only register on a single host., or can i simply use<br><br>> DNS SRV? is my setup possible? TIA<br><br>> <br><br>> regards,<br><br>> Ron<br><br>> <br><br>> ---------------------------------<br><br>> Be a better friend, newshound, and know-it-all with<br><br>>
Yahoo! Mobile. Try it now.><br><br>_______________________________________________<br><br>> --Bandwidth and Colocation Provided by<br><br>> http://www.api-digital.com--<br><br>> <br><br>> asterisk-ha-clustering mailing list<br><br>> To UNSUBSCRIBE or update options visit:<br><br>> <br><br>http://lists.digium.com/mailman/listinfo/asterisk-ha-clustering<br><br> <br><br> <br><br> <br><br> </pre><pre> <br><br>____________________________________________________________________________________<br><br>Be a better friend, newshound, and <br><br>know-it-all with Yahoo! Mobile. Try it now. <br><br>http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ<br><br> <br><br>_______________________________________________<br><br>--Bandwidth and Colocation Provided by http://www.api-digital.com--<br><br> <br><br>asterisk-ha-clustering mailing list<br><br>To UNSUBSCRIBE or update options
visit:<br><br> http://lists.digium.com/mailman/listinfo/asterisk-ha-clustering</pre></td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Calibri","sans-serif";"> </span></p>
<div class="MsoNormal" style="text-align: center;" align="center"><span style="font-size: 10pt; font-family: "Calibri","sans-serif";">
<hr align="center" size="1" width="100%">
</span></div>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Calibri","sans-serif";">Be
a better friend, newshound, and know-it-all with Yahoo! Mobile. <a rel="nofollow" target="_blank" href="http://us.rd.yahoo.com/evt=51733/*http:/mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ%20">Try
it now.</a> </span></p>
</div>
</div>
</div></blockquote></td></tr></table><br>
<hr size=1>Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. <a href="http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ "> Try it now.</a>