<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">We are in a project right now where we have build a single asterisk switch acting as a master SIP router and delivering service to and from about 30 xen-based VMs. It is a multi-tenant build. I am not certain if this is your particular scenario or if I am off-base.<DIV><BR class="khtml-block-placeholder"></DIV><DIV>A word of caution, though. Do not run SIP routing functions on Dom0 in a Xen environment and do not use Asterisk 1.4 for these functions yet. In testing, we encountered routine segmentation faults on both our Dom0 and our 30 DomUs. We fixed this issue by separating the core SIP routing functions to a stand-alone server and by downgrading all DomUs to Asterisk 1.2.14.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Our entire architecture is Fedora 6, by the way. DomU is 32bit and all DomUs are run on a single, large 64bit server platform.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I hope this is helpful.</DIV><DIV><BR><DIV> <SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica Neue; font-size: 10px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica Neue; font-size: 10px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ; font-family: Helvetica; font-size: 12px; "><FONT class="Apple-style-span" face="Geneva"><SPAN class="Apple-style-span" style="font-family: Geneva; ; font-size: 12px; "><SPAN class="Apple-style-span" style="font-family: Geneva; font-size: 12px; "><SPAN class="Apple-style-span" style="font-family: Geneva; font-size: 12px; ">Bryan M. Johns</SPAN></SPAN></SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ; font-family: Helvetica; font-size: 12px; "><FONT class="Apple-style-span" color="#666666" face="Geneva" size="2"><SPAN class="Apple-style-span" style="font-size: 10px;; color: rgb(102, 102, 102); font-family: Geneva; "><SPAN class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: Geneva; font-size: 10px; "><SPAN class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: Geneva; "><SPAN class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: Geneva; ">Partner</SPAN></SPAN></SPAN></SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ; font-family: Helvetica; font-size: 12px; "><FONT class="Apple-style-span" color="#333333" face="Arial" size="2"><SPAN class="Apple-style-span" style="font-size: 10px;; color: rgb(51, 51, 51); font-family: Arial; "><B style="color: rgb(51, 51, 51); font-family: Arial; font-size: 10px; font-weight: bold; "><SPAN class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: Arial; font-size: 10px; font-weight: bold; "><SPAN class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: Arial; font-weight: bold; "><SPAN class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: Arial; font-weight: bold; ">Shelton | Johns Technology Group</SPAN></SPAN></SPAN></B></SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ; font-family: Helvetica; font-size: 12px; "><FONT class="Apple-style-span" color="#666666" face="Geneva" size="1"><SPAN class="Apple-style-span" style="font-size: 9px;; color: rgb(102, 102, 102); font-family: Geneva; "><SPAN class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: Geneva; font-size: 9px; "><SPAN class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: Geneva; font-size: 9px; "><SPAN class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: Geneva; font-size: 9px; ">office: 678:248:2637 x:1500</SPAN></SPAN></SPAN></SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ; font-family: Helvetica; font-size: 12px; "><FONT class="Apple-style-span" color="#666666" face="Geneva" size="1"><SPAN class="Apple-style-span" style="font-size: 9px;; color: rgb(102, 102, 102); font-family: Geneva; "><SPAN class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: Geneva; font-size: 9px; "><SPAN class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: Geneva; font-size: 9px; "><SPAN class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: Geneva; font-size: 9px; ">direct: 678:229:1809</SPAN></SPAN></SPAN></SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ; font-family: Helvetica; font-size: 12px; "><FONT class="Apple-style-span" color="#666666" face="Geneva" size="1"><SPAN class="Apple-style-span" style="font-size: 9px;; color: rgb(102, 102, 102); font-family: Geneva; "><SPAN class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: Geneva; font-size: 9px; "><SPAN class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: Geneva; font-size: 9px; "><SPAN class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: Geneva; font-size: 9px; ">mobile: 404.259.9216</SPAN></SPAN></SPAN></SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ; font-family: Helvetica; font-size: 12px; "><FONT class="Apple-style-span" color="#666666" face="Geneva" size="1"><SPAN class="Apple-style-span" style="font-size: 9px;; color: rgb(102, 102, 102); font-family: Geneva; "><SPAN class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: Geneva; font-size: 9px; "><SPAN class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: Geneva; font-size: 9px; "><SPAN class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: Geneva; font-size: 9px; ">iaxtel: 700:248:2637 x:1500</SPAN></SPAN></SPAN></SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ; font-family: Helvetica; font-size: 12px; "><A href="http://www.sheltonjohns.com/"><FONT class="Apple-style-span" face="Arial" size="1"><SPAN class="Apple-style-span" style="font-size: 9px;; color: rgb(0, 0, 238); font-family: Arial; -khtml-text-decorations-in-effect: underline; "><B style="color: rgb(0, 0, 238); font-family: Arial; font-size: 9px; font-weight: bold; -khtml-text-decorations-in-effect: underline; "><SPAN class="Apple-style-span" style="color: rgb(0, 0, 238); font-family: Arial; font-size: 9px; font-weight: bold; -khtml-text-decorations-in-effect: underline; "><SPAN class="Apple-style-span" style="color: rgb(0, 0, 238); font-family: Arial; font-size: 9px; font-weight: bold; -khtml-text-decorations-in-effect: underline; "><SPAN class="Apple-style-span" style="color: rgb(0, 0, 238); font-family: Arial; font-size: 9px; font-weight: bold; -khtml-text-decorations-in-effect: underline; ">http://www.sheltonjohns.com</SPAN></SPAN></SPAN></B></SPAN></FONT></A></DIV><BR class="Apple-interchange-newline"></SPAN></SPAN></SPAN></SPAN> </DIV><BR><DIV><DIV>On Jan 5, 2007, at 7:00 PM, Ray Jackson wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Hi Bryan,</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">I was trying to avoid creating an architecture dedicated to VM, but have Asterisk handle VM in a horizontally scalable way.<SPAN class="Apple-converted-space"> </SPAN>I understand there are some issues with MWI etc. if you separate out the VM from Asterisk?<SPAN class="Apple-converted-space"> </SPAN>Could you point me at any good examples of a VM architecture I could use as a reference?</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Cheers,</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Ray</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Bryan M. Johns wrote:</DIV> <BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Ray,</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Have you considered using a VM architecture?</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Bryan M. Johns</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Partner</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">*Shelton | Johns Technology Group*</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">office: 678:248:2637 x:1500</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">direct: 678:229:1809</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">mobile: 404.259.9216</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">iaxtel: 700:248:2637 x:1500</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">*http://www.sheltonjohns.com* <<A href="http://www.sheltonjohns.com/">http://www.sheltonjohns.com/</A>></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">On Jan 5, 2007, at 5:17 PM, Ray Jackson wrote:</DIV> <BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Hi all,</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">I am attempting to build a horizontally scalable Asterisk deployment and am getting very close to achieving that goal.<SPAN class="Apple-converted-space"> </SPAN>With Asterisk 1.4 I now have an IMAP backend for Voicemail messages which is great as users can check the same messages either through the voice portal or using Webmail.<SPAN class="Apple-converted-space"> </SPAN>However, I'm not sure the best way of dealing with personalised greetings such as a user's unavailable/busy message etc. Despite the IMAP backend these greetings appear to be stored on the local file system under /var/spool/asterisk/voicemail/default, which means if I build a farm of Asterisk servers - each will have it's own spool directory.<SPAN class="Apple-converted-space"> </SPAN>My aim is to have *nothing* stored locally at all...</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">If there a way of storing these greetings in a database table or using IMAP?<SPAN class="Apple-converted-space"> </SPAN>I saw the ODBC voicemail storage module, but I would prefer to stick with a REALTIME/IMAP backend?<SPAN class="Apple-converted-space"> </SPAN>If I mount the /var/spool/asterisk/voicemail directory remotely using a shared NFS mount on a NAS device will this work okay or lead to problems/race conditions etc.?<SPAN class="Apple-converted-space"> </SPAN>Any advice would be welcome!</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Regards,</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Ray</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">--Bandwidth and Colocation provided by Easynews.com --</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">asterisk-users mailing list</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">To UNSUBSCRIBE or update options visit:</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN class="Apple-converted-space"> </SPAN><A href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</A></DIV> </BLOCKQUOTE><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">------------------------------------------------------------------------</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">--Bandwidth and Colocation provided by Easynews.com --</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">asterisk-users mailing list</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">To UNSUBSCRIBE or update options visit:</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN class="Apple-converted-space"> </SPAN><A href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</A></DIV> </BLOCKQUOTE><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">--Bandwidth and Colocation provided by Easynews.com --</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">asterisk-users mailing list</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">To UNSUBSCRIBE or update options visit:</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN class="Apple-converted-space"> </SPAN><A href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</A></DIV> </BLOCKQUOTE></DIV><BR></DIV></BODY></HTML>