:-)) I used it a lot. Unfortunately we do not store did number as a field, as I said we store complete extension XML, with extension number and context as a key. So essentially I will retrieve a bunch of extension XMLs which I need to parse and run against regex matcher to find out the one, which is what exactly FS is doing when XML dial plan is defined in a static file. On Sun, Mar 7, 2010 at 8:46 PM, Brian West <brian@freeswitch.org> wrote:
Apparently you haven't used a SQL db before. SELECT * from extensions where did='1234'; You can query for EXACTLY the info you need.
/b
On Mar 7, 2010, at 7:30 PM, paul gore wrote:
It is a bit complex since we store complete extension XML in DB, so I have to retrieve all the extensions matching first condition, extract their second condition, then run them in loop... Looks like I can be better off using JS for that instead.
_______________________________________________ FreeSWITCH-users mailing list 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