similar to: AGI Scripts Staying in Memory

Displaying 20 results from an estimated 40000 matches similar to: "AGI Scripts Staying in Memory"

2006 Jun 12
2
AGI Stderr
Does anyone know how I can get stderr from AGI to be sent to somewhere other than the console? It seems that this is the only place it can go. Changing logger.conf has no effect. If you want to see errors from AGI scripts, you have to run the Asterisk console, which isn't viable. Doug.
2006 Jan 25
3
Fast AGI Options. Eeeek!
Some questions regarding calling Fast AGI from the dial plan. Considering that the server side of the Fast AGI has to be able to a) use threading and b) connect to MySQL, this causes some serious limitations. I'm not a C programmer, so development options are either perl or python. It appears that the perl DBI isn't thread safe, so that rules out Perl. Python's database interfaces
2006 Jun 15
7
Executing a Function from AGI
Hmmm. Not having much luck with this. I'm trying to call the DUNDILOOKUP function and assign it to a variable in an AGI script. I've tried setting with EXEC CMD and with SET VARIABLE. In both cases, it's treating DUNDILOOKUP literally, rather than calling a funciton. I've tried this: EXEC "Set" "DIALPATH=${DUNDILOOKUP(2944093|180net)}" and also: SET VARIABLE
2006 Feb 16
3
AGI Flakyness *sigh*
Well, I'm about ready to throw Asterisk across the room. Can someone tell me WHY, when you've sent a Dial command to Asterisk via AGI, if the callee hangs up the call, Asterisk sends a return code, but if the caller hangs up, it does not??? This means if an agi script services a call, and after the two parties have finished speaking, the person who initiated the call hangs up, the agi
2006 Feb 13
2
Terminating AGI Scripts
I've noticed that Asterisk AGI scripts don't terminate when a call is answered. Does anyone know how to do this? I would think that this would be a very big problem, if the scripts stayed in memory, doing nothing, until the call terminates. Not only do you have to have a process for routing each call, but all the previous calls, that are still in progress, also have scripts running. It
2006 Jan 13
3
FastAGI Command Execution
I've noticed that with FastAGI (and maybe AGI) that when you sequentially send a sequence of dial commands, if the call is picked up, that after the call ends, the Fast AGI script keeps executing the commands! Is there anyway to stop execution once a call is picked up? I think looking at the result codes after the Dial to determine if the call was picked up or not is not a good idea... if it
2006 Feb 27
8
AGI Scripts Terminate too Soon
Ok, here's a weird one. I have an AGI script where one user calls another. The call is answered. Everything is peachy. If the call is terminated by the CALLEE hanging up the call, then Asterisk returns control back to where the Dial() command left off, and I can check the return code of Dial(), ${DIALSTATUS} etc. That's all great. HOWEVER, if the CALLER hangs up the call, it seems as if
2006 Dec 08
1
Douglas Garstang <dgarstang@oneeighty.com>
On Fri, 2006-12-08 at 04:26 -0700, Douglas Garstang wrote: > Hi Steve. > > Thanks, but unfortunately, I can't be involved in that. We are > running Asterisk in a production environment and we're using > 1.2, not 1.4. I don't have the resources to work with 1.4. > Last time I filed a bug against 1.2 I got told off. >
2006 Dec 19
26
Match a Numer - then continue with dialplan
Anyone know if there's a way to match a dialplan extension, execute some code, say set a variable, and then continue with the dialplan? I want to set a variable when the dialplan flows beyond a certain context. This would be a great feature. Doug.
2006 Oct 10
10
Voicemail Press '0'
Crikey. I can't get this to work! Allegedly, you can press 0 while in the voicemail greeting and be dropped to the 'o' extension. For some reason, I can't get it to work. The 'docs' aren't clear about what context the o extension should be in. The voip wiki says "the context for the voicemail box that we're looking for in the dialplan for the jump to the
2006 Mar 14
4
Stuck. Extenions.conf? Realtime? MySQL? Grrrrr!
Boy, am I stuck... I'm officially ready to toss Asterisk out the window. I have to admit it isn't necessarily all the fault of Asterisk either. It just seems that every option I turn to suddenly ends in failure. I don't know if it's me that's bitten of more than I can chew with this project, or maybe Asterisk just isn't mature enough yet. Nothing complicated really....
2006 Jan 11
17
Nested MySQL Commands
Is it possible to have nested MySQL queries in extensions.conf? Ie, perform a query, grab a value, and then jump to another location in the dialplan and do another query based on that original value. I'm having problems with the result and fetchid's and I'm not sure if it's even possible to do this or not. Thanks, Doug. -------------- next part -------------- An HTML
2006 Feb 27
3
Matching '*'
I'm trying to find a way in extensions.conf to match ANYTHING dialled, including characters such as *. The following works for numbers... exten => _X.,1,AGI(script) but doesn't catch when someone dialls * first. I tried this: exten => _.,1,AGI(script) which catches when someone dials say, *123 for example, but after the AGI script terminates, Asterisk executes it again with
2006 Jun 19
4
Polycom Buddies in 1.6.6
All, Slightly off topic. Polycom released their SIP software version 1.6.6 for their phones recently. I was under the impression that this release fixed a previous limitation where the phones would only watch 7 buddies, ie send 7 sip subscriptions to Asterisk. I have configured a phone directory to watch 30 or so appearances, and it still seems to only be sending 7 subscriptions to Asterisk.
2005 Dec 18
12
ACD with polycom ip phones
Hello, Polycom ip soundpoint support ACD login/logout . Can we configure asterisk with polycom ACD support? Regards Harry ___________________________________________________________________________ Nouveau : t?l?phonez moins cher avec Yahoo! Messenger ! D?couvez les tarifs exceptionnels pour appeler la France et l'international. T?l?chargez sur http://fr.messenger.yahoo.com
2006 Dec 13
4
Polycom MyStat
Has anyone ever gotten the Polycom Status feature, accessible via the 'MyStat' soft-key to work? When you change the status in this way, the phone does not send any communication to Asterisk, and it seems to have no effect in incoming calls. So... what's it for? Doug
2006 Mar 25
2
Copying SIP Subscriptions
I'm pretty sure I already know the answer to this, but... Is there a way to copy/transfer/replicate sip subscriptions from one asterisk system to another, for the purposes of HA? You coudln't even write a script to do it I don't think. You can do an 'asterisk -rx sip show subscriptions' but there'd be no way to repopulate it on a second system. Yes/No? Doug.
2006 Feb 16
1
Non sensical AGI Error
I'm getting an error back from an AGI Dial command. Weird thing is that it's STILL performing the Dial. Here's what I am sending (without the paranthesis): (EXEC DIAL "SIP/10000|5|tr") and here's what I am getting (without the paranthesis): (510 Invalid or unknown command) Why would I get this response to a seemingly good command? And why would Asterisk go ahead and
2006 Aug 11
2
AgentcallbackLogin()
Can someone tell me why this is not valid... [start] exten => 1000,1,Answer exten => 1000,2,Wait,1 exten => 1000,3,AgentcallbackLogin(1000||2000@Local) exten => 2000,1,Macro(DialProxy,115551212) exten => 3000,1,Queue(testq||||45) while this is: [start] exten => 1000,1,Answer exten => 1000,2,Wait,1 exten => 1000,3,AgentcallbackLogin(1000||2000@start) exten =>
2006 Jan 05
2
Call Group Limit
I recollect that there used to be a fixed, finite limit to the number of call groups that could exist. Does anyone know if that limitation still exists in 1.2.1, or maybe where I could look in the code to find out if it's a fixed length array or not? Thanks. Doug.