[Freeswitch-users] XML curl and multiple extension in dialplan
vizentini at hotmail.com
Mon Mar 8 07:42:43 PST 2010
"As per FS wiki we can only return one XML extension upon FS request. "
Could you please tell me where did you find that info? I do return several extensions by request and FS works as expect (Am I wrong doing that?)
"Now we need to return a set of extensions with same number
condition and context but with different second condition so that FS
can pick up the right one.
Is it possible at all? And if yes how response XML with multiple extensions should look like?"
Yes, It seems to be possible (Am I wrong?) but notice that you are giving the same extension name for all your extensions:
I think this can mislead dialplan_hunt in mod_dialplan_xml...Give each extension a unique name, and FS will parse/regex all them for you...
All the best,Paulo
> From: brian at freeswitch.org
> Date: Sun, 7 Mar 2010 20:17:19 -0600
> To: freeswitch-users at lists.freeswitch.org
> Subject: Re: [Freeswitch-users] XML curl and multiple extension in dialplan
> Sounds like you zigged where you should have zagged.
> On Mar 7, 2010, at 8:03 PM, paul gore wrote:
> > :-))
> > 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.
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
Hotmail: Powerful Free email with security by Microsoft.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the FreeSWITCH-users