<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi. I am setting up a large inbound only system with multiple DIDs coming in; each call is processed fairly intensively with db lookups, wav files played, pocketsphinx is used, wav files recorded, etc. <div><br></div><div>Before I get too far down one path, I was wondering if anyone had any insight into the best, most scaleable way to do this out of the several methods I can do:<div><br></div><div>1<span class="Apple-tab-span" style="white-space:pre">        </span>Call comes in</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>dialplan calls specific javascript based on DID</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>javascript uses ODBC to pull info from local mysql db</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>call is handled in javascript</div><div><br></div><div><div>2<span class="Apple-tab-span" style="white-space: pre; ">        </span>Call comes in</div><div><span class="Apple-tab-span" style="white-space: pre; ">        </span>dialplan calls specific javascript based on DID</div><div><span class="Apple-tab-span" style="white-space: pre; ">        </span>javascript uses CURL to get info from local mysql db</div><div><span class="Apple-tab-span" style="white-space: pre; ">        </span>call is handled in javascript</div></div><div><br></div><div>3<span class="Apple-tab-span" style="white-space:pre">        </span>Call comes in</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>php socket is listening for call</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>php script runs, pulling info from mysql db</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>call is handled in php using esl.php</div><div><br></div><div>4<span class="Apple-tab-span" style="white-space:pre">        </span>Call comes in</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>dialplan calls specific lua script based on DID</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>lua uses luasql.mysql to get info from local mysql db</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>call is handled in lua using lua api</div><div><br></div><div>5<span class="Apple-tab-span" style="white-space:pre">        </span>Call comes in</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>xml_curl is used for dynamic dialplan</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>js called, continues like #1</div><div><br></div><div>I know that they will all do essentially the same thing. But once I go down the path, I don't want to find out that the way I chose chokes with 50 simultaneous inbound calls on different DIDs. Any comments would be appreciated. Thanks.<br><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; 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; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">--</font></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">Greg</font></p></div></div></span><br class="Apple-interchange-newline"> </div><br></div></div></body></html>