I am exploring the possibility of building a Dialer that emulates the logic of Call Files in asterisk. A CallerID catcher is creating CUSTOM events that I can store in a database. I can trigger callbacks using ESL but I wonder what is the best way/nicer/geekier to do something like outgoing calls in * /aep -- Stopping junk mailers is good for the environment
make an esl script that monitors a dir for new files, and push the contents into your same db? On Wed, Sep 23, 2009 at 10:32 AM, Alberto Escudero <aep.lists@it46.se>wrote:
I am exploring the possibility of building a Dialer that emulates the logic of Call Files in asterisk. A CallerID catcher is creating CUSTOM events that I can store in a database. I can trigger callbacks using ESL but I wonder what is the best way/nicer/geekier to do something like outgoing calls in *
/aep
-- Stopping junk mailers is good for the environment
_______________________________________________ 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 <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
Yes, sounds the best way to go. I assume that Unique-ID is the unique key to track the call via ESL Unique-ID: a984afd4-a865-11de-a5b4-fb5a867b002c and Answer-State: the variable to determine if the call is successful? Or should wait for the reason of CS_DESTROY message. I want to avoid to keep track of the whole state machine to know if a call has been completed successfully or not. /aep Unique-ID: 53f51090-a865-11de-a5b4-fb5a867b002c Call-Direction: inbound Presence-Call-Direction: inbound Answer-State: answered -- Stopping junk mailers is good for the environment
make an esl script that monitors a dir for new files, and push the contents into your same db?
On Wed, Sep 23, 2009 at 10:32 AM, Alberto Escudero <aep.lists@it46.se>wrote:
I am exploring the possibility of building a Dialer that emulates the logic of Call Files in asterisk. A CallerID catcher is creating CUSTOM events that I can store in a database. I can trigger callbacks using ESL but I wonder what is the best way/nicer/geekier to do something like outgoing calls in *
/aep
-- Stopping junk mailers is good for the environment
_______________________________________________ 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 <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 _______________________________________________ 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 can use Answer-State, CS_DESTROY won't happen until the call is over. On Sep 23, 2009, at 1:26 PM, Alberto Escudero wrote:
Yes, sounds the best way to go.
I assume that Unique-ID is the unique key to track the call via ESL Unique-ID: a984afd4-a865-11de-a5b4-fb5a867b002c
and Answer-State: the variable to determine if the call is successful?
Or should wait for the reason of CS_DESTROY message. I want to avoid to keep track of the whole state machine to know if a call has been completed successfully or not.
/aep
Unique-ID: 53f51090-a865-11de-a5b4-fb5a867b002c Call-Direction: inbound Presence-Call-Direction: inbound Answer-State: answered
-- Stopping junk mailers is good for the environment
make an esl script that monitors a dir for new files, and push the contents into your same db?
On Wed, Sep 23, 2009 at 10:32 AM, Alberto Escudero <aep.lists@it46.se>wrote:
I am exploring the possibility of building a Dialer that emulates the logic of Call Files in asterisk. A CallerID catcher is creating CUSTOM events that I can store in a database. I can trigger callbacks using ESL but I wonder what is the best way/nicer/geekier to do something like outgoing calls in *
On 24/09/09 3:49 AM, Anthony Minessale wrote:
make an esl script that monitors a dir for new files, and push the contents into your same db?
An easy way to do this is to use incron. -- Cheers, Matt Riddell Director _______________________________________________ http://www.venturevoip.com/news.php (Daily Asterisk News) http://www.venturevoip.com/st.php (SmoothTorque Predictive Dialer) http://www.venturevoip.com/c3.php (ConduIT3 PABX Systems)
ESL is probably the way to go tho...if you want to build a dialer. The Dial Plans can get pretty advanced in FreeSWITCH...and if that is not enough you might consider using mod_perl or something of that sort. --matt Voice Broadcasting <http://www.hellohunter.com/voice_broadcast.php> & Predictive Dialer <http://www.hellohunter.com/> based on FreeSWITCH On Wed, Sep 23, 2009 at 10:32 PM, Alberto Escudero <aep.lists@it46.se>wrote:
I am exploring the possibility of building a Dialer that emulates the logic of Call Files in asterisk. A CallerID catcher is creating CUSTOM events that I can store in a database. I can trigger callbacks using ESL but I wonder what is the best way/nicer/geekier to do something like outgoing calls in *
/aep
-- Stopping junk mailers is good for the environment
_______________________________________________ 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 (5)
-
Alberto Escudero
-
Anthony Minessale
-
Matt Riddell
-
Matthew Fong
-
Michael Jerris