[Freeswitch-users] Hostname
freeswitch noob
freeswitch.noob at gmail.com
Mon Oct 26 06:16:53 PDT 2009
Thank you for the get idea, It works perfectly.
On Fri, Oct 23, 2009 at 4:37 PM, Metik <freeswitch-users-list at metik.com>wrote:
> Why not simply overwrite the value of the variable used throughout the
> script...
>
> -- xml_curl.conf --
> ...
> <param name="gateway-url" value="
> http://localhost/index.php?xhostname=myhost" bindings="dialplan"/>
> ...
>
> -- index.php --
>
> <?
>
> $_REQUEST['hostname'] = "$xhostname";
>
> ...
>
> ----- Original Message -----
> *From:* freeswitch noob <freeswitch.noob at gmail.com>
> *To:* freeswitch-users at lists.freeswitch.org
> *Sent:* Friday, October 23, 2009 4:42 PM
> *Subject:* Re: [Freeswitch-users] Hostname
>
> 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.
>
>
> On Fri, Oct 23, 2009 at 2:58 PM, Chris Burns <chris at cloudtel.com> wrote:
>
>> one real quick way would be put different GET var in each server's binding
>>
>> On October 23, 2009 03:46:11 pm Kristian Kielhofner wrote:
>> > Can't you use different contexts or something else to tell them apart?
>> >
>> > On Fri, Oct 23, 2009 at 3:34 PM, freeswitch noob
>> >
>> > <freeswitch.noob at gmail.com> wrote:
>> > > I have mod xml_curl installed and I am getting the following passed to
>> my
>> > > script.
>> > >
>> > > [hostname] => myhost.local
>> > > [section] => dialplan
>> > >
>> > >
>> > > I also have multiple versions of FS running on the same box. Is there
>> a
>> > > way to have each FS instance on my box have a unique hostname ?
>> > >
>> > > Thanks in advance.
>> > >
>> > > _______________________________________________
>> > > FreeSWITCH-users mailing list
>> > > FreeSWITCH-users at lists.freeswitch.org
>> > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> > > UNSUBSCRIBE:
>> http://lists.freeswitch.org/mailman/options/freeswitch-users
>> > > http://www.freeswitch.org
>>
>>
>>
>> _______________________________________________
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>
> ------------------------------
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20091026/e57aedca/attachment-0002.html
More information about the FreeSWITCH-users
mailing list