similar to: Can I introduce sql sentences in the DialPlan (Asterisk Realtime)??

Displaying 20 results from an estimated 1000 matches similar to: "Can I introduce sql sentences in the DialPlan (Asterisk Realtime)??"

2005 Jul 09
1
Asterisk + spandsp
Hello: I dont know, if is my question to do hier, or in the dev-list, but anyway: I 've installed Asterisk (head, development because I need Realtime), but when I try to apply the patch I 've got many errors, reason why I wrote myself the apps/Makefile. (Of course, first, I compiled spandsp, etc.) Then, I try to compile Asterisk, but it 's impossible: The output: >
2005 May 15
1
Old DBGet/DBPut vs. new Set(var=${DB(...
Hello I upgraded to CVS head yesterday (due to the lack of zaptel drivers working with 2.6.10) And noticed that now DBGet and DBPut have been deprecated in favour of the new Set/DB one. In the UPGRADING.txt in Asterisk it says: * The applications DBGet and DBPut have been deprecated in favor of functions. Here is a table of their replacements: DBGet(foo=family/key)
2006 Jan 05
1
Bizarre Answering Behavior
Ok, I've been trying to figure out why my A@H won't answer the lines when I can call out and the panel shows the call coming in - well something bizarre has happened. I set up inbound routing to ring my extension if a call comes in - and my extension rings but when I pick it up I get a dial tone. The whole time after I answer I hear the phone I originated the call on just ring and ring
2006 Jan 06
5
3RD REQUEST - Any Help Is Appreciated
Is there a protocol I'm supposed to use here? It seems that people are asking 100 questions a day and SOMEONE is helping them, and I've posted this three times and not even an "I Don't Know". My third repost: Ok, I've been trying to figure out why my A@H won't answer the lines when I can call out and the panel shows the call coming in - well something bizarre has
2006 Feb 28
1
FW: Re: Delay on Phone ringing
Skipped content of type multipart/alternative-------------- next part -------------- asterisk1*CLI> soft hangup Zap/1-1 Requested Hangup on channel 'Zap/1-1' == Spawn extension (macro-exten-vm, s-BUSY, 2) exited non-zero on 'Zap/1-1' in macro 'exten-vm' == Spawn extension (ext-local, 220, 1) exited non-zero on 'Zap/1-1' -- Hungup 'Zap/1-1' --
2005 May 24
1
Fax detection: Problem with extension number
Hello I've been having the following problem today : I have a quite simple dialplan made to receive a fax: [answer-extension] exten => 1,1,Answer exten => 1,2,Macro(setcallerid) exten => 1,3,Ringing exten => 1,4,Wait(3) exten => 1,5,Macro(stdfwd3iax-notransfer,${EXTENSION},${EXTENSION},$ {EXTENSION}) exten => fax,1,Goto(faxreceive,1,1) The Wait(3) is there simply to let
2006 Jan 04
1
RxFax : Change FAX Resolution
Hello all, Can this be done ? Would setting the variable FAXRESOLUTION to a appropriate value affect this change ? > http://www.asteriskguru.com/tutorials/rxfax.html Variables connected with the application LOCALSTATIONID - used by to application to identify itself to the remote end LOCALHEADERINFO - used to generate a header line on each page REMOTESTATIONID - set by the application, the
2006 Feb 01
6
Receiving faxes with spandsp - strange problem
Hello, I'm trying to receive faxes with asterisk. My configuration is like this: PSTN fax -> ISDN -> Cisco router with VoIP module -> Asterisk When I try to send a fax from PSTN fax I got the standard fax signal, Asterisk starts rxfax application and then call ends and there is no tif anywhere. On the fax display there is still one message: Calling... Part of my extensions.conf:
2003 Jul 28
1
Call Forwarding and DND conf
I have put together this call forwarding and dnd config: I'm sure it can be dome with macro's but I couldn't figure that out... anyone care to input. 74 Turns DND on my phone will not ring, drops caller to voicemail... 73 Turns DND off 72+ext forward your extension to another extension and voicemail is left at the forwarded extension. 71 turns off call forwarding. ; dnd Could
2003 May 08
3
DBget and DBput in extensions.conf
Where can I learn the syntax for DBput and DBget? is it working with MySQL? do I need to set up tables? URiel -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20030508/a2598dc8/attachment.htm
2004 Aug 18
1
Testing null values: ast_yyerror(): syntax error
OK, I'm going nuts here trying to correctly identify null values, specifically when callerID info is not available. FYI, I'm running Asterisk CVS-HEAD-08/17/04-13:08:53, and Bison 1.875a (debian Sid). A snippit of my dialplan looks like this: exten => s,1,SetCIDNum(${CALLERIDNUM}) exten => s,2,NoOp,${CALLERID} exten => s,3,DBGet(temp=idiot/${CALLERIDNUM}) ; Is the person calling
2006 Jan 27
5
External IAX2 phone defined as internal behaving as from PSTN
Have asterisk@home 1.2.1 The server is on an internal network eg 10.10.10.10 It is NAT'd 1:1 via Checkpoint firewall to external public IP eg 50.50.50.50 The remote IAX2 phone (ATCOM320) is configured to call 50.50.50.50 on extension 1055. Outbound calls to 1055 work perfectly. Inbound calls from 1055 get picked up as if it were an external call (see below) and goes straight to the ring
2003 Nov 27
1
Crash - What is happening here???
The following transfer led to a crash of asterisk, without leaving a core or any utterances in messages or debug file. It looks like the zombie which was created during the MASQ-transfer was not cleaned up... But why did it start a Dial??? And... why does Asterisk die when this happens?? Thanks!!! Michiel -- Zap/32-1 answered Zap/6-1 -- Stopped music on hold on Zap/6-1 -- Starting
2006 Jan 22
1
macro-faxreceive
How should be the macro rewritten? [macro-faxreceive] exten => s,1,Set(FAXFILE=/var/spool/asterisk-fax/${UNIQUEID}.tif) exten => s,2,DBGet(EMAILADDR=extensionemail/${MACRO_EXTEN}) exten => s,3,rxfax(${FAXFILE}) exten => s,103,Set(EMAILADDR=ronald@elmit.com) exten => s,104,Goto(3) ... [Jan 23 10:43:38] -- Executing Macro("Zap/3-1", "faxreceive") in new
2004 Oct 05
1
loggedoff extension - why does * say "is on the phone"
Hi, I have following one-line macro extension: ------------------------ [macro-oneline] ; ; Standard extension macro (with call forwarding): ; ${ARG1} - Device(s) to ring ; #exten => s,1,AGI(misterhouse.agi,"CallerID") exten => s,1,NoOp exten => s,2,DBget(temp=CFIM/${MACRO_EXTEN}) ; Get CFIM key, if not existing, goto 103 exten => s,3,Dial(Local/${temp}@default/n) ;
2006 Mar 31
4
cannot set outgoing cid
Hi, sorry for the long debug output below. I configured Asterisk with AMP to send the whole number including the extensions of the callers to the called party. Whatever I configure in AMP it looks like it is used, In my eyes it is ok, but doesn't seem to work. 033811234451 is the call id i configured, and it seems to use them, but the caller will only see a 0338189040 instead of my
2006 Mar 03
2
Does an entry in AstDB stay after reboot?
I set up a call forwarding script in extensions.conf which uses the AstDB but I'm wondering if I reboot the server, will the entry in AstDB still reside? What the script does is when a call comes in, it check to see if there is a null value or a call forward number. If null, it will call the local office connections. If there is a number, it calls that. Now I just need to know if I reboot
2003 Sep 09
2
DBPut and DBGet performance
hi, This question is about DBPut and DBGet, Can i put about 1000 keys in a single family, (only once for the lifetime) for ex. exten => _X.,5,DBput(family/key1=${val}) ... exten => _X.,5,DBput(family/key1000=${val}) like above and if i later retrieve it, randomely, with inbound calls, will it affect performance? Surajee -------------- next part -------------- An HTML
2003 May 14
20
Call forwarding
Yo, Inspired by the example in the tips & tricks-section of "http://www.junghanns.net/asterisk/", I built a more elaborate call divert-feature. This one validates if the extension a call-forward is to be set to is actually valid for the current context and additionally saves this context into the DB and always uses it to originate the divert from, as you can't expect the
2009 May 19
2
Feature request: "database show" from manager API
Hi, In ASTDB, I've got a rather long list of entries like: /FamilyA/Key1 Value1 /FamilyA/Key2 Value2 /FamilyA/Key3 Value3 ... Instead of sending several DBGet queries (and parsing every response), I'm wondering if a single "database show" or "database show family" query could be implemented. Alternative if to use ssh ("asterisk -rx "database show