<html><body bgcolor="#FFFFFF"><div>Can you pastebin a sample dialplan and script? I'd like to better visualize what problem you're trying to solve. </div><div>-MC<br><br>Sent from my iPhone</div><div><br>On Mar 7, 2010, at 2:13 PM, paul gore <<a href="mailto:paul.gore.j@gmail.com">paul.gore.j@gmail.com</a>> wrote:<br><br></div><div></div><blockquote type="cite"><div>Thanks fro the input.<div>I thought about such approach, the only problem I see is there that I essentially would have to duplicate FS dial plan parsing functionality, so my question basically is there a way to avoid that? </div>
<div>I have seen a Ruby dial plan example on XML curl wiki page which actually seem to generate response with multiple extensions, but unfortunately FS cannot read such response.<br><br><div class="gmail_quote">On Sun, Mar 7, 2010 at 3:18 PM, Nazim Agabekov <span dir="ltr"><<a href="mailto:nazim.agabekov@gmail.com"><a href="mailto:nazim.agabekov@gmail.com">nazim.agabekov@gmail.com</a></a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div text="#000000" bgcolor="#ffffff">
Hello Paul<br>
<br>
I also use mod_xml_curl for a dialplan. I've solved this issue by
generating the XML extension dynamically.<br>
My fastcgi daemon checks the input variables like caller id,
originator, e.t.c, makes routing decision<br>
and dynamically generates only one XML extension.<br>
So, there is no real need for creating complex dialplan on
mod_xml_curl output.<br>
<br>
Nazim<div><div></div><div class="h5"><br>
<br>
On 03/07/2010 11:03 PM, paul gore wrote:
</div></div><blockquote type="cite"><div><div></div><div class="h5">Greetings,
<div>We use XML curl to fetch our dial plan extensions from a
database. As per FS wiki we can only return one XML extension upon FS
request. </div>
<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>Thanks a lot.</div>
</div></div><pre><fieldset></fieldset>
_______________________________________________
FreeSWITCH-users mailing list
<div class="im"><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank"><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></a>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank"><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></a>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank"><a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a></a>
<a href="http://www.freeswitch.org" target="_blank"><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></a>
</div></pre>
</blockquote>
<br>
</div>
<br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org"><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank"><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank"><a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a></a><br>
<a href="http://www.freeswitch.org" target="_blank"><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></a><br>
<br></blockquote></div><br></div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>FreeSWITCH-users mailing list</span><br><span><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></span><br><span><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></span><br><span>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users</span><br><span><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span><br></div></blockquote></body></html>