[asterisk-users] Problem with AMI Originate

2010-05-04 Thread Leo Burd
Hello there, How to retrieve the failure reason when calling AMI Originate with Async = 0? The system seems to return the following no matter what: [Response] = Error [Message] = Originate failed How to determine if the number was busy, invalid, etc? Would I have to run AMI Originate

[asterisk-users] Possible AGI bug?

2010-04-13 Thread Leo Burd
Hello all, I wonder if somebody could provide me with some advice on how to track what looks like a bug to me: I've got a PHP AGI script that is called whenever I dial into the system and also whenever I issue a specific Originate() request via AMI. The script works fine when I dial in.

Re: [asterisk-users] Possible AGI bug?

2010-04-13 Thread Leo Burd
(check http://www.voip-info.org/tiki-index.php?page=Asterisk%20local%20channels), but now I'm confused. Any ideas about what is going on? Thanks so much, Leo Steve Edwards wrote: On Tue, 13 Apr 2010, Leo Burd wrote: I wonder if somebody could provide me with some advice on how to track

[asterisk-users] What's are the possible return values of AMI Originate when Async is set to 0?

2010-04-13 Thread Leo Burd
Hello all, What are the possible values returned by AMI Originate when it's called with Async set to 0? Is there any way to find out whether the dialed channel was busy, invalid, etc. without requiring Async to be 1? Thanks in advance, Leo --

[asterisk-users] How to get Asterisk to make batch calls?

2010-03-21 Thread Leo Burd
Hello there, I'm currently building a PHP-based software to help users make batch calls. Basically, users provide a script and list of phone numbers. The system calls those numbers and plays the script to whoever picks up the phone. Currently, the system does one call at a time via direct

[asterisk-users] Asterisk Manager Interface (AMI) proxy recommendation

2010-03-21 Thread Leo Burd
Hello there, I'm new to Asterisk and I'm trying to figure out a way to make the Asterisk Manager Interface (AMI) accessible to multiple users at the same time. Would anyone recommend an AMI proxy that could be accessed from PHP code? Thanks in advance, Leo --

Re: [asterisk-users] How to run a remote PHP script and still have access to audio stream?

2010-02-10 Thread Leo Burd
checking if the file exists in your PHP script and implementing access restrictions etc. We also share our sounds directory between systems this way so that all our sounds only have to reside in one place but are visible across all the systems. Cheers, Ben Leo Burd wrote

Re: [asterisk-users] How to run a remote PHP script and still have access to audio stream?

2010-02-10 Thread Leo Burd
Hello David, Thanks so much for your message! Please check my comments inline below... David Backeberg wrote: On Sun, Feb 7, 2010 at 9:54 PM, Leo Burd l...@media.mit.edu wrote: Hello there, I'm trying to figure out how to run a PHP script on a remote machine and still have access

[asterisk-users] How to run a remote PHP script and still have access to audio stream?

2010-02-07 Thread Leo Burd
Hello there, I'm trying to figure out how to run a PHP script on a remote machine and still have access to the audio stream associated with the call. Ideally, I'd love to play/record audio files directly from/to the remote server without having to copy them back and forth to the Asterisk

Re: [asterisk-users] How to emulate Music on Hold in a PHP AGI script?

2006-08-07 Thread Leo Burd
- Thank you so much! I didn't even know that Start/StopMusicOnHold existed!! BTW, how can one find out about those undocumented applications? Best, Leo - On Sun, 2006-08-06 at 22:31 -0400, Leo Burd wrote: How to emulate Music on Hold in a PHP AGI script

[asterisk-users] How to emulate Music on Hold in a PHP AGI script?

2006-08-06 Thread Leo Burd
- Hello there, How to emulate Music on Hold in a PHP AGI script? Ideally, I would like my PHP script to play a predefined file to my callers while the script has to spend time performing some internal calculations. Does anyone know how to do this? Any suggestions? Thanks in advance, Leo

[asterisk-users] How to play music on hold from within PHP AGI scripts?

2006-08-04 Thread Leo Burd
is being called by my AGI script... It looks good, but I'm not getting any music back, though. Has anyone got MOH to work with PHP? If so, would you mind sending me a code snippet? Thanks in advance, Leo Burd ___ --Bandwidth and Colocation provided

[Asterisk-Users] How to configure Asterisk to handle multiple Gizmo accounts?

2006-04-26 Thread Leo Burd
Hello there, I'm having difficulties to configure Asterisk to handle multiple Gizmo accounts. Ideally, I'd like each account to go to a different context/extension. Can anyone help me out? Sample configurations are welcome!! Best, Leo ___

[Asterisk-Users] What's the best way to combine multiple VOIP lines into a single number?

2006-04-20 Thread Leo Burd
Guys, thank you so much for the answers! So, if you don't mind, what are the service providers that you use? Mine does not allow multiple concurrent calls to the same number... and I don't think it offers the 'rollover' feature, either... Thanks once again, Leo

[Asterisk-Users] What's the best way to combine multiple VOIP lines into a single number?

2006-04-19 Thread Leo Burd
Hello there, I'm new to Asterisk and I'm wonder what's the best way to combine multiple VOIP lines into a single phone number... I currently have 4 incoming VOIP lines, each one with a different number. Ideally, I would love to provide my customers with a single number for all those lines.

[Asterisk-Users] HELP NEEDED: odbc show crashes Asterisk... and I have no idea of what is going on!!!

2006-04-11 Thread Leo Burd
Hello there, For some reason, Asterisk is crashing everytime that my system tries to do anything related to ODBC. I would really appreciate if anyone could give me ideas or pointers to the solution of this issue... Here's what I've found out so far: * I can run isql -v my_dsn username

[Asterisk-Users] Using Voicemail with MP3 files...

2006-03-30 Thread Leo Burd
this? Is format_mp3 stable enough for something like this? Thanks in advance, Leo Burd ___ --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 Realtime voicemail question

2006-03-03 Thread Leo Burd
Hello there, I'm successfully using Asterisk Realtime to access information about voicemail users from a MySQL database. Now I'd like to read static voicemail information (such as format, serveremail, etc.) also from a database. Is that possible? If so, I'm assuming one would need to

[Asterisk-Users] Asterisk 1.2 error: Ouch ... error while writing audio data: : Broken pipe

2005-11-18 Thread Leo Burd
Hello there, I've just managed to install Asterisk 1.2. Unfortunately, whenever I try to run asterisk -v I get the following error message: Ouch ... error while writing audio data: : Broken pipe I also get warningw like: [app_muxmon.so]Nov 18 11:05:17 WARNING[8175]: loader.c:325

[Asterisk-Users] What's the streamplayer util and how to use it?

2005-11-18 Thread Leo Burd
Hello everyone, Can anyone explain to me what the streamplayer util is for? If possible, it would be great if someone could also send me an example of how it's used in practice. It looks very interesting... Thanks so much, Leo ___ --Bandwidth

[Asterisk-Users] Missing smp kernel package in Asterisk 1.2 installation...

2005-11-17 Thread Leo Burd
Hello there, I've just downloaded Asterisk 1.2 into my RedHat Enterprise Linux machine and got the following problem when I tried to compile zaptel: You do not appear to have the sources for the 2.6.9-22.ELsmp kernel installed. However, according to rpm -qa, I do have the following

[Asterisk-Users] What's the best way to stream and/or convert MP3 and WAV files?

2005-11-17 Thread Leo Burd
Hello everyone, I'm implementing an audioblog application and have some questions about how to best stream and/or convert MP3 and WAV files to be played by Asterisk. Currently, I first copy the files from the server to my machine, convert them to Wav and play. Unfortunately, this process is

[Asterisk-Users] Festival() works fine when I call from PSTN and not when I call from XLite... What's going on?

2005-10-25 Thread Leo Burd
Hello there, For some reason, Festival() works fine when I call from PSTN (via an IAX connection that I've got from Voice Pulse), but does not produce any sound when I call from my X-Lite SIP phone. However, if I use text2wave instead of Festival(), both my PSTN and my X-Lite connections

[Asterisk-Users] Problems with Festival...

2005-10-23 Thread Leo Burd
Hello there, I'm having problems with Festival text-to-speech generator. Apparently, Asterisk connects to the Festival server, but no audio is generated. Does anybody know: a) if Asterisk is compatible with Festival 1.4.2? b) it is possible to download new voices for text2wave (for the

[Asterisk-Users] Problem with Asterisk app command Read...

2005-09-05 Thread Leo Burd
Hello everyone, I'm writing a macro to use the telephone keyboard as a means for users to type in text. For some weird reason, I'm having problems with Asterisk command Read ... If I dial 0, the asterisk debugger prints User entered nothing. If I dial OO, asterisk recognizes both digits...

[Asterisk-Users] Found solution to my PHP AGI Script problem...

2005-08-08 Thread Leo Burd
Dear Moises Silva, Chris Thompson and others, I've finally managed to find the problem with my PHP AGI script! Apparently, my machine has 2 versions of PHP installed. One for CGI and the other for CLI. Without knowing, to hand test my script I was calling the CLI version

[Asterisk-Users] URGENT: Problems with PHP AGI...

2005-08-08 Thread Leo Burd
Hello everyone, I'm having all sorts of problems with my PHP AGI scripts... Basically, my scripts run fine from the command line and don't do anything well called from Asterisk. Here are my questions: a) Does Asterisk require PHP CLI or CGI? From the command line, my script seems to work

[Asterisk-Users] Is there a right place for a include_once statement in a PHP AGI script?

2005-08-05 Thread Leo Burd
Hello there, I'm new to PHP AGIs and I'm having problems with a particular script that has a include_once statement on it. If I remove that stament, the script runs until the section of the code that depends on the include and then returns. If I include that statement, the script does not

[Asterisk-Users] How to log the different extensions dialed within a single call?

2005-08-04 Thread Leo Burd
Hello everyone, From what I understood, the CDR mechanism only keeps track of the origin and destination of a call. What would you recommend if one needs to keep track of different extensions dialed within a single call? Is there any special Asterisk application for that? Thanks in

[Asterisk-Users] How to install PHPAGI?

2005-08-01 Thread Leo Burd
Hello everyone, Where can I find instructions on how to install PHPAGI? BTW, what's the difference between PHPAGI and PHPAGI2? Are they different products? It's hard to tell from voip-info.org... Best, Leo ___ Asterisk-Users mailing list

[Asterisk-Users] WARNING[3240]: chan_oss.c:305 sound_thread: Read error on sound device: File descriptor in bad state

2005-07-27 Thread Leo Burd
Hello everyone, I keep getting the warning message above all the time. Any clues on how to solve this problem? Thanks in advance, Leo ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com

[Asterisk-Users] How to minimize the VoiceMail interface options?

2005-07-19 Thread Leo Burd
Hello everyone, Sorry for sending so many questions to the list. I'm currently implementing a telephone system for kids and I wonder if it is possible to minimize the number of options presented by Asterisk's voicemail tool. For instance, my users do not need access to multiple folders,

[Asterisk-Users] How to play voicemail greetings?

2005-07-19 Thread Leo Burd
Hello everyone, Is it possible to ask the VoiceMail command to play the user greeting before recording a new voice message? I've looked at the documentation and I don't see how to do that... Any help would be really appreciated! Best, Leo ___

[Asterisk-Users] NoOp does not seem to be printing messages on the console...

2005-07-19 Thread Leo Burd
Hello everyone, I'm trying to send debugging messages to the console. However, although my system seems to be working fine, it does not seem to be printing the NoOp messages on the console... Are there any flags that prevent that to happen? BTW, how to log specific debug messages to a log

[Asterisk-Users] WARNING[3240]: chan_oss.c:305 sound_thread: Read error on sound device: File descriptor in bad state

2005-07-08 Thread Leo Burd
Hello everyone, I keep getting the warning message above all the time. Any clues on how to solve this problem? Is there anyway to get rid of the warning messages until I find a more definitive solution? Thanks in advance, Leo ___ Asterisk-Users

[Asterisk-Users] How to prevent log files from eating my hard drive?

2005-07-05 Thread Leo Burd
Hello there, Somehow, Asterisk log files are consuming all the space that I have in my hard disk... They've already eaten 14GB and are still hungry!! What shall I do? I'm not even logging anything in verbose mode!! Help really appreciated!! Best, Leo

[Asterisk-Users] Questions about real-time voicemail, foreign languages and voicemail folders...

2005-07-03 Thread Leo Burd
Hello there, I'm trying to configure my voicemail system and I have a couple of questions: * Is real-time voicemail already working? If so, where is it that I should specify the database name, user and password? Where can I get more information about the different options that exist and

[Asterisk-Users] How to keep track of who is doing what?

2005-07-03 Thread Leo Burd
Hello everyone, I'm a new Asterisk user and I wonder what people usually do to keep track of who is doing what in the system. For instance, I would like to keep track of who is calling certain contexts/extensions and when that happens. I'm also interested in logging customized status

[Asterisk-Users] Example of user authentication?

2005-07-03 Thread Leo Burd
Hi everyone, I wonder if people could send me sample configurations showing how to deal with user authentication in Asterisk. Is there anyway to integrate user authentication with voicemail passwords? Is there any central module that handles authentication in Asterisk? Thank you so much,

[Asterisk-Users] Is it possible to setup group voicemail in Asterisk?

2005-07-02 Thread Leo Burd
Hello there, I'm a new Asterisk user and I wonder if it is possible to associate a voicemail box with a group of users, i.e., a single recorded message is sent to everyone in that group. If so, where can I find more information about that? Thanks in advance, Leo Burd

[Asterisk-Users] Problems connecting to and from my Asterisk server :(

2005-06-29 Thread Leo Burd
Hello there, I'm a new Asterisk user and I'm having difficulties to connect to and from my Asterisk server. Can anybody give me a hand? Here's some background information: * I'm running RedHat Linux Enterprise 4.0 * When iptables is stopped, my server can register with IAX service providers