search for: db_delet

Displaying 20 results from an estimated 21 matches for "db_delet".

Did you mean: db_delete
2007 Jan 23
1
DB_DELETE Function in 1.4
...DB function I currently do something like this to add an entry to the asterisk database: exten => s,n,Set(DB(AGENT/${MACRO_EXTEN:1})=${CALLERID(num)}) To delete the entries I do something like this: exten => s,n,DBDel(AGENT/${MACRO_EXTEN:1}) DBDel is marked as deprecated in favor of the DB_DELETE function but it returns a warning when using it with a dialplan application like Set: exten => s,n,Set(DB_DELETE(AGENT/${MACRO_EXTEN:1})) Will return: -- Executing [s@macro-queue-addremove:202] Set("SIP/2146-b6f09f30", "DB_DELETE(AGENT/2109)") in new stack [Jan 23 16...
2014 Aug 09
1
DB_DELETE
Hello, I have Asterisk version: Asterisk SVN-branch-11-r420435 I have the following code: exten => 303,1,NoOp(Dialing ${EXTEN}) ? ? ? ? same => n,NoOp(DBKey = ${DBKey}) ? ? ? ? same => n,DB_DELETE(office/${DBKey}) ? ? ? ? ? same => n,Playback(auth-thankyou) ? ? ? ? same => n,Hangup() And I get the following error: [2014-08-09 18:00:30] WARNING[4338][C-00000067]: pbx.c:4869 pbx_extension_helper: No application 'DB_DELETE' for extension (LocalSets, 303, 3) ? == Spawn extension...
2009 Apr 17
1
how to call forward on 1.6
Hello, I want to enable call forwarding for asterisk 1.6.0.6 I couldnt seen any config or option on gui or extensions.conf about it. I found some dialing plans to enable it on web as follows: [apps] ; Unconditional Call Forward exten => _*21*X.,1,DBput(CFIM/${CALLERIDNUM}=${EXTEN:4}) exten => _*21*X.,2,Hangup exten => #21#,1,DBdel(CFIM/${CALLERIDNUM}) exten => #21#,2,Hangup ;
2009 Jul 31
1
asterisk 1.6 call forwarding
...I'n trying to make a simple call forwarding, however I have small problem when evaluating an expresion. Here is my extensions.conf ... ; Unconditional Call Forward exten => _#21*X.,1,Set(DB(CFIM/${CALLERID(num)})=${EXTEN:4}) exten => _#21*X.,2,Hangup() exten => #21#,1,Set(ignored=${DB_DELETE(CFIM/${CALLERID(num)})}) exten => #21#,2,Hangup() ... exten => 50,1,Set(CFIM=${DB(CFIM/${EXTEN})}) exten => 50,n,GotoIf($[${CFIM}=""]?start) ;<- THIS IS WRONG, but not sure what should it look like? exten => 50,n,Dial(SIP/${CFIM},30) exten => 50,n,Dial(SIP/${EXTEN},30...
2016 Mar 03
2
Asterisk Call Forwarding
Hi I have to setup call forwarding. How do we setup Call forwarding in asterisk?. Eg. user dials a number and insert some mobile number for forwarding and dial another number to cancel the forwarding. thanks a lot. Best Regards, Madushan? -------------- next part -------------- An HTML attachment was scrubbed... URL:
2009 Apr 30
3
need help on asterisk call forwarding
Hello, I am trying to enable call forwarding feature on asterisk 1.6.0.9 with asterisk-gui. Sure there is no menu for that on gui but, when i try to write some example scripts to extensions.conf to make it work. I totally failed. I dont wanna install smthing like freepbx etc on the system so, i need help to add unconditional etc call forwarding feature for 1.6 Thanks
2016 Mar 03
2
Asterisk Call Forwarding
...):-4})=${EXTEN:3}) > same => n,Gosub(divertactive,1) > same => n,Hangup() > same => n(void),Gosub(divertvoid,1) > exten => _#21,1,Answer() > same => n,GotoIf($["${CALLERID(num)}"="<redacted>"]?divert:void) > same => n(divert),Verbose(0,${DB_DELETE(divert/${CALLERID(num):-4})}) > same => n,Gosub(divertoff,1) > same => n,Hangup() > same => n(void),Gosub(divertvoid,1) > > (note: use whatever you need in the GotoIf to validate that the phone > the call is from is permitted to set up call forwarding - unless you're...
2007 Jan 23
5
Snom 320 echo
Has anyone ever encountered an echo on the IP phone side of a call? It is an echo of the user's own voice. I believe that no one else in the office is experiencing this problem. The phone itself is a Snom 320. I've asked Snom for assistance since my source no longer carries Snom, but unlike previous times they've been slow to respond. ----- Mike Hammett Intelligent Computing
2020 Apr 27
0
Advice on building a REST API over ASTDB
Hello, I'm using an Asterisk 17 dialplan that currently includes: 1. many "DB gets" calls (ie statements like Set(FOO=${DB(Foo/Bar)}) 2. and a couple of "DB puts" (ie statements like Set(DB(Foo/Bar)=Foo) or DB_DELETE(Foo/bar)) I would like to add an HTTP Provisionning API that would allow an external program to mostly change or sometimes read some ASTDB values. Which architecture would you suggest for this ? I can foresee the following options but I would very curious to discover alternatives. 1. Use AMI...
2007 Feb 26
2
Ex-Girlfriend syntax and RealTime Extensions
As seen in the following URL: http://www.voip-info.org/wiki/view/Asterisk+RealTime+Extensions and as I also tested some time ago with an old release of Asterisk, RealTime Extensions didn't support the Ex-Girlfriend syntax. Is it already working in recent 1.4 or 1.2.15 releases? Is there any other way that I can use to do the same thing but only using contexts, for example? If yes, please
2012 Jan 23
1
ConfBridge details
...p] exten => s,1,Set(NUM=$[0${NUM} + 1]); exten => s,n,Set(CONFNO=99${NUM}) exten => s,n,GotoIf(${DB_EXISTS(confbridge:${CONFNO})}?1) exten => s,n,Set(DB(confbridge/${CONFNO})=1) [foo] exten => s,1,Macro(confbridge-setup) exten => s,n,ConfBridge(${CONFNO}) exten => s,n,NoOp( ${DB_DELETE(confbridge/${CONFNO})} ) -- Jeremy Kister http://jeremy.kister.net./
2011 Mar 28
1
DTMF input while waiting in queue...
...D(name)=${RGPREFIX}${CALLERID(name)}) exten => 1820,n,Set(MONITOR_FILENAME=/var/spool/asterisk/monitor/q${EXTEN}-${STRFTIME (${EPOCH},,%Y%m%d-%H%M%S)}-${UNIQUEID}) exten => 1820,n,Set(__CWIGNORE=TRUE) exten => 1820,n,Queue(1820,t,,) exten => 1820,n,Noop(Deleting: ${BLKVM_OVERRIDE} ${DB_DELETE(${BLKVM_OVERRIDE})}) exten => 1820,n,Set(__NODEST=) exten => 1820,n,Set(__CWIGNORE=) exten => 1820,n,Goto() exten => 1820*,1,Macro(agent-add,1820,1739) exten => 1820**,1,Macro(agent-del,1820) exten => *451820,1,Set(QUEUENO=1820) exten => *451820,n,Goto(app-queue-toggle,...
2010 Oct 24
5
Integrating Asterisk 1.8 with Google Talk and Google Voice
Evening, Has anyone seen a how-to on getting Asterisk to work with Google Talk and Google Voice? Thanks
2009 May 16
2
Agent-Login/out in 1.6
Hi Carlos " Agentcallbacklogin was deprecated in Asterisk 1.4 and eliminated from 1.6 so you now need to use Dynamic Agents. Although they claim that is is simple enough to replace that functionality with dial plan code I have yet to see a one line example that replaces everything the agentcallbacklogin command did.| I totally agree, I have never seen any example that makes it work.
2007 Sep 23
0
A preliminary design for an external DB for rsync
...ting hard-link somewhere in the destination hierarchy. Could be used to try to find a decent basis file or a renamed file. May want some kind of a fuzzy matching option. db_update(FILENAME_PTR, CHKSUM_PTR, FLAGS, STATX_STRUCT_PTR); # CHKSUM_PTR: can be NULL if doing MD4 checksum w/o --checksum. db_delete(FILENAME_PTR); Removes a name from the DB. I assume that inode information would be pruned when no names remain that reference the inode. Deletions would also happen internally when the code discovered that a file it was looking up no longer exists. db_close(); ----- The routines would need...
2011 Jan 26
0
Really wacky problem with internal extensions.
...=> _*72,n,Playback(XXXXXX/after) exten => _*72,n,SayDigits(${numrings}) exten => _*72,n,Playback(XXXXXX/rings) exten => _*72,n,Macro(handle-hangup) exten => _*73,1,Answer exten => _*73,n,Wait(1) exten => _*73,n,Read(extension,XXXXXX/enter-extension,3) exten => _*73,n,Set(${DB_DELETE(CFIM/${extension})) exten => _*73,n,Playback(XXXXXX/cfwd-cancelled) exten => _*73,n,Macro(handle-hangup) exten => 302,1,Set(CALLERID(name)="Internal call") exten => 302,n,GotoIf(${DB_EXISTS(CFIM/302)}?dialfw:dial) exten => 302,n(dialfw),Set(extension=${DB(CFIM/302)}) exte...
2008 Jun 10
3
Asterisk : using setvar with IP Realtime and variable inheritance
Hi, I have what I think is a relatively advanced question. Any help is appreciated, even if it's not a complete answer. I am using Asterisk in mostly realtime fashion, specifically SIP registrations are in a MySQL table. This works fine (mostly). I also set a few variables in the setvar column, like this: callerid_internal=test <710>;did=5555551234 Again, this works
2007 Sep 28
2
Changing contexts "on the fly"
Hi folks, I've been playing around with an Asterisk server in my office for a few weeks now, and I've got it pretty much nailed down the way I want it, which is nice. One of the features I'm using is the ability to switch different contexts in & out of the dialplan on a schedule. So, for example, I've got the "official" tel number ringing my desk phone between
2009 Aug 21
1
Queue Question
First off this is not my work for extensions.conf it is modified from http://leifmadsen.wordpress.com/2009/07/15/migrating-from-agentcallbackl ogin-to-standard-dialplan-methods-part-1/ So credit to Leif Madsen <http://www.leifmadsen.com> But as to my question [AgentLogin] ;A replaced version of AgentCallbackLogin() using a GoSub() ; exten =>
2009 May 15
2
Logging In / Out Agents on Asterisk 6 ???
Hi everybody Did anybody by any chance ever work out how to log in and out agents on Asterisk 6+? I used to have it working perfect in Asterisk 1.2 but since I upgraded to 6 the agent login functions are gone and the readme file that came with it made no sense to me. I noticed somebody on the net posted that they had the same problem but used Voicemail to authenticate users, but that seemed a