search for: dbdel

Displaying 20 results from an estimated 71 matches for "dbdel".

2005 Jul 06
2
"Set" syntax equivalent of DBDel?
...delete a DB entry with the new "Set" syntax. I have been playing, and so far if there is a way to do it I haven't been able to suss it out. Set(DB(family/key)=) sets the value for the key to null, but that doesn't appear to be equivalent to removing the key entirely. Or maybe DBDel isn't deprecated, like the other two are. Anyone know the score? Thx. B.
2009 Jan 09
8
Spurious hangups on Sangoma A102d, Trixbox 2.6.1
...9 12:34:21] VERBOSE[2778] logger.c: -- Executing [s at macro-auto-blkvm:2] Set("SIP/2605-0a372cb0", "__CWIGNORE=") in new stack [Jan 9 12:34:21] DEBUG[2778] app_macro.c: Executed application: Set [Jan 9 12:34:21] VERBOSE[2778] logger.c: -- Executing [s at macro-auto-blkvm:3] DBdel("SIP/2605-0a372cb0", "BLKVM/602/Zap/9-1") in new stack [Jan 9 12:34:21] VERBOSE[2778] logger.c: -- DBdel: family=BLKVM, key=602/Zap/9-1 [Jan 9 12:34:21] DEBUG[2778] app_macro.c: Executed application: DBDel [Jan 9 12:34:21] DEBUG[2778] app_dial.c: Macro exited with status 0 [Ja...
2005 Jun 02
1
Newbie :Call Forwarding problem
...egarding this issue it doesn't work and the phone I am trying to implement on is still ringing. below is my conf in extensions.conf and the CLI output during the process. My configuration is : exten => _*5X.,1,DBput(CF/${CALLERIDNUM}=${EXTEN:2}) exten => _*5X.,2,Hangup exten => *5,1,DBdel(CF/${CALLERIDNUM}) exten => *5,2,Hangup [macro-stdexten] ; ; Standard extension macro (with call forwarding): ; ${ARG1} - Extension(we could have used ${MACRO_EXTEN} here as well ; ${ARG2} - Device(s) to ring ; exten => s,1,DBget(temp=CF/${ARG1}) exten => s,2,Goto(${temp}|1) exten => s...
2003 Jul 28
1
Call Forwarding and DND conf
...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 add some nice audio in here to confirm these. exten => _74,1,DBput(DND/${CALLERIDNUM}=YES}) exten => _74,2,Hangup exten => 73,1,DBdel(DND/${CALLERIDNUM}) exten => 73,2,Hangup ; call forwarding exten => _72X.,1,DBput(SIP/${CALLERIDNUM}=${EXTEN:2}) exten => _72X.,2,SayDigits,${CALLERIDNUM} exten => _72X.,3,SayDigits,${EXTEN:2} exten => _72X.,4,Hangup exten => 71,1,DBdel(SIP/${CALLERIDNUM}) exten => 71,2,Hangup...
2005 Jun 27
1
Newbie Confusion on Call Forward and DBput/DBdel
I have the standard script for activating call forward and when I do a database show, I indeed see: /CFIM/2000 :12125553434 so I presume that means call forwarding is in effect. However, when anyone dials extension 2000, it rings and no forwarding takes place. Is there something basic I'm missing here? Does one have to define, first, what CFIM is? The Newbie Thanks! B.
2003 Jul 02
0
Re: [Asterisk-Dev] ANNOUNCE: CLASS-like features for Asterisk
...up exten => _921X.,3,DBput(FEAT/${CALLERIDNUM}/CFWD/CFU=${EXTEN:3}) exten => _921X.,4,DBput(FEAT/${CALLERIDNUM}/CFWD/CFUC=${CONTEXT}) exten => _921X.,5,Festival(Call-Forward Unconditional: Has been set too: ${EXTEN:3}.) exten => _921X.,6,Hangup exten => 921,1,Answer exten => 921,2,DBdel(FEAT/${CALLERIDNUM}/CFWD/CFU) exten => 921,3,DBdel(FEAT/${CALLERIDNUM}/CFWD/CFUC) exten => 921,4,Festival(Call-Forward Unconditional: Has been cleared.) exten => 921,5,Hangup exten => 9921,1,Answer exten => 9921,2,DBget(fwdexten=FEAT/${CALLERIDNUM}/CFWD/CFU) exten => 9921,103,Fest...
2009 Apr 17
1
how to call forward on 1.6
...or 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 ; Call Forward on Busy or Unavailable exten => _*61*X.,1,DBput(CFBS/${CALLERIDNUM}=${EXTEN:4}) exten => _*61*X.,2,Hangup exten => #61#,1,DBdel(CFBS/${CALLERIDNUM}) exten => #61#,2,Hangup or even as follows: [apps] ; ; Unconditiona...
2007 Jan 23
1
DB_DELETE Function in 1.4
...know what application I should place this function in? For example with the 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/...
2005 Jun 01
2
IVR Load
Hi, Thinking about an IVR application and trying to get a handle on the best way to structure it so that the maximum number of concurrent calls can be achieved.. If the voice prompts were stored in a GSM format and were being played out through an IAX trunk that uses GSM compression would asterisk do a decompress/compress on the audio or would it simply pass through the GSM encoding?
2009 Sep 18
0
Blind Transfer Won't Hangup
...macro-hangupcall:6] GotoIf("SIP/8678-c876bf18", "0?skipblkvm") in new stack -- Executing [s at macro-hangupcall:7] NoOp("SIP/8678-c876bf18", "Cleaning Up Block VM Flag: BLKVM/8688/SIP/8678-c876bf18") in new stack -- Executing [s at macro-hangupcall:8] DBdel("SIP/8678-c876bf18", "BLKVM/8688/SIP/8678-c876bf18") in new stack -- DBdel: family=BLKVM, key=8688/SIP/8678-c876bf18 -- DBdel: Error deleting key from database. -- Executing [s at macro-hangupcall:9] GotoIf("SIP/8678-c876bf18", "1?theend") in new...
2009 Feb 26
3
Question about Do Not Disturb
...${CALLERID(num)})=On) exten => *78,n,UserEvent(ASTDB|Family: DND^Channel: ${CHANNEL} ^Value: On) exten => *78,n,Playback(do-not-disturb&activated) exten => *78,n,Hangup [app-dnd-off] exten => *79,1,Answer exten => *79,n,NoOp(${CALLERID(num)} is going OFF DND) exten => *79,n,DBdel(DND/${CALLERID(num)}) exten => *79,n,UserEvent(ASTDB|Family: DND^Channel: ${CHANNEL} ^Value: ^) exten => *79,n,Playback(do-not-disturb&de-activated) exten => *79,n,Hangup Using the above config, if I dial *78 I hear Allison's voice telling me that do not disturb is activated b...
2005 Aug 11
0
Re: 24. Privacy Manager (Andi Strain)
..., 0000000000, 1234567890, etc.) to the blacklist file. I used the info at this link: http://www.carrel.org/articles/2005/07/30/calling-features-with-asterisk to get started with blacklist. The documentation has an error on the "remove from blacklist" portion. It should have a "DBdel" instead of "DBput" in the statement. In my version below, I add (and delete) the number with and without a "1" in front of it since calls don't always come in as a 10-digit number. This is designed for use in the USA or other North American Numbering Plan areas....
2003 May 14
20
Call forwarding
...xten => _921X.,3,DBput(CFU/${CALLERIDNUM}=${EXTEN:3}) exten => _921X.,4,DBput(CFUC/${CALLERIDNUM}=${CONTEXT}) exten => _921X.,5,SayDigits,${EXTEN:3} exten => _921X.,6,Hangup exten => _921X.,103,Playback(invalid) exten => _921X.,104,Hangup exten => 921,1,Answer exten => 921,2,DBdel(CFU/${CALLERIDNUM}) exten => 921,3,DBdel(CFUC/${CALLERIDNUM}) exten => 921,4,SayDigits,${CALLERIDNUM} exten => 921,5,Hangup exten => 9921,1,Answer exten => 9921,2,DBget(fwdexten=CFU/${CALLERIDNUM}) exten => 9921,3,SayDigits,${fwdexten} exten => 9921,103,SayDigits,${CALLERIDNUM}...
2007 Feb 15
7
Call forwarding
...orwarding doesnt work for me. from my extensions.conf: ; Unconditional Call Forward exten => _*21*X.,1,NoCDR exten => _*21*X.,2,Set(DB(CFIM/${CALLERID(NUM)})=${EXTEN:4}) exten => _*21*X.,3,Playback(vm-saved) exten => _*21*X.,4,Hangup exten => #21#,1,NoCDR exten => #21#,2,DBdel(CFIM/${CALLERID(NUM)}) exten => #21#,3,Playback(auth-thankyou) exten => #21#,4,Hangup debug from asterisk CLI: -- Executing NoCDR("SIP/dzalewski-081afaf0", "") in new stack Feb 15 15:00:19 NOTICE[32307]: cdr.c:443 ast_cdr_free: CDR on channel 'SIP/dzalewski-0...
2007 Jul 30
0
Trouble getting sound from a call
..."ANSWERED"]?begin) exten => s,n,Answer exten => s,n,Wait(1) exten => s,n(begin),Set(TIMEOUT(digit)=3) exten => s,n,Set(TIMEOUT(response)=60) exten => s,n,Background(custom/mhi-main-greeting) exten => s,n,WaitExten() exten => #,1,Goto(app-directory,#,1) exten => #,n,dbDel(${BLKVM_OVERRIDE}) exten => #,n,Set(__NODEST=) exten => #,n,Goto(app-pbdirectory,pbdirectory,1) exten => hang,1,Playback(vm-goodbye) exten => hang,n,Hangup exten => i,1,dbDel(${BLKVM_OVERRIDE}) exten => i,n,Set(__NODEST=) exten => i,n,Goto(ivr-1,s,begin) exten => t,1,dbDel($...
2004 Nov 23
0
Problems with MACRO_EXTEN variable
...{ARG2},20) ; 20sec timeout ; No CFIM key exten=s,102,Goto(s,5) ; No CFBS key ;exten=s,105,Goto(s,9) ; No CFNA key - voicemail ? ;exten=s,109,(Busy) [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 ; Call Forward on Busy or Unavailable exten => _*67*X.,1,DBput(CFBS/${CALLERIDNUM}=${EXTEN:4}) exten => _*67*X.,2,Hangup exten => #67#,1,DBdel(CFBS/${CALLERIDNUM}) exten => #67#,2,Hangup On the older version everything works fine, MACRO_E...
2005 Jul 13
1
DBput from the web?
Does anybody has a php code for using DBput (DBget, DBdel) from a web interface, which database is used for astrisk? bye Ronald
2005 Sep 27
2
Auto CallBack on busy
...XTEN},20,Ttr) exten => _XXXX.,2,Congestion() exten => _XXXX.,102,DBPut(CallBack/${EXTEN}=${CALLERIDNUM}) exten => _XXXX.,103,Busy() ;Auto CallBack Caller on hang up of dialed party exten => H,1,Goto(h,1) exten => h,1,DBget(temp=CallBack/${CALLERIDNUM}) exten => h,2,DBdel(CallBack/${CALLERIDNUM}) exten => h,3,Dial(SIP/${temp},20,tr) exten => h,4,Congestion() exten => h,102,NoOp(Not Registered for CallBack) exten => h,104,Busy() Enjoy Abdul Ghafoor abdul__ghafoor@hotmail.com -------------- next part -------------- An HTML attachment was s...
2006 Mar 08
1
Calls forwarding to numbers only in user's context
...calls forwarding for mobile phones)? I'm using this for forwarding: [forwarding] ; available for all users ; Unconditional Call Forward exten => _*21*X.,1,DBput(CFIM/${CALLERIDNUM}=${EXTEN:4}) exten => _*21*X.,2,Background(auth-thankyou) exten => _*21*X.,3,Hangup exten => #21#,1,DBdel(CFIM/${CALLERIDNUM}) exten => #21#,2,Background(auth-thankyou) exten => #21#,3,Hangup ; Call Forward on Busy or Unavailable exten => _*61*X.,1,DBput(CFBS/${CALLERIDNUM}=${EXTEN:4}) exten => _*61*X.,2,Background(auth-thankyou) exten => _*61*X.,3,Hangup exten => #61#,1,DBdel(CFBS/$...
2009 Aug 05
1
[asterisk]q: asterisk 1.6.1 install
...d application 'ParkedCall' == Registered application 'Park' == Manager registered action ParkedCalls == Manager registered action Park == Manager registered action Bridge == Manager registered action DBGet == Manager registered action DBPut == Manager registered action DBDel == Manager registered action DBDelTree Asterisk Dynamic Loader Starting: No 'modules.conf' found, no modules will be loaded. Asterisk Ready. CLI> but for example the command sip show peers is not present anymore....am i missing something here? 2) add-ons whats the current deal with...