Hello Everyone, I have MOH, Sip Friends/Peers, Voice Mail all working realtime. I was wondering if it Is possible to have Asterisk make a calls based on a record inserted in a table realtime? If I have to develop something using AGI or AMI, I can do this with a little direction? Thanks in Advance, Nick
Hmmm..interesting..I haven't came across anything like this so far..How about making a new table for the insertion of a new call data..and trigger some script to activate AMI/Call file according to new call data. http://dev.mysql.com/doc/refman/5.0/en/faqs-triggers.html#qandaitem-B-5-1-10 On Mon, Sep 26, 2011 at 3:53 AM, Nick Khamis <symack at gmail.com> wrote:> Hello Everyone, > > I have MOH, Sip Friends/Peers, Voice Mail all working realtime. I was > wondering if it Is possible to have Asterisk make a calls based on a > record inserted in a table realtime? If I have to develop something using > AGI > or AMI, I can do this with a little direction? > > Thanks in Advance, > > Nick > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110926/b3470deb/attachment.htm>
Matt - how dare you tell a man asking for a fish to learn how! -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Matt Riddell Sent: Monday, September 26, 2011 4:48 PM To: asterisk-users at lists.digium.com Subject: Re: [asterisk-users] Asterisk Realtime Time Dial App On 27/09/11 2:57 AM, Nick Khamis wrote:> That would be amazing! And would allow for more possibilities. A call > is made with the simple insertion of new call data. Some directions on > this please?Just write a program that polls the database, if it sees a record it runs an Originate command via the Asterisk Manager. Things you would need to learn: 1. The language you use for the program (i.e. C/PHP/Java etc) 2. How to create/use MySQL databases 3. How the Asterisk Manager works -- Cheers, Matt Riddell _______________________________________________ http://www.venturevoip.com/news.php (Daily Asterisk News) http://www.venturevoip.com/pabx_on_disk.php (PABX on a Disk) http://www.venturevoip.com/exchange.php (Full ITSP Solution) http://www.venturevoip.com/cc.php (Call Centre Solutions) -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Hello Matt, Thank you so much for your response. The first two are not a problem. I would rather write the app in C and compile it directly into asterisk. Are there any direction on how to work with the dial app? Any types of threads * may use etc... Thanks in Advance. Nick Khamis Ph.D Computer Science McGill University