windows alternative for <X-PRE-PROCESS cmd="exec" ...
Hi I'm trying to setup a centralized dialplan for multiple instances of freeswitch. I tried <X-PRE-PROCESS cmd="exec" data="wget -qO - http://www.example.com/dialplan.xml" /> but it is not implemented on windows yet. is there any similar alternative? thanx
You can probably get a drop-in wget replacement for windows. (Or curl with appropriate params?) -Avi On Wed, Apr 4, 2012 at 6:29 PM, babak yakhchali <babak.freeswitch@gmail.com>wrote:
Hi I'm trying to setup a centralized dialplan for multiple instances of freeswitch. I tried <X-PRE-PROCESS cmd="exec" data="wget -qO - http://www.example.com/dialplan.xml" /> but it is not implemented on windows yet. is there any similar alternative? thanx
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Wget is a Linux system command. Its not going to ever work on windows. -BDF On Apr 4, 2012 11:30 AM, "babak yakhchali" <babak.freeswitch@gmail.com> wrote:
Hi I'm trying to setup a centralized dialplan for multiple instances of freeswitch. I tried <X-PRE-PROCESS cmd="exec" data="wget -qO - http://www.example.com/dialplan.xml" /> but it is not implemented on windows yet. is there any similar alternative? thanx
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
You have wget for windows ... i dont say that works, but you have it. On Wed, Apr 4, 2012 at 12:38 PM, Brian Foster <bdfoster@endigotech.com>wrote:
Wget is a Linux system command. Its not going to ever work on windows.
-BDF On Apr 4, 2012 11:30 AM, "babak yakhchali" <babak.freeswitch@gmail.com> wrote:
Hi I'm trying to setup a centralized dialplan for multiple instances of freeswitch. I tried <X-PRE-PROCESS cmd="exec" data="wget -qO - http://www.example.com/dialplan.xml" /> but it is not implemented on windows yet. is there any similar alternative? thanx
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
wget for windows: http://gnuwin32.sourceforge.net/packages/wget.htm Jason On Wed, Apr 4, 2012 at 9:38 AM, Brian Foster <bdfoster@endigotech.com> wrote:
Wget is a Linux system command. Its not going to ever work on windows.
-BDF
On Apr 4, 2012 11:30 AM, "babak yakhchali" <babak.freeswitch@gmail.com> wrote:
Hi I'm trying to setup a centralized dialplan for multiple instances of freeswitch. I tried <X-PRE-PROCESS cmd="exec" data="wget -qO - http://www.example.com/dialplan.xml" /> but it is not implemented on windows yet. is there any similar alternative? thanx
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
...and I just proved to the world I don't know a damn thing about Windows... -BDF On Apr 4, 2012 11:45 AM, "Komar, Jason" <jkomar@jbox.ca> wrote:
wget for windows:
http://gnuwin32.sourceforge.net/packages/wget.htm
Jason
On Wed, Apr 4, 2012 at 9:38 AM, Brian Foster <bdfoster@endigotech.com> wrote:
Wget is a Linux system command. Its not going to ever work on windows.
-BDF
On Apr 4, 2012 11:30 AM, "babak yakhchali" <babak.freeswitch@gmail.com> wrote:
Hi I'm trying to setup a centralized dialplan for multiple instances of freeswitch. I tried <X-PRE-PROCESS cmd="exec" data="wget -qO - http://www.example.com/dialplan.xml" /> but it is not implemented on windows yet. is there any similar alternative? thanx
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Install cygwin, it contains wget among many other unix system tools. http://www.cygwin.com/ From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian Foster Sent: Wednesday, April 04, 2012 11:47 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] windows alternative for <X-PRE-PROCESS cmd="exec" ... ...and I just proved to the world I don't know a damn thing about Windows... -BDF On Apr 4, 2012 11:45 AM, "Komar, Jason" <jkomar@jbox.ca<mailto:jkomar@jbox.ca>> wrote: wget for windows: http://gnuwin32.sourceforge.net/packages/wget.htm Jason On Wed, Apr 4, 2012 at 9:38 AM, Brian Foster <bdfoster@endigotech.com<mailto:bdfoster@endigotech.com>> wrote:
Wget is a Linux system command. Its not going to ever work on windows.
-BDF
On Apr 4, 2012 11:30 AM, "babak yakhchali" <babak.freeswitch@gmail.com<mailto:babak.freeswitch@gmail.com>> wrote:
Hi I'm trying to setup a centralized dialplan for multiple instances of freeswitch. I tried <X-PRE-PROCESS cmd="exec" data="wget -qO - http://www.example.com/dialplan.xml" /> but it is not implemented on windows yet. is there any similar alternative? thanx
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
On Wed, Apr 4, 2012 at 9:29 AM, babak yakhchali <babak.freeswitch@gmail.com> wrote:
I'm trying to setup a centralized dialplan for multiple instances of freeswitch. I tried <X-PRE-PROCESS cmd="exec" data="wget -qO - http://www.example.com/dialplan.xml" /> but it is not implemented on windows yet. is there any similar alternative? thanx
Isn't this what you're looking for? http://wiki.freeswitch.org/wiki/Mod_xml_curl#bindings.3D.22dialplan.22 Best, Gabe
While cygwin definitely works its overkill, there are fantastic windows builds of wget and curl with full SSL support, if you have an issue finding them let us know but I use them on a daily basis. ~Mitch
thanks for answering. But my real problem is not wget itself. I know that there is a version of wget for windows. My real problem is the freeswitch <X-PRE-PROCESS cmd="exec"... . If you use it on windows build of freeswitch, you see that it is not implemented on windows yet. I wanted to know if there is any workaround to implement something like the solution suggested in http://wiki.freeswitch.org/wiki/Mod_xml_curl#Storing_Static_Dialplans
We need someone who knows the windows way to do that to code in the support. You can always use mod_xml_curl or mod_lua with the xml binding hooks On Thu, Apr 5, 2012 at 2:24 AM, babak yakhchali <babak.freeswitch@gmail.com> wrote:
thanks for answering. But my real problem is not wget itself. I know that there is a version of wget for windows. My real problem is the freeswitch <X-PRE-PROCESS cmd="exec"... . If you use it on windows build of freeswitch, you see that it is not implemented on windows yet. I wanted to know if there is any workaround to implement something like the solution suggested in http://wiki.freeswitch.org/wiki/Mod_xml_curl#Storing_Static_Dialplans
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
Thanx Anthony You are right and I'm trying xml_curl now. I hope someone implement "exec" for windows
This is a fairly large task and may not be 100%. There are some examples to look at including tcsh for windows. If someone wants to take a stab at this please do. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/windows-alternative-for-X-PRE-... Sent from the freeswitch-users mailing list archive at Nabble.com.
participants (10)
-
Anthony Minessale
-
Avi Marcus
-
babak yakhchali
-
Brian Foster
-
Cesar Bermudez
-
Gabriel Gunderson
-
Hector Geraldino
-
Jeff Lenk
-
Komar, Jason
-
Mitch Capper