currently it would entail binding everything to 1 script and detecting which kind of section it <br>was in the script.&nbsp; Making it support many would require some coding which would need to be done in every language module to keep them uniform and we don&#39;t have the time for it right now.&nbsp; you can provide a patch or post a bounty and maybe someone can work on it.<br>
<br>there is a magic env obj created in your script that has all the params<br><br>print $env-&gt;serialize();<br>print $env-&gt;serialize(&quot;xml&quot;);<br>
<br>$info = $env-&gt;getHeader(&quot;info&quot;);<br><br><br><br><div class="gmail_quote">On Thu, Nov 20, 2008 at 8:34 AM, <a href="mailto:regs@kinetix.gr">regs@kinetix.gr</a> <span dir="ltr">&lt;<a href="mailto:regs@kinetix.gr">regs@kinetix.gr</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">


  
  

<div bgcolor="#ffffff" text="#000000">
What if I want to use one binding for &quot;directory&quot;, one for
&quot;configuration&quot; and one for &quot;dialplan&quot;?<br>
<br>
While we are at it, how can I pass parameters so that I can &quot;fill up&quot;
my %XML_REQUEST when<br>
the perl script is called from the xml dialplan? e.g. :<br>
<br>
&lt;context name=&quot;route&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;extension name=default&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;condition field=&quot;destination_number&quot;
expression=&quot;^.*$&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application=&quot;perl&quot;
data=&quot;/root/test_perl2.pl&quot; /&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/condition&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/extension&gt;<br>
&lt;/context&gt;<br>
<br>
<br>
<br>
Anthony Minessale wrote:
<blockquote type="cite"><div><div></div><div class="Wj3C7c">no the languages only have one binding.<br>
Do you really need more than one binding?<br>
  <br>
  <div class="gmail_quote">On Thu, Nov 20, 2008 at 6:20 AM, <a href="mailto:regs@kinetix.gr" target="_blank">regs@kinetix.gr</a>
  <span dir="ltr">&lt;<a href="mailto:regs@kinetix.gr" target="_blank">regs@kinetix.gr</a>&gt;</span> wrote:<br>
  <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>
    <br>
&nbsp; &nbsp;Is there a way to declare more than one script with its binding in<br>
perl.conf.xml?<br>
Because from what I understood by reading the documentation, is that<br>
there are<br>
no different sections to define different perl scripts with bindings<br>
like for example in the<br>
xml_curl.conf.xml :<br>
    <br>
&lt;configuration name=&quot;xml_curl.conf&quot; description=&quot;cURL XML
Gateway&quot;&gt;<br>
&nbsp;&lt;bindings&gt;<br>
&nbsp; &nbsp;&lt;binding name=&quot;binding1&quot;&gt;<br>
&nbsp; &nbsp; &nbsp; &nbsp;...<br>
&nbsp; &nbsp;&lt;/binding&gt;<br>
&nbsp; &nbsp;&lt;binding name=&quot;binding2&quot;&gt;<br>
&nbsp; &nbsp; &nbsp; &nbsp;...<br>
&nbsp; &nbsp;&lt;/binding&gt;<br>
    <br>
&nbsp; &nbsp; &nbsp; &nbsp;...<br>
    <br>
&nbsp;&lt;/bindings&gt;<br>
&lt;/configuration&gt;<br>
    <br>
    <br>
    <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>
  </blockquote>
  </div>
  <br>
  <br clear="all">
  <br>
-- <br>
Anthony Minessale II<br>
  <br>
FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
  <br>
AIM: anthm<br>
  <a href="mailto:MSN%3Aanthony_minessale@hotmail.com" target="_blank">MSN:anthony_minessale@hotmail.com</a><br>
GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com" target="_blank">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a>
#freeswitch<br>
  <br>
FreeSWITCH Developer Conference<br>
  <a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a><br>
  <a href="http://iax:guest@conference.freeswitch.org/888" target="_blank">iax:guest@conference.freeswitch.org/888</a><br>
  <a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org" target="_blank">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:213-799-1400<br>
  </div></div><pre><hr size="4" width="90%"><div class="Ih2E3d">
_______________________________________________
Freeswitch-users mailing list
<a href="mailto:Freeswitch-users@lists.freeswitch.org" target="_blank">Freeswitch-users@lists.freeswitch.org</a>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
  </div></pre>
</blockquote>
<br>
</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><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
<br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>