Thank you for the get idea,  It works perfectly.<br><br><br><div class="gmail_quote">On Fri, Oct 23, 2009 at 4:37 PM, Metik <span dir="ltr">&lt;<a href="mailto:freeswitch-users-list@metik.com">freeswitch-users-list@metik.com</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">
<div><font face="Arial" size="2">Why not simply overwrite the value of the 
variable used throughout the script... </font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">-- xml_curl.conf --</font></div>
<div><font face="Arial" size="2">...</font></div>
<div><font face="Arial" size="2">      &lt;param 
name=&quot;gateway-url&quot; value=&quot;<a href="http://localhost/index.php?xhostname=myhost" target="_blank">http://localhost/index.php?xhostname=myhost</a>&quot; 
bindings=&quot;dialplan&quot;/&gt;<br>...</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">-- index.php --</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">&lt;?</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">$_REQUEST[&#39;hostname&#39;] = 
&quot;$xhostname&quot;;</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">...</font></div>
<blockquote style="border-left: 2px solid rgb(0, 0, 0); padding-left: 5px; padding-right: 0px; margin-left: 5px; margin-right: 0px;"><div><div></div><div class="h5">
  <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">----- Original Message ----- </div>
  <div style="background: rgb(228, 228, 228) none repeat scroll 0% 0%; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;">
<b>From:</b> 
  <a title="freeswitch.noob@gmail.com" href="mailto:freeswitch.noob@gmail.com" target="_blank">freeswitch noob</a> </div>
  <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>To:</b> <a title="freeswitch-users@lists.freeswitch.org" href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a> 
  </div>
  <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Sent:</b> Friday, October 23, 2009 4:42 
  PM</div>
  <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Subject:</b> Re: [Freeswitch-users] 
  Hostname</div>
  <div><font face="Arial" size="2"></font><font face="Arial" size="2"></font><font face="Arial" size="2"></font><font face="Arial" size="2"></font><font face="Arial" size="2"></font><font face="Arial" size="2"></font><font face="Arial" size="2"></font><font face="Arial" size="2"></font><font face="Arial" size="2"></font><font face="Arial" size="2"></font><font face="Arial" size="2"></font><br>
</div>Yeah, I was just trying to make it easier on 
  myself.  I have scripts from a friend that parse xml_curl requests based 
  on the hostname, I was hoping to not have to re-write them to read something 
  else from the post that FS makes from xml_curl.  But from what it sounds 
  like I will have to.<br><br><br>
  <div class="gmail_quote">On Fri, Oct 23, 2009 at 2:58 PM, Chris Burns <span dir="ltr">&lt;<a href="mailto:chris@cloudtel.com" target="_blank">chris@cloudtel.com</a>&gt;</span> wrote:<br>
  <blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">one real quick way would be put different GET var in each 
    server&#39;s binding<br>
    <div>
    <div></div>
    <div><font face="Arial" size="2"></font><font face="Arial" size="2"></font><br>On October 23, 2009 03:46:11 pm Kristian Kielhofner 
    wrote:<br>&gt; Can&#39;t you use different contexts or something else to tell 
    them apart?<br>&gt;<br>&gt; On Fri, Oct 23, 2009 at 3:34 PM, freeswitch 
    noob<br>&gt;<br>&gt; &lt;<a href="mailto:freeswitch.noob@gmail.com" target="_blank">freeswitch.noob@gmail.com</a>&gt; 
    wrote:<br>&gt; &gt; I have mod xml_curl installed and I am getting the 
    following passed to my<br>&gt; &gt; script.<br>&gt; &gt;<br>&gt; &gt; 
    [hostname] =&gt; myhost.local<br>&gt; &gt; [section] =&gt; dialplan<br>&gt; 
    &gt;<br>&gt; &gt;<br>&gt; &gt; I also have multiple versions of FS running 
    on the same box.  Is there a<br>&gt; &gt; way to have each FS instance 
    on my box have a unique hostname ?<br>&gt; &gt;<br>&gt; &gt; Thanks in 
    advance.<br>&gt; &gt;<br>&gt; &gt; 
    _______________________________________________<br>&gt; &gt; 
    FreeSWITCH-users mailing list<br>&gt; &gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>&gt; 
    &gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>&gt; 
    &gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>&gt; 
    &gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><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>
</div></div></blockquote></div><br>
  </div></div><p>
  </p><hr><div class="im">

  <p></p>_______________________________________________<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></blockquote></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>