FreeSWITCH-Portal with ember.js - Another GUI for FS fans
Hi, I'm learning ember.js and wondering if anyone here has experience on that and has interest for another open source FS GUI. http://emberjs.com/ said it's a framework for creating ambitious web applications. I had used backbone.js and it sames that ember.js is more complicated and short of document so I had a hard time on that. Anyway, back to the topic. I started this project as a way of learning ember.js and hope it would be useful for FreeSWITCH. Make another FS GUI is not to reinvent a wheel but, sometimes you just found you have a hard time to get fusionPBX or blue.box runing. So the FS-Portal project is not aims to replace them but sometimes you just need a GUI that is simple and can be used out of the box. Take a look at the code https://github.com/seven1240/FreeSWITCH-Portal. It's just static html and js files you can put in your htdocs dir and it only depends on mod_xml_rpc right now. To make it more fun Websocket is more helpful and I patched mod_event_socket to use the libwebsockets lib. It is kind of working, just I'm not sure if it's a good idea to add the code into mod_event_socket or make a new module. Or should we wait the new WebRTC out which might use Websocket for signalling. Anyway, it's working w/o websocket now and please try and give me some feedback if you thinks it's helpful. Well, I do have something more to discuss here. mod_xml_rpc implemented some interfaces like /api, /txtapi, /webapi, and some commands implemented "show xx as xml", "show xx as json" and "sofia xmlstatus" etc. Is there a easy way or interest to make this more consistent to respond to different Content-Type? e.g. api, txtapi, xmlapi, jsonapi etc? Thanks. -- Seven Du http://www.freeswitch.org.cn http://about.me/dujinfang http://www.dujinfang.com Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
I'm interested. Catch up with me on IM or irc and we can discuss. Mike On Mar 20, 2013, at 10:28 AM, Seven Du <dujinfang@gmail.com> wrote:
Hi,
I'm learning ember.js and wondering if anyone here has experience on that and has interest for another open source FS GUI.
http://emberjs.com/ said it's a framework for creating ambitious web applications. I had used backbone.js and it sames that ember.js is more complicated and short of document so I had a hard time on that.
Anyway, back to the topic. I started this project as a way of learning ember.js and hope it would be useful for FreeSWITCH. Make another FS GUI is not to reinvent a wheel but, sometimes you just found you have a hard time to get fusionPBX or blue.box runing. So the FS-Portal project is not aims to replace them but sometimes you just need a GUI that is simple and can be used out of the box.
Take a look at the code https://github.com/seven1240/FreeSWITCH-Portal. It's just static html and js files you can put in your htdocs dir and it only depends on mod_xml_rpc right now.
To make it more fun Websocket is more helpful and I patched mod_event_socket to use the libwebsockets lib. It is kind of working, just I'm not sure if it's a good idea to add the code into mod_event_socket or make a new module. Or should we wait the new WebRTC out which might use Websocket for signalling. Anyway, it's working w/o websocket now and please try and give me some feedback if you thinks it's helpful.
Well, I do have something more to discuss here. mod_xml_rpc implemented some interfaces like /api, /txtapi, /webapi, and some commands implemented "show xx as xml", "show xx as json" and "sofia xmlstatus" etc. Is there a easy way or interest to make this more consistent to respond to different Content-Type? e.g. api, txtapi, xmlapi, jsonapi etc?
Hi Mike, I was on irc all day yesterday but didn't find you and don't know which one is your id. Can you send me a private message so I can catch you or let me know your id or other IM like Skype and google talk? Thanks. 7. On Thursday, March 21, 2013 at 2:19 AM, Michael Jerris wrote:
I'm interested. Catch up with me on IM or irc and we can discuss.
Mike
On Mar 20, 2013, at 10:28 AM, Seven Du <dujinfang@gmail.com (mailto:dujinfang@gmail.com)> wrote:
Hi,
I'm learning ember.js and wondering if anyone here has experience on that and has interest for another open source FS GUI.
http://emberjs.com/ said it's a framework for creating ambitious web applications. I had used backbone.js and it sames that ember.js is more complicated and short of document so I had a hard time on that.
Anyway, back to the topic. I started this project as a way of learning ember.js and hope it would be useful for FreeSWITCH. Make another FS GUI is not to reinvent a wheel but, sometimes you just found you have a hard time to get fusionPBX or blue.box runing. So the FS-Portal project is not aims to replace them but sometimes you just need a GUI that is simple and can be used out of the box.
Take a look at the code https://github.com/seven1240/FreeSWITCH-Portal. It's just static html and js files you can put in your htdocs dir and it only depends on mod_xml_rpc right now.
To make it more fun Websocket is more helpful and I patched mod_event_socket to use the libwebsockets lib. It is kind of working, just I'm not sure if it's a good idea to add the code into mod_event_socket or make a new module. Or should we wait the new WebRTC out which might use Websocket for signalling. Anyway, it's working w/o websocket now and please try and give me some feedback if you thinks it's helpful.
Well, I do have something more to discuss here. mod_xml_rpc implemented some interfaces like /api, /txtapi, /webapi, and some commands implemented "show xx as xml", "show xx as json" and "sofia xmlstatus" etc. Is there a easy way or interest to make this more consistent to respond to different Content-Type? e.g. api, txtapi, xmlapi, jsonapi etc?
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
2013/3/20 Seven Du :
Take a look at the code https://github.com/seven1240/FreeSWITCH-Portal. It's just static html and js files you can put in your htdocs dir and it only depends on mod_xml_rpc right now.
I tried to install and run it, but any browser got all pages from portal as text/plain instead of text/html for example, so I can see only html code. I have freeswitch-1.2.7 installed. How can I fix it? -- Regards, Eugene Prokopiev
It does returns text/html for me, maybe you'd better show me sth. like below dujinfang@seven:~$ curl -v --user freeswitch:works http://localhost:8081/portal/index.html * About to connect() to localhost port 8081 (#0) * Trying 127.0.0.1... * connected * Connected to localhost (127.0.0.1) port 8081 (#0) * Server auth using Basic with user 'freeswitch'
GET /portal/index.html HTTP/1.1 Authorization: Basic ZnJlZXN3aXRjaDp3b3Jrcw== User-Agent: curl/7.24.0 (x86_64-apple-darwin12.0) libcurl/7.24.0 OpenSSL/0.9.8r zlib/1.2.5 Host: localhost:8081 Accept: */*
< HTTP/1.1 200 OK < freeswitch-user: freeswitch < freeswitch-domain: localhost < Content-length: 10528 < Content-type: text/html < Last-Modified: Fri, 22 Mar 2013 01:31:20 UTC < Connection: Keep-Alive < Keep-Alive: timeout=5, max=30 < Date: Fri, 22 Mar 2013 11:39:35 UTC < Server: Freeswitch xmlrpc-c_abyss /1.26.0 < <!DOCTYPE html> On Friday, March 22, 2013 at 3:23 PM, Eugene Prokopiev wrote:
2013/3/20 Seven Du :
Take a look at the code https://github.com/seven1240/FreeSWITCH-Portal. It's just static html and js files you can put in your htdocs dir and it only depends on mod_xml_rpc right now.
I tried to install and run it, but any browser got all pages from portal as text/plain instead of text/html for example, so I can see only html code. I have freeswitch-1.2.7 installed. How can I fix it?
-- Regards, Eugene Prokopiev
_________________________________________________________________________ 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
Seven, send me your gtalk info as well, mine is the same as this email. On Fri, Mar 22, 2013 at 6:42 AM, Seven Du <dujinfang@gmail.com> wrote:
It does returns text/html for me, maybe you'd better show me sth. like below
dujinfang@seven:~$ curl -v --user freeswitch:works http://localhost:8081/portal/index.html * About to connect() to localhost port 8081 (#0) * Trying 127.0.0.1... * connected * Connected to localhost (127.0.0.1) port 8081 (#0) * Server auth using Basic with user 'freeswitch'
GET /portal/index.html HTTP/1.1 Authorization: Basic ZnJlZXN3aXRjaDp3b3Jrcw== User-Agent: curl/7.24.0 (x86_64-apple-darwin12.0) libcurl/7.24.0 OpenSSL/0.9.8r zlib/1.2.5 Host: localhost:8081 Accept: */*
< HTTP/1.1 200 OK < freeswitch-user: freeswitch < freeswitch-domain: localhost < Content-length: 10528 < Content-type: text/html < Last-Modified: Fri, 22 Mar 2013 01:31:20 UTC < Connection: Keep-Alive < Keep-Alive: timeout=5, max=30 < Date: Fri, 22 Mar 2013 11:39:35 UTC < Server: Freeswitch xmlrpc-c_abyss /1.26.0 < <!DOCTYPE html>
On Friday, March 22, 2013 at 3:23 PM, Eugene Prokopiev wrote:
2013/3/20 Seven Du :
Take a look at the code https://github.com/seven1240/FreeSWITCH-Portal. It's just static html and js files you can put in your htdocs dir and it only depends on mod_xml_rpc right now.
I tried to install and run it, but any browser got all pages from portal as text/plain instead of text/html for example, so I can see only html code. I have freeswitch-1.2.7 installed. How can I fix it?
-- Regards, Eugene Prokopiev
_________________________________________________________________________ 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
-- 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
Mine is also the same as this email. trying to figure out how to make you show on my buddy list. Maybe this email helps. On Sat, Mar 23, 2013 at 5:36 AM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
Seven, send me your gtalk info as well, mine is the same as this email.
On Fri, Mar 22, 2013 at 6:42 AM, Seven Du <dujinfang@gmail.com> wrote:
It does returns text/html for me, maybe you'd better show me sth. like below
dujinfang@seven:~$ curl -v --user freeswitch:works http://localhost:8081/portal/index.html * About to connect() to localhost port 8081 (#0) * Trying 127.0.0.1... * connected * Connected to localhost (127.0.0.1) port 8081 (#0) * Server auth using Basic with user 'freeswitch'
GET /portal/index.html HTTP/1.1 Authorization: Basic ZnJlZXN3aXRjaDp3b3Jrcw== User-Agent: curl/7.24.0 (x86_64-apple-darwin12.0) libcurl/7.24.0 OpenSSL/0.9.8r zlib/1.2.5 Host: localhost:8081 Accept: */*
< HTTP/1.1 200 OK < freeswitch-user: freeswitch < freeswitch-domain: localhost < Content-length: 10528 < Content-type: text/html < Last-Modified: Fri, 22 Mar 2013 01:31:20 UTC < Connection: Keep-Alive < Keep-Alive: timeout=5, max=30 < Date: Fri, 22 Mar 2013 11:39:35 UTC < Server: Freeswitch xmlrpc-c_abyss /1.26.0 < <!DOCTYPE html>
On Friday, March 22, 2013 at 3:23 PM, Eugene Prokopiev wrote:
2013/3/20 Seven Du :
Take a look at the code https://github.com/seven1240/FreeSWITCH-Portal. It's just static html and js files you can put in your htdocs dir and it only depends on mod_xml_rpc right now.
I tried to install and run it, but any browser got all pages from portal as text/plain instead of text/html for example, so I can see only html code. I have freeswitch-1.2.7 installed. How can I fix it?
-- Regards, Eugene Prokopiev
_________________________________________________________________________ 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
-- 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
_________________________________________________________________________ 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
-- About: http://about.me/dujinfang Blog: http://www.dujinfang.com Proj: http://www.freeswitch.org.cn
participants (4)
-
Anthony Minessale
-
Eugene Prokopiev
-
Michael Jerris
-
Seven Du