Re: [asterisk-users] async agi question

2009-04-17 Thread Jose Arias
Hi Moy, thank you for your answer and this new testasync2.diff. It matches better my mind about the subject. I tried it out and it worked fine. The execution went right this time, as you can see at bottom this mail. A last question: would you apply this fix to asterisk-async-AGI-rev92324.patch

Re: [asterisk-users] async agi question

2009-04-16 Thread Jose Arias
Hi Moy, ¡Great, it works! Thanks ever so much. But, I don't understand anything. I mean: The only difference I can see between this testasync.diff and your last asterisk-1.4.18-async-agi.patch is at the lines: returnstatus |= agi_handle_command(chan, &async_agi, cmd->cmd_buffer); if ((returnstat

Re: [asterisk-users] async agi question

2009-04-15 Thread Moises Silva
Ok, that makes more sense. Try this new patch and let me know how it goes, once you confirm it works I will post it in my blog with a better name. http://moythreads.com/testasync.diff Moy On Wed, Apr 15, 2009 at 11:52 AM, wrote: > Hi Moy, > You are right. I failed applying the patch. In fact,

Re: [asterisk-users] async agi question

2009-04-15 Thread cyr2242
Hi Moy, You are right. I failed applying the patch. In fact, I applied it but I didn't "make install" so I started a wrong asterisk. I apologize, it was my mistake. This time I made sure twice before getting the logs and this time the log message you said appears, but it doesn't work either as y

Re: [asterisk-users] async agi question

2009-04-14 Thread Moises Silva
On Mon, Apr 13, 2009 at 6:59 AM, wrote: > Hi Moy, > > thanks a lot for your fix, but I'm afraid it doesn't work. I looked your > patch over and I realize the code never passes by neither of the two lines > you added with "returnstatus = AGI_RESULT_HANGUP". Even, it seems the > execution doesn'

Re: [asterisk-users] async agi question

2009-04-13 Thread cyr2242
Hi Moy, thanks a lot for your fix, but I'm afraid it doesn't work. I looked your patch over and I realize the code never passes by neither of the two lines you added with "returnstatus = AGI_RESULT_HANGUP". Even, it seems the execution doesn't pass by res_agi.c at all, or at least, it doesn't p

Re: [asterisk-users] async agi question

2009-04-07 Thread Moises Silva
It's a bug in the Async AGI feature. I have created a new patch http://www.moythreads.com/asterisk-1.4.18-async-agi.patch Please test it and let me know if it works for you, Moy On Tue, Apr 7, 2009 at 11:50 AM, Moises Silva wrote: > "Released" means no patching needed, it means it was tested an

Re: [asterisk-users] async agi question

2009-04-07 Thread Moises Silva
"Released" means no patching needed, it means it was tested and put into Asterisk tree. So, I published a patch for 1.4 so it could be used in 1.4 however the feature per se was just released for Asterisk 1.6. Moy On Tue, Apr 7, 2009 at 10:01 AM, wrote: > Moy, > I apologize if you felt under so

Re: [asterisk-users] async agi question

2009-04-07 Thread cyr2242
Moy, I apologize if you felt under some pressure. It wasn't my mind. I only wanted to know if either there was a mistake in my configuration, or I was failing in the procedure, or it was a bug, as you said, in order to move forward. By the way, there's a thing I don't understand: In your blog a

Re: [asterisk-users] async agi question

2009-04-06 Thread Moises Silva
You have to understand that this mailing list is not free instant support. Even more, you are using an unsupported Asterisk feature for 1.4. I will check it when I have some spare time to try to reproduce and fix it. If you are too much in a hurry you can always contact me off-list for paid support

Re: [asterisk-users] async agi question

2009-04-06 Thread Jose Arias
Hi, I was asked for the patch and I sent it. Does anybody have any news about this subject? I'm willing to try a fix for 1.4 but I'd need any guidelines to do it. Thanks in advanced Jose 2009/4/2 Moises Silva > Async AGI was never released for Asterisk 1.4.X, so probably the patch > you used has

Re: [asterisk-users] async agi question

2009-04-02 Thread Jose Arias
Yes, I have the patch around here. I think it's the one you said at http://www.moythreads.com/wordpress/2007/12/24/asterisk-asynchronous-agi/ Due to the res_agi patch excedes the size limit for this mailing list, (40Kb) I wasn't able to attach it on this post, so you can find it at http://docs.goo

Re: [asterisk-users] async agi question

2009-04-02 Thread Moises Silva
Async AGI was never released for Asterisk 1.4.X, so probably the patch you used has a bug or something, do you still have the patch around? Moy On Thu, Apr 2, 2009 at 5:44 AM, wrote: > Hi Henrik, > > I would like to do the same thing you are doing here. I want to implement an > external queue

Re: [asterisk-users] async agi question

2009-04-02 Thread cyr2242
Hi Henrik, I would like to do the same thing you are doing here. I want to implement an external queue functionality so I need to stop a play file launched previously with an async agi command on caller's channel, sending the call to agent's extension. I'm redirecting caller's channel with RED

Re: [asterisk-users] async agi question

2008-12-08 Thread Henrik Westerberg
Thanks, I was not familiar with this application. /Henrik Kevin P. Fleming skrev: Henrik Westerberg wrote: Yes, this works good for me. A StopIO feature would of course be cleaner but this certainly does the trick. The ExternalIVR interface, while not quite as featur

Re: [asterisk-users] async agi question

2008-12-05 Thread Kevin P. Fleming
Henrik Westerberg wrote: > Yes, this works good for me. A StopIO feature would of course be cleaner > but this certainly does the trick. The ExternalIVR interface, while not quite as feature-filled as AGI, does in fact work in a true non-blocking fashion, and supports exactly what you are looking

Re: [asterisk-users] async agi question

2008-12-05 Thread Henrik Westerberg
Hi Moy, Thank you for your quick answer. Also thanks for implementing the great async agi functionality! Yes, this works good for me. A StopIO feature would of course be cleaner but this certainly does the trick. Regards, Henrik Moises Silva skrev: Hello Henrik, I have not used Aster

Re: [asterisk-users] async agi question

2008-12-05 Thread Moises Silva
Hello Henrik, I have not used Asterisk from a user perspective lately, but, when I added the async agi functionality, I used to control this using a "manager redirect" action to the same priority where the channel calls async agi, that will work like a break that re-enters the async agi loop . Thi

[asterisk-users] async agi question

2008-12-05 Thread Henrik Westerberg
Hi, I am developing asterisk support for our application using the Async AGI and Asterisk-Java. One thing I haven't been able to implement is how to stop playing a sound. Something similar to StopIO for Dialogic GlobalCall or DivaStopSending for Eicon. Is there any way to achieve this today which