<div>It's in the Wiki: <a href="http://wiki.freeswitch.org/wiki/Mod_xml_curl">http://wiki.freeswitch.org/wiki/Mod_xml_curl</a> - "<span class="Apple-style-span" style="font-family: sans-serif; font-size: 13px; line-height: 19px; ">You will only need to send one extension back...<span class="Apple-style-span" style="font-family: arial; line-height: normal; font-size: small; ">"</span></span></div>
<div><span class="Apple-style-span" style="font-family: sans-serif; font-size: 13px; line-height: 19px; "><span class="Apple-style-span" style="font-family: arial; line-height: normal; font-size: small; ">In my real dial plan I do use unique names for the extensions, but as I mentioned FS only executes first extension from the response. If I place same extensions in a static XML they work as expected.</span></span></div>
<div>I use FreeSWITCH Version 1.0.trunk (16573M). Which one do you use? Can you post a sample response you generate, please?</div><div><span class="Apple-style-span" style="font-family: sans-serif; font-size: 13px; line-height: 19px; "><span class="Apple-style-span" style="font-family: arial; line-height: normal; font-size: small; "><br>
</span></span></div><br><div class="gmail_quote">On Mon, Mar 8, 2010 at 10:42 AM, Paulo Vicentini <span dir="ltr"><<a href="mailto:vizentini@hotmail.com">vizentini@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>
<div><br></div><div>Hi</div><div class="im"><div><br></div><div>"As per FS wiki we can only return one XML extension upon FS request. "</div><div><br></div></div><div>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?)</div>
<div><br></div><div><div class="im"><div>"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. </div>
<div>Is it possible at all? And if yes how response XML with multiple extensions should look like?"</div><div><br></div></div><div>Yes, It seems to be possible (Am I wrong?) but notice that you are giving the same extension name for all your extensions:</div>
<div><br></div><div><span style="font-family:sans-serif;font-size:15px;line-height:22px"><pre style="border:1px dashed rgb(47, 111, 171);padding:1em;color:black;background-color:rgb(249, 249, 249);line-height:1.1em"> <extension name="test9">
</pre></span></div></div><br>I think this can mislead dialplan_hunt in mod_dialplan_xml...<div>Give each extension a unique name, and FS will parse/regex all them for you...</div><div> <br><div><br></div><div>All the best,</div>
<div>Paulo</div><div><br>> From: <a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a><br>> Date: Sun, 7 Mar 2010 20:17:19 -0600<br>> To: <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br>
> Subject: Re: [Freeswitch-users] XML curl and multiple extension in dialplan<div><div></div><div class="h5"><br>> <br>> Sounds like you zigged where you should have zagged.<br>> <br>> /b<br>> <br>> On Mar 7, 2010, at 8:03 PM, paul gore wrote:<br>
> <br>> > :-))<br>> > 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.<br>> > 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.<br>
> <br>> <br>> _______________________________________________<br>> FreeSWITCH-users mailing list<br>> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br></div></div></div></div><div class="hm">                                            <br><hr>Hotmail: Powerful Free email with security by Microsoft. <a href="https://signup.live.com/signup.aspx?id=60969" target="_blank">Get it now.</a></div>
</div>
<br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>