Hi Brad, I submitted it via improvement Jira today. http://jira.freeswitch.org/browse/FS-3584 Thanks for asking, Robert From: Brad Mina [mailto:brad@tech21.com] Sent: Saturday, September 24, 2011 11:28 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] large block of DID's Robert, Is your module in the git contrib? Is there a public place we can download it? On Fri, Sep 23, 2011 at 1:13 PM, Robert Hadley <robert.hadley@teotech.com<mailto:robert.hadley@teotech.com>> wrote: No, the custom didmap module doesn't manage users, another app does. I call the didmap app from public.xml and transfer to whatever destination it returns in defaults.xml, e.g. a local_extension, faxserver, or caller_blocked. <extension name="didmap_lookup_transfer" continue="true"> <condition field="destination_number" expression="^(\d+)$"> <action application="set" data="did_number=$1"/> <action application="didmap" data="${did_number} ${caller_id_number}"/> <action application="transfer" data="${didmaplookup_dest} XML default"/> </condition> </extension> DID map DB table: CREATE TABLE inbounddidnumbermap ( id bigserial NOT NULL, phonenumber character varying(255), fax boolean NOT NULL DEFAULT false, mobile boolean NOT NULL DEFAULT false, extension_id bigint, CONSTRAINT inbounddidnumbermap_pkey PRIMARY KEY (id), ) From: Chad Vogel [mailto:cvogel@lyonl.com<mailto:cvogel@lyonl.com>] Sent: Friday, September 23, 2011 12:31 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] large block of DID's 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? On Sep 23, 2011, at 11:26 AM, Robert Hadley wrote: 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. Robert From: Avi Marcus [mailto:avi@avimarcus.net]<mailto:[mailto:avi@avimarcus.net]> Sent: Thursday, September 22, 2011 12:54 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] large block of DID's 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.. -Avi On Thu, Sep 22, 2011 at 10:00 PM, Chad Vogel <cvogel@lyonl.com<mailto:cvogel@lyonl.com>> wrote: Are you also using a lua script via odbc to manage users? On Sep 14, 2011, at 10:39 PM, <ljjimenez@gmail.com<mailto:ljjimenez@gmail.com>> <ljjimenez@gmail.com<mailto:ljjimenez@gmail.com>> wrote:
We do this with about 10k DIDs, we use MySQL and a Lua script via ODBC
Luis Jimenez
-----Original Message----- From: Chad Vogel <cvogel@lyonl.com<mailto:cvogel@lyonl.com>> Sender: freeswitch-users-bounces@lists.freeswitch.org<mailto:freeswitch-users-bounces@lists.freeswitch.org> Date: Wed, 14 Sep 2011 15:44:23 To: FreeSWITCH-users@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org><FreeSWITCH-users@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org>> Reply-To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org<mailto:freeswitch-users@lists.freeswitch.org>> Subject: [Freeswitch-users] large block of DID's
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)
Chad
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org