how to run bash script programming in freeswitch using AGI (like freeswitch)? i think freeswitch support JAVA/PERL/PYTHON/RUBY programming
system script.sh arg1 arg2 argN No FS library though so you can't actually control calls. -BDF Brian Foster Endigo Computer LLC Sent from a mobile device. On May 28, 2012 2:36 PM, "Samira Mh" <saami_mh@ymail.com> wrote:
how to run bash script programming in freeswitch using AGI (like freeswitch)? i think freeswitch support JAVA/PERL/PYTHON/RUBY programming
_________________________________________________________________________ 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
Join Us At ClueCon - Aug 7-9, 2012
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
Hi Brian, thanks for your reply, but i want to do more things on freeswitch using Bash script on AGI, (like asterisk) i want to run for/while loop , if-else condition usin bash and use of the result of running AGI on freeswitch dialplan On asterisk the dial plan looks as follows exten => 1500,1,AGI(agi://192.168.0.131/hello.agi). I need something similar to this. How do i do this from freeswitch? thanks alot ________________________________ From: Brian Foster <bdfoster@endigotech.com> To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Sent: Monday, May 28, 2012 11:18 PM Subject: Re: [Freeswitch-users] "bash" programming on freeswitch? system script.sh arg1 arg2 argN No FS library though so you can't actually control calls. -BDF Brian Foster Endigo Computer LLC Sent from a mobile device. On May 28, 2012 2:36 PM, "Samira Mh" <saami_mh@ymail.com> wrote: how to run bash script programming in freeswitch using AGI (like freeswitch)?
i think freeswitch support JAVA/PERL/PYTHON/RUBY programming _________________________________________________________________________ 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
Join Us At ClueCon - Aug 7-9, 2012
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 Join Us At ClueCon - Aug 7-9, 2012 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
Lua is good for this. Or any language over ESL or event socket outbound<http://wiki.freeswitch.org/wiki/Event_socket_outbound>, which might be the most comparable to running an external script on AGI. -Avi On Mon, May 28, 2012 at 10:20 PM, Samira Mh <saami_mh@ymail.com> wrote:
Hi Brian, thanks for your reply, but i want to do more things on freeswitch using Bash script on AGI, (like asterisk) i want to run for/while loop , if-else condition usin bash and use of the result of running AGI on freeswitch dialplan On asterisk the dial plan looks as follows
exten => 1500,1,AGI(agi://192.168.0.131/hello.agi).
I need something similar to this. How do i do this from freeswitch? thanks alot
------------------------------ *From:* Brian Foster <bdfoster@endigotech.com> *To:* FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> *Sent:* Monday, May 28, 2012 11:18 PM *Subject:* Re: [Freeswitch-users] "bash" programming on freeswitch?
system script.sh arg1 arg2 argN No FS library though so you can't actually control calls. -BDF Brian Foster Endigo Computer LLC Sent from a mobile device. On May 28, 2012 2:36 PM, "Samira Mh" <saami_mh@ymail.com> wrote:
how to run bash script programming in freeswitch using AGI (like freeswitch)? i think freeswitch support JAVA/PERL/PYTHON/RUBY programming
_________________________________________________________________________ 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
Join Us At ClueCon - Aug 7-9, 2012
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
Join Us At ClueCon - Aug 7-9, 2012
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
Join Us At ClueCon - Aug 7-9, 2012
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
Adding to Avi's comments, LUA is also more efficient and highly embeddable when used with FS. Brian Foster Endigo Computer LLC Sent from a mobile device. On May 28, 2012 3:36 PM, "Avi Marcus" <avi@avimarcus.net> wrote:
Lua is good for this. Or any language over ESL or event socket outbound<http://wiki.freeswitch.org/wiki/Event_socket_outbound>, which might be the most comparable to running an external script on AGI. -Avi
On Mon, May 28, 2012 at 10:20 PM, Samira Mh <saami_mh@ymail.com> wrote:
Hi Brian, thanks for your reply, but i want to do more things on freeswitch using Bash script on AGI, (like asterisk) i want to run for/while loop , if-else condition usin bash and use of the result of running AGI on freeswitch dialplan On asterisk the dial plan looks as follows
exten => 1500,1,AGI(agi://192.168.0.131/hello.agi).
I need something similar to this. How do i do this from freeswitch? thanks alot
------------------------------ *From:* Brian Foster <bdfoster@endigotech.com> *To:* FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> *Sent:* Monday, May 28, 2012 11:18 PM *Subject:* Re: [Freeswitch-users] "bash" programming on freeswitch?
system script.sh arg1 arg2 argN No FS library though so you can't actually control calls. -BDF Brian Foster Endigo Computer LLC Sent from a mobile device. On May 28, 2012 2:36 PM, "Samira Mh" <saami_mh@ymail.com> wrote:
how to run bash script programming in freeswitch using AGI (like freeswitch)? i think freeswitch support JAVA/PERL/PYTHON/RUBY programming
_________________________________________________________________________ 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
Join Us At ClueCon - Aug 7-9, 2012
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
Join Us At ClueCon - Aug 7-9, 2012
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
Join Us At ClueCon - Aug 7-9, 2012
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
Join Us At ClueCon - Aug 7-9, 2012
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
Hello guys, thanks (Avi,Brian) alot for your help, ________________________________ From: Avi Marcus <avi@avimarcus.net> To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Sent: Tuesday, May 29, 2012 12:05 AM Subject: Re: [Freeswitch-users] "bash" programming on freeswitch? Lua is good for this. Or any language over ESL or event socket outbound, which might be the most comparable to running an external script on AGI. -Avi On Mon, May 28, 2012 at 10:20 PM, Samira Mh <saami_mh@ymail.com> wrote: Hi Brian,
thanks for your reply, but i want to do more things on freeswitch using Bash script on AGI, (like asterisk) i want to run for/while loop , if-else condition usin bash and use of the result of running AGI on freeswitch dialplan On asterisk the dial plan looks as follows
exten => 1500,1,AGI(agi://192.168.0.131/hello.agi).
I need something similar to this. How do i do this from freeswitch?
thanks alot
________________________________ From: Brian Foster <bdfoster@endigotech.com> To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Sent: Monday, May 28, 2012 11:18 PM Subject: Re: [Freeswitch-users] "bash" programming on freeswitch?
system script.sh arg1 arg2 argN No FS library though so you can't actually control calls. -BDF
Brian Foster Endigo Computer LLC Sent from a mobile device. On May 28, 2012 2:36 PM, "Samira Mh" <saami_mh@ymail.com> wrote:
how to run bash script programming in freeswitch using AGI (like freeswitch)?
i think freeswitch support JAVA/PERL/PYTHON/RUBY programming _________________________________________________________________________ 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
Join Us At ClueCon - Aug 7-9, 2012
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
Join Us At ClueCon - Aug 7-9, 2012
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
Join Us At ClueCon - Aug 7-9, 2012
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 Join Us At ClueCon - Aug 7-9, 2012 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
participants (3)
-
Avi Marcus
-
Brian Foster
-
Samira Mh