similar to: Nested MySQL Commands

Displaying 20 results from an estimated 10000 matches similar to: "Nested MySQL Commands"

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 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 Apr 12
33
DUNDi with SIP
Anyone out there have a functional DUNDi configuration using SIP for the inter-Asterisk transport? I've gotten it to work with IAX2, but if I change it to SIP it does not pass the call over even though it knows where to send it. Thanks. The contents of this email message and any attachments are confidential and are intended solely for addressee. The information may also be legally
2006 Jan 13
2
Extensions.conf error - 'Maximum Include level(10) exceeded'
Oh Nooooooo! It looks as if there is a limit of 9 (not 10) maximum #include statments that you can have in extensions.conf. For example, the following extensions.conf causes the error to appear.. [user_3250071] #include "inc/wildwildwest/features.conf" #include "inc/wildwildwest/features.conf" #include "inc/wildwildwest/features.conf" #include
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 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 May 11
8
Dialling a DUNDi Route
I'm using DUNDi. My lookup returns 'IAX2' for the tech, and 'dundi:q9sgTFkVMBFdmp0IDX1bYQ@xxx.187.142.204/3254101' for the destination. How do I dial this? I've tried dialling it with: "Dial" "IAX2/dundi:q9sgTFkVMBFdmp0IDX1bYQ@xxx.187.142.204/3254101" passed from my AGI script, but the other endpoint (xxx.187.142.204) is returning: May 11 09:23:41
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 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 Feb 14
5
Multiple AGI Issues
I've got several issues with AGI/FastAGI 1. When an AGI script sends a command to Asterisk via stdin, why does Asterisk block and not return a result until the command is complete? Specifically, the dial command. If I send a Dial command to Asterisk, I don't get a return result until AFTER the call is HUNG UP. Not when it's ringing, not when the call is connected, but when it's
2005 Dec 11
14
Regexten
Before I play around with this again in 1.2.1, regexten is still essentially broken, correct? The misconception seems to be that it allows you to execute a command upon registration from a SIP UA. Even the O'Reilly TFOT book erroneously states that this is what it is for. After reading the developer discussion though, it definitely seems to be broken. Is it fixed yet? Doug.
2006 May 11
4
'extensions reload' clears Regextens
I hope I have this wrong, but when I have a bunch of priority 1 NoOp's created from regexten in sip.conf, and I do an 'extensions reload', I lose all the priority 1 NoOps! This can't be right... this means that in a production environment, if you make a change to your dialplan and do an 'extensions reload', you lose your ability to terminate calls to phones on this system.
2006 Dec 26
3
SIP Subscription Bug?
Well, this is weird. After receiving a sip subscribe message from peer 2529266, here's what Asterisk responds with: -- (14 headers 0 lines)--- Found user '2529266' Looking for 2943110 in bell_CallStart (domain ua2.ipt.xxx.com) Dec 26 10:19:34 NOTICE[27345]: pbx.c:1741 pbx_extension_helper: Cannot find extension context 'bell_CallStart' Transmitting (no NAT) to
2006 Mar 10
27
Clustering
Hello All, Ive been doing more and more research on trying to setup a cluster/load balancer for Asterisk. All the Asterisk boxes would be using a config that is the same between them all (via a DB), but we want one location to point the phones to, and from there that machine/device will send it to a Asterisk server so the call can be processed. I know you cant balance the whole call, ie: once the
2006 Jun 23
6
Caller ID Matching in extensions.conf
I'm running 1.2.9.1, and I can't get caller id dialplan matching to work. When calling from 9220370 to 1234, the following does not match. exten => 9220370/1234,1,NoOp(${CALLERIDNUM}) exten => 9220370/1234,2,Answer exten => 9220370/1234,3,Playback(tt-weasels) However, when calling from 9220370 to 1234, this DOES match. exten => 1234,1,NoOp(${CALLERIDNUM}) exten =>
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 Mar 16
2
Feedback from VON expo! Info on * HA andPolycomphone!!
Great Email. I'm going to respond to some of the points. "Q: What are the plans for HA? A: With a configuration using DNS-SRV and DUNDi, you can create a pretty resiliant setup now." That's BS. Last time I checked, Asterisk's support of SRV was to only grab the first SRV entry. Period. If it doesn't try any more SRV hosts after the first fails, just exactly how
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 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 Mar 21
5
Programming the Manager API
I just started poking around with writing a python module to interface to the Manager API, and it suddenly hit me... how the heck are you supposed to program this thing? All the events seem to be dumped to all the open connections. If I send a command, such as a login, there seems to me to be no way to determine which response are intended for me, and which may be intended for another open