Asterisk Fast AGI like support from FreeSwitch. Also mod_python + Django doc
Hello users, I am new to FreeSwitch. I have used Asterisk a lot but now want to use FreeSwitch. Presently I write complex Asterisk applications using Fast AGI in Python. How could I achieve the same from FreeSwitch? The main reason is that the server has heavy call load and I want to shift that load on two systems one the FreeSwitch and another the application server. Could you also give a pointer to such an example or documentation where it says how to run FreeSwitch applications in client server mode (Fast AGI mode in Asterisk). Is there any good documentation on mod_python + Django support in FreeSwitch? Thanks, Regards, Vin
You can use ESL (Event Socket Library) to talk to freeswitch and do the same thing as fastagi. Check out http://wiki.freeswitch.org/wiki/Esl (it builds a native python module too!) Mathieu On 21-Apr-09, at 3:13 PM, technologyinspired wrote:
Hello users,
I am new to FreeSwitch. I have used Asterisk a lot but now want to use FreeSwitch. Presently I write complex Asterisk applications using Fast AGI in Python. How could I achieve the same from FreeSwitch? The main reason is that the server has heavy call load and I want to shift that load on two systems one the FreeSwitch and another the application server.
Could you also give a pointer to such an example or documentation where it says how to run FreeSwitch applications in client server mode (Fast AGI mode in Asterisk). Is there any good documentation on mod_python + Django support in FreeSwitch?
Thanks,
Regards, Vin _______________________________________________ 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
On Tue, Apr 21, 2009 at 5:47 PM, Mathieu Rene <mrene_lists@avgs.ca> wrote:
You can use ESL (Event Socket Library) to talk to freeswitch and do the same thing as fastagi.
Check out http://wiki.freeswitch.org/wiki/Esl (it builds a native python module too!)
There's also the eventsocket protocol for twisted, which allows one to create inbound and outbound socket apps within the same code: http://code.google.com/p/eventsocket
Mathieu
On 21-Apr-09, at 3:13 PM, technologyinspired wrote:
Hello users,
I am new to FreeSwitch. I have used Asterisk a lot but now want to use FreeSwitch. Presently I write complex Asterisk applications using Fast AGI in Python. How could I achieve the same from FreeSwitch? The main reason is that the server has heavy call load and I want to shift that load on two systems one the FreeSwitch and another the application server.
Could you also give a pointer to such an example or documentation where it says how to run FreeSwitch applications in client server mode (Fast AGI mode in Asterisk). Is there any good documentation on mod_python + Django support in FreeSwitch?
Thanks,
Regards, Vin _______________________________________________ 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
_______________________________________________ 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
-- Arnaldo M Pereira
I'm not sure what is meant by this. It's been ages since I did anything with Asterisk so I grow senile. But shouldn't you just be able to use django as your framework and bring the FS functionality into your specific app (or into django if django supports modules) ? One possibility is for your web app to interface with FS's event socket or similar method. Sorry I can't be of much more assistance... -- Yossi Neiman Cartis Solutions, Inc. http://www.cartissolutions.com technologyinspired wrote:
Hello users,
I am new to FreeSwitch. I have used Asterisk a lot but now want to use FreeSwitch. Presently I write complex Asterisk applications using Fast AGI in Python. How could I achieve the same from FreeSwitch? The main reason is that the server has heavy call load and I want to shift that load on two systems one the FreeSwitch and another the application server.
Could you also give a pointer to such an example or documentation where it says how to run FreeSwitch applications in client server mode (Fast AGI mode in Asterisk). Is there any good documentation on mod_python + Django support in FreeSwitch?
Thanks,
Regards, Vin ------------------------------------------------------------------------
_______________________________________________ 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
try http://wiki.freeswitch.org/wiki/Mod_event_socket On Tue, Apr 21, 2009 at 2:13 PM, technologyinspired < technologyinspired@gmail.com> wrote:
Hello users,
I am new to FreeSwitch. I have used Asterisk a lot but now want to use FreeSwitch. Presently I write complex Asterisk applications using Fast AGI in Python. How could I achieve the same from FreeSwitch? The main reason is that the server has heavy call load and I want to shift that load on two systems one the FreeSwitch and another the application server.
Could you also give a pointer to such an example or documentation where it says how to run FreeSwitch applications in client server mode (Fast AGI mode in Asterisk). Is there any good documentation on mod_python + Django support in FreeSwitch?
Thanks,
Regards, Vin
_______________________________________________ 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/ AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
On Apr 21, 2009, at 4:13 PM, technologyinspired wrote:
Hello users,
I am new to FreeSwitch. I have used Asterisk a lot but now want to use FreeSwitch. Presently I write complex Asterisk applications using Fast AGI in Python. How could I achieve the same from FreeSwitch? ESL is the answer to your question. Take a look at the wiki. There is a Python binding for it as well.
The main reason is that the server has heavy call load and I want to shift that load on two systems one the FreeSwitch and another the application server. Ok, I don't see a problem there ...
Could you also give a pointer to such an example or documentation where it says how to run FreeSwitch applications in client server mode (Fast AGI mode in Asterisk). Is there any good documentation on mod_python + Django support in FreeSwitch?
Carefull with Django + FS. You could run over the problem that, since FS is multi domain, you might want to have a SaaS sometime and Django does not connect to multiple DBs with its native ORM. What kind of pointers are you looking for?
Thanks,
Regards, Vin _______________________________________________ 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
Jmesquita
participants (6)
-
Anthony Minessale
-
Arnaldo de Moraes Pereira
-
João Mesquita
-
Mathieu Rene
-
technologyinspired
-
Yossi Neiman