<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<base href="x-msg://1142/">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
I would love to see your module because I'm are thinking about writing one c or c# to do almost the same thing. are you then routing the DID to an application server to manage the users?
<div><br>
</div>
<div><br>
<div>
<div>On Sep 23, 2011, at 11:26 AM, Robert Hadley wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-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: 0px; font-size: medium; ">
<div lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1" style="page: WordSection1; ">
<div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; ">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "><o:p> </o:p></span></div>
<div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; ">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">I created a C didmap module I can share that uses ODBC to lookup a variable length DID number and return the user's extension, plus flags for fax server and mobile DIDs.
If you pass in the caller_id_number it also checks for blocked callers.<o:p></o:p></span></div>
<div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; ">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "><o:p> </o:p></span></div>
<div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; ">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">Robert<o:p></o:p></span></div>
<div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; ">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "><o:p> </o:p></span></div>
<div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; ">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "><o:p> </o:p></span></div>
<div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; ">
<b><span style="font-size: 10pt; font-family: Tahoma, sans-serif; ">From:</span></b><span style="font-size: 10pt; font-family: Tahoma, sans-serif; "><span class="Apple-converted-space"> </span>Avi Marcus [mailto:avi@avimarcus.net]<span class="Apple-converted-space"> </span><br>
<b>Sent:</b><span class="Apple-converted-space"> </span>Thursday, September 22, 2011 12:54 PM<br>
<b>To:</b><span class="Apple-converted-space"> </span>FreeSWITCH Users Help<br>
<b>Subject:</b><span class="Apple-converted-space"> </span>Re: [Freeswitch-users] large block of DID's<o:p></o:p></span></div>
<div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; ">
<o:p> </o:p></div>
<div>
<div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; ">
I'd be interested in seeing the Lua script that does the users/directory. I don't think I've seen one yet, I'm not quite sure how that would work. I've only used xml_curl for a dialplan with a web server..<br clear="all">
<o:p></o:p></div>
<div>
<div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; ">
<span style="font-family: Verdana, sans-serif; ">-Avi</span><o:p></o:p></div>
</div>
<p class="MsoNormal" style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 12pt; font-size: 12pt; font-family: 'Times New Roman', serif; ">
<br>
<br>
<o:p></o:p></p>
<div>
<div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; ">
On Thu, Sep 22, 2011 at 10:00 PM, Chad Vogel <<a href="mailto:cvogel@lyonl.com" style="color: blue; text-decoration: underline; ">cvogel@lyonl.com</a>> wrote:<o:p></o:p></div>
<div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; ">
Are you also using a lua script via odbc to manage users?<br>
<br>
<br>
On Sep 14, 2011, at 10:39 PM, <<a href="mailto:ljjimenez@gmail.com" style="color: blue; text-decoration: underline; ">ljjimenez@gmail.com</a>><o:p></o:p></div>
<div>
<div>
<div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; ">
<<a href="mailto:ljjimenez@gmail.com" style="color: blue; text-decoration: underline; ">ljjimenez@gmail.com</a>> wrote:<br>
<br>
> We do this with about 10k DIDs, we use MySQL and a Lua script via ODBC<br>
><br>
> Luis Jimenez<br>
><br>
> -----Original Message-----<br>
> From: Chad Vogel <<a href="mailto:cvogel@lyonl.com" style="color: blue; text-decoration: underline; ">cvogel@lyonl.com</a>><br>
> Sender:<span class="Apple-converted-space"> </span><a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" style="color: blue; text-decoration: underline; ">freeswitch-users-bounces@lists.freeswitch.org</a><br>
> Date: Wed, 14 Sep 2011 15:44:23<br>
> To:<span class="Apple-converted-space"> </span><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" style="color: blue; text-decoration: underline; ">FreeSWITCH-users@lists.freeswitch.org</a><<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" style="color: blue; text-decoration: underline; ">FreeSWITCH-users@lists.freeswitch.org</a>><br>
> Reply-To: FreeSWITCH Users Help <<a href="mailto:freeswitch-users@lists.freeswitch.org" style="color: blue; text-decoration: underline; ">freeswitch-users@lists.freeswitch.org</a>><br>
> Subject: [Freeswitch-users] large block of DID's<br>
><br>
> I was wondering if anyone has any thoughts what is the best way to manage a large blocks of DID? (we have about 1600 DID's that we are moving off of our asterisk servers)<br>
><br>
> Chad<br>
><br>
><br>
> FreeSWITCH-users mailing list<br>
><span class="Apple-converted-space"> </span><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" style="color: blue; text-decoration: underline; ">FreeSWITCH-users@lists.freeswitch.org</a><br>
><span class="Apple-converted-space"> </span><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank" style="color: blue; text-decoration: underline; ">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank" style="color: blue; text-decoration: underline; ">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
><span class="Apple-converted-space"> </span><a href="http://www.freeswitch.org" target="_blank" style="color: blue; text-decoration: underline; ">http://www.freeswitch.org</a><br>
><br>
><br>
><br>
> FreeSWITCH-users mailing list<br>
><span class="Apple-converted-space"> </span><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" style="color: blue; text-decoration: underline; ">FreeSWITCH-users@lists.freeswitch.org</a><br>
><span class="Apple-converted-space"> </span><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank" style="color: blue; text-decoration: underline; ">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank" style="color: blue; text-decoration: underline; ">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
><span class="Apple-converted-space"> </span><a href="http://www.freeswitch.org" target="_blank" style="color: blue; text-decoration: underline; ">http://www.freeswitch.org</a><br>
><br>
<br>
<br>
<br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" style="color: blue; text-decoration: underline; ">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank" style="color: blue; text-decoration: underline; ">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank" style="color: blue; text-decoration: underline; ">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank" style="color: blue; text-decoration: underline; ">http://www.freeswitch.org</a><o:p></o:p></div>
</div>
</div>
</div>
<div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; ">
<o:p> </o:p></div>
</div>
</div>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>
http://www.freeswitch.org</div>
</span></blockquote>
</div>
<br>
</div>
</body>
</html>