Re: [asterisk-users] trixbox + agi
For the Asterisk side of things, are you using Asterisk directly or Trixbox? I'm just trying to get a prototype working so don't want to spend a lot of time on the initial asterisk setup. If Trixbox will allow me to do the php+agi integration, I'll do that, if not, will try to just try to install Asterisk from source. Thanks!On 11/15/06, Tim Uckun [EMAIL PROTECTED] wrote: If I were you I would go the AGI way. Use ruby, python, php, perl,java, c# or even erlang. Aything but the asterisk dialplan commands.There is no sense in putting yourself through that pain.___ --Bandwidth and Colocation provided by Easynews.com --asterisk-users mailing listTo UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] trixbox + agi
yes, you can use Trixbox.On 11/15/06, blackwater dev [EMAIL PROTECTED] wrote: For the Asterisk side of things, are you using Asterisk directly or Trixbox? I'm just trying to get a prototype working so don't want to spend a lot of time on the initial asterisk setup. If Trixbox will allow me to do the php+agi integration, I'll do that, if not, will try to just try to install Asterisk from source. Thanks!On 11/15/06, Tim Uckun [EMAIL PROTECTED] wrote: If I were you I would go the AGI way. Use ruby, python, php, perl,java, c# or even erlang. Aything but the asterisk dialplan commands.There is no sense in putting yourself through that pain.___ --Bandwidth and Colocation provided by Easynews.com --asterisk-users mailing listTo UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___--Bandwidth and Colocation provided by Easynews.com --asterisk-users mailing listTo UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users-- Tom VileBaldwin Technology Solutions, IncConsulting - Web Design - VoIP Telephony www.baldwintechsolutions.comPhone: 518-631-2855 x205Fax: 518-631-2856 ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] trixbox + agi
For the Asterisk side of things, are you using Asterisk directly or Trixbox? I'm just trying to get a prototype working so don't want to spend a lot of time on the initial asterisk setup. If Trixbox will allow me to do the php+agi integration, I'll do that, if not, will try to just try to install Asterisk from source. You can use trixbox but be aware of the following. Trixbox scatters it's config files. Some stuff is kept in the database, some in the conf files. You have to keep your configuration in specific files that won't be overrritten. Trixbox has it's own contexts for everything so when people give you instructions that work on a plain jane asterisk box it won't work. Trixbox does not have a mailing list. The forums suck. There is no real support from anybody. Everybody is asking questions and maybe somebody will answer your question maybe they wont. People who use trixbox are not writing AGI scripts by and large so I don't think you will get any help in that regard at all. I am using trixbox and I am starting to feel like I would have been better off with just a plain asterisk box for my agi work. ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [asterisk-users] trixbox + agi
Trixbox scatters it's config files. Some stuff is kept in the database, some in the conf files. You have to keep your configuration in specific files that won't be overrritten. True - TB does a lot of very specific stuff. If you want to have a plain Jane dial plan for your stuff then use the file extensions_custom.conf or create a whole new extensions_whatever.conf file, then #include it in extensions_custom.conf. Trixbox has it's own contexts for everything so when people give you instructions that work on a plain jane asterisk box it won't work. While it can be more complicated to integrate dialplan suggestions from others, this statement is not entirely true. Your best bet when using TB is to study their dialplan. If you can understand *why* they have what they have in there then you will be able to add your own stuff without any hitches. Just be sure that you know what is there already. The TB stock dialplan is not small, so you should plan on a few hours of studying it before you feel totally comfortable with it. (Be sure to have a reference handy so that you can look up commands. I bought the TFOT book whose reference I found invaluable when studying dialplans from TB and others.) Trixbox does not have a mailing list. The forums suck. There is no real support from anybody. Everybody is asking questions and maybe somebody will answer your question maybe they wont. Again, not entirely true. The forums aren't the best I've ever seen, but I've never had a post go unanswered. In some cases, I've had answers within an hour. It depends entirely upon the depth of the question. Like all forums, the easier the question, the more likely to have a greater number of answers and to have them more quickly. Deeper questions tend to require more effort and the pool of available brains to think about them is smaller, so it usually takes more time. People who use trixbox are not writing AGI scripts by and large so I don't think you will get any help in that regard at all. There might be some truth to this. Those who choose TB do so for certain reasons. That being said, I've done a number of AGI operations with TB and the Asterisk Perl module. Again, it all depends... I am using trixbox and I am starting to feel like I would have been better off with just a plain asterisk box for my agi work. Quite possibly the case. If you have the resources to do a plain * install next to your TB install then that would be ideal because you could get your feet wet in doing a plain * install and you could also use the TB install for reference. You may find that a plain install suits your tastes and situation just fine. -MC, plain Jane and TB user ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] trixbox + agi
I need to write an app which takes a phone call, asks for the user to input a number and then queries a db via a webservice and reads the results a row at a time back to the caller. First, is this beyond Asterisk? Second, can I do this if I use the Trixbox implementation? Third, any good tutorials on doing just this? Thanks! ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [SPAM HEADER] - [asterisk-users] trixbox + agi - Email found in subject
Lumenvox recently put out a press release regarding integration of their technology with Trixbox http://www.lumenvox.com/news/lumenvoxNews/2006/092506.aspx If they have a TTS engine as part of this integration, you should be able to create an IVR with Trixbox to grab DTMF input from a user, query a local or remotely accessible database, and run the query result through a TTS engine and output to the caller. In terms of a traditional IVR application, it's a fairly simplistic app, but I am not sure how far along Lumenvox is with Trixbox integration. Cory Andrews Executive Vice President ++ VoIPSupply.com PBXSelect.com ++ 454 Sonwil Drive Buffalo, NY 14225 voice direct- 716.250.3402 fax - 716.630.1548 e - [EMAIL PROTECTED] m - 716.907.4059 aim - B2Cory From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of blackwater devSent: Tuesday, November 14, 2006 10:15 PMTo: asterisk-users@lists.digium.comSubject: [SPAM HEADER] - [asterisk-users] trixbox + agi - Email found in subject I need to write an app which takes a phone call, asks for the user to input a number and then queries a db via a webservice and reads the results a row at a time back to the caller. First, is this beyond Asterisk? Second, can I do this if I use the Trixbox implementation? Third, any good tutorials on doing just this? Thanks! ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] trixbox + agi
On 11/15/06, blackwater dev [EMAIL PROTECTED] wrote: I need to write an app which takes a phone call, asks for the user to input a number and then queries a db via a webservice and reads the results a row at a time back to the caller. First, is this beyond Asterisk? Second, can I do this if I use the Trixbox implementation? Third, any good tutorials on doing just this? There are numerous AGI toolkits in different languages. I have just started fooling around with RAGI which is integrated with ruby on rails. From my experiments so far it seems to work OK. ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] trixbox + agi
On 11/14/06, Tim Uckun [EMAIL PROTECTED] wrote: On 11/15/06, blackwater dev [EMAIL PROTECTED] wrote: I need to write an app which takes a phone call, asks for the user to input a number and then queries a db via a webservice and reads the results a row at a time back to the caller.First, is this beyond Asterisk?Second, can I do this if I use the Trixbox implementation?Third, any good tutorials on doing just this?There are numerous AGI toolkits in different languages. I have just started fooling around with RAGI which is integrated with ruby onrails.From my experiments so far it seems to work OK.___--Bandwidth and Colocation provided by Easynews.com --asterisk-users mailing listTo UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users I do this currently but dont know how to allow additional rows to be read back. It only reads the first one then stops. Any insight on how to have it loop to get addtional rows would be great. Also I was wondering how to get DTMF Digits to translate in to possible matches for LastName to query my database like the Directory CMD does. [custom-lookup] exten = s,1,Cepstral(Please enter your eye dee Number, followed by the pound key now.) exten = s,2,Read(ID) exten = s,3,MYSQL(Connect connid localhost contacts contacts) exten = s,4,MYSQL(Query resultid ${connid} SELECT\ FirstName\,LastName\,HomePhone\ FROM\ contacts\ WHERE\ ContactID=\'${ID}\') exten = s,5,MYSQL(Fetch foundRow ${resultid} var1 var2 var3) ; fetch row exten = s,6,GotoIf($[${foundRow} = 1]?7:9) ; exten = s,7,Cepstral(The Phone number for ${var1} ${var2} is, ${var3}.) exten = s,8,Goto(s,10) exten = s,9,Cepstral(No match found. Goodbye) ; End loop if exten = s,10,MYSQL(Clear ${resultid}) exten = s,11,MYSQL(Disconnect ${connid}) If you need more help with the above let me know.Tom Vile ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] trixbox + agi
If I were you I would go the AGI way. Use ruby, python, php, perl, java, c# or even erlang. Aything but the asterisk dialplan commands. There is no sense in putting yourself through that pain. ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users