<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:verdana, helvetica, sans-serif;font-size:10pt"><DIV style="FONT-SIZE: 10pt; FONT-FAMILY: verdana, helvetica, sans-serif">The issue with FreePBX is that it uses the Asterisk database to store user and device information (e.g. who is the currently logged-in user). So you need to replicate that information across multiple machines.</DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: verdana, helvetica, sans-serif"> </DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: verdana, helvetica, sans-serif">The approach we have taken is to customise FreePBX (not trivial) so that all this information is stored (and looked up) in MySQL. In addition we store the context information to enable partitioning of the dialplan. Then use MySQL replication to push the values out to multiple servers. You could use this method to enable Roaming Extensions. </DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: verdana, helvetica, sans-serif"> </DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: verdana, helvetica, sans-serif">You would need a script to push any configuration changes (since FreePBX stores config in the standard flat files) out to the various Asterisk servers (maybe using rsync) and reload the config. Alternatively you could use NFS and store the config centrally (reload still required). Regarding voicemail and recordings, you could use the same approach.</DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: verdana, helvetica, sans-serif"> </DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: verdana, helvetica, sans-serif">We don't use Branch Unification (yet). You may wish to consider OpenSER as the registrar and then farming out to the various Asterisk servers as appropriate.</DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: verdana, helvetica, sans-serif"> </DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: verdana, helvetica, sans-serif">Hope that gives you some ideas.</DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: verdana, helvetica, sans-serif"> </DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: verdana, helvetica, sans-serif">Cameron</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">----- Original Message ----<BR>From: Brandon Comouche <brandon@snofalls.com><BR>To: asterisk-users@lists.digium.com<BR>Sent: Tuesday, 13 March, 2007 6:11:12 AM<BR>Subject: [asterisk-users] FW: Seamless Multi Office Asterisk Deployment<BR><BR>
<STYLE>
<!--
_filtered {font-family:Wingdings;panose-1:5 0 0 0 0 0 0 0 0 0;}
_filtered {font-family:Verdana;panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;margin-bottom:.0001pt;font-size:12.0pt;font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;text-decoration:underline;}
p.MsoAutoSig, li.MsoAutoSig, div.MsoAutoSig
        {margin-right:0in;margin-left:0in;font-size:12.0pt;font-family:"Times New Roman";}
span.EmailStyle18
        {font-family:Arial;color:windowtext;}
span.EmailStyle19
        {font-family:Arial;color:navy;}
_filtered {margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {}
-->
</STYLE>
<DIV class=Section1>
<P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Hello</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> </SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I have a brief and a long question about a possible Asterisk deployment I am planning. </SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> </SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Long Story Short:</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I have four total offices, one main and three remote. All offices are connected using dedicated network T1 lines creating one unified network across offices. I would like to know if it is possible to set up an Asterisk system with the following capabilities:</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">- Branch Unification (I know this can be done)</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">- Branch Independence (In case of T1 network Failure, PSTN line failover at each branch)</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">- Roaming Extensions (A user can go to any office and log in to a phone – hopefully check voice mail as well)</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Basically, I am asking if Asterisk can be a system that will seamlessly operate as one big system and handle failovers as well.</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> </SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">After spending hours playing with Asterisk, reading voip-info.org, and watching this list, it seems that Asterisk can handle anything. I just would like re-assurance that I am not chasing a lost cause. A simple Yes or No answer is acceptable to me. Below I have a long version of what I am trying to do if anyone is in the mood to give me more pointers </SPAN></FONT><FONT face=Wingdings size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Wingdings">J</SPAN></FONT><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> </SPAN></FONT></P>
<DIV>
<P class=MsoAutoSig style="MARGIN: 0in 0in 0pt"><FONT face=Verdana color=black size=2><SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Verdana"> Brandon</SPAN></FONT></P>
<P class=MsoAutoSig style="MARGIN: 0in 0in 0pt"><FONT face=Verdana color=black size=2><SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Verdana">(Long Version Follows)</SPAN></FONT></P>
<P class=MsoAutoSig style="MARGIN: 0in 0in 0pt"><FONT face=Verdana color=black size=2><SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Verdana"> </SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">Long Story Version:</SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">Here is what I have to work with:</SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">- Four Offices (One main and three remote)</SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">- Dedicated T1 lines connecting three remote offices to one main office (all connections made through the main office)</SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">- Will have a T1 Voice line at the main office</SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">- Three PSTN lines at each remote office</SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt"> </SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">Essentially what I would like to do is create a system comparable to the ShoreTel ShoreGear product line (if you are familiar with it). This system will seamlessly unite all offices as one and provide failover in the case of line outage. It also allows users to roam from phone to phone across offices seamlessly. It has many more features, but those are two main features I am looking for. About 40 total phones will be deployed. To make it even more difficult, I would like all user extensions to start the same (i.e. across offices all extensions are 5### with no discernable pattern).</SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt"> </SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">Progress so far:</SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">At this time I have determined that I will need a server at each office as well as a T1 card (TE110P) at the Main office and the four port TDM PSTN cards at each remote office. I plan on using the Polycom IP 430 or 501 (Undecided, 501 if required). I have been using TrixBox to this point, would like to continue if possible. It appears that I will want to use DunDi in some fashion to unite the branches.</SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt"> </SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">My main roadblock right now is trying to figure out how to get all the information across the offices at the same time (extensions, voicemail). I have successfully had two boxes communicate, but what I am looking for is much more complex I feel. I have thought of synchronized MySQL databases, but I do not know if that will work the way I wish.</SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt"> </SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">If anyone reads this far ;) I am looking for suggestions for routes I might consider or places I should/could look for more information. I am relatively new to Asterisk, but I am not afraid to get my hands dirty. If something I said did not make any sense or if there is more information I could provide, I am happy to help where I can. Thank you for your time and assistance.</SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt"> </SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt"> Brandon C<FONT color=navy><SPAN style="COLOR: navy">omouche</SPAN></FONT><BR> An IT Guy</SPAN></FONT></P></DIV></DIV>
<DIV>_______________________________________________<BR>--Bandwidth and Colocation provided by Easynews.com --<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>http://lists.digium.com/mailman/listinfo/asterisk-users</A></DIV></DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: verdana, helvetica, sans-serif"><BR></DIV></div><br>
                <hr size=1>
What kind of emailer are you? Find out today - get a free analysis of your email personality. Take the quiz at the <a href="http://uk.rd.yahoo.com/mail/uk/taglines/default/championships/quiz/*http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk/">Yahoo! Mail Championship</a>.</body></html>