[Freeswitch-users] XML curl and multiple extension in dialplan

paul gore paul.gore.j at gmail.com
Sun Mar 7 18:03:14 PST 2010

 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
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 at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100307/148555f9/attachment-0002.html 

More information about the FreeSWITCH-users mailing list