search for: dbput

Displaying 20 results from an estimated 112 matches for "dbput".

Did you mean: bdput
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) Set(foo=${DB(family/key)}) DBPut(family/ke...
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 performan...
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
2007 Mar 12
1
AMI - DBPut
I'm using AMI on Asterisk 1.2.15 and I'm having problems with DBPut action. If I execute this: Action: DBPut Family: checkin Key: 316 Val: yes Response: Error Message: Missing action in request I don't put anything in Asterisk DB. If I execute this: Action: DBPut Family: <checkin> Key: <316> Val: <yes> Response: Success Message: Updated d...
2003 Dec 20
2
BYEXTENSION and DBPut
Hey I need another pair of eyes on this! I would like to add phones numbers to the blacklist from any handset so I did this: exten => _*66XXXXXXXXXX,1,StripMSD,3 exten => _XXXXXXXXXX,2,DBPut,blacklist/BYEXTENSION/1 exten => _XXXXXXXXXX,3,Hangup However what I get in the database is: /blacklist/BYEXTENSION : 1 And BYEXTENSION is not replaced with the actual number dialed. Am I trying to do something that can not be done or am I just not doing it correctly? Walt
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
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 ; 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/$...
2003 Jul 08
0
dbget & dbput
Hi, do i need some other software than asterisk to use database commands - dbput and dbget in asterisk ? regards Marian -- SUNTEQ s. r. o. Hviezdoslavova 9 # Prievidza # 971 04 # Slovak republic Tel: +421-46-5430 754 # Fax: +421-46-5439 144 http://www.sunteq.sk/ ------------------------------------------------------------ A mind is like a parachute... it only works when...
2003 Sep 11
3
SIP busy
Hi, I would like * to treat a SIP extension as a normal extension, when it comes to the busy functionality. In other words, if someone tries to call the SIP phone and there is already an ongoing conversation, the new caller should get a busy message/tone Is there any parameter that I can set? Is this something that should be configured at my softphone? Best, PHM
2005 Jun 02
1
Newbie :Call Forwarding problem
...s trying to enable call forwarding, following the steps of the link on voip.org regarding 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 ; ext...
2004 Jun 22
6
*69
...om a particular phone, and now I'd like to try to do something similar for the common *69 -- call back the last number that called me. I assume I'll do part of this in my standard extension macro -- capturing the last callerid number that called a particular extension, along w/some sort of dbput command. Then in my [apps], a *69 extension that grabs that info & dials it. Anyone have an example of such a configuration, or hints (i.e. what variable I'll catch in my standard extension macro)? Thanks! Jeremy Jones
2003 Jul 28
1
Call Forwarding and DND conf
...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 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,...
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 Sep 01
6
Change include contexts runtime
Hi there How do I change the dialplan runtime, if I for example wants all calls on the main number to be answered by a voicemail (when it is out-of-office hours). I want to be able to change the configuration by pressing a DTMF combination e.g. *82. Can't figure out whether it is necessary to change contexts or how to do it. I have read a lot of examples and config documentation, but I
2006 Jan 23
2
Fw: setting outgoing caller ID by the queue an extension is logged into
...unts to a new outgoing call. I have been asked to set the caller ID for these outgoing calls based on the queue the phone representative is currently logged in to. Unfortunetly I cannot think of a way to do this. The incomming and outgoing calls are two different calls. I have considered using DBPut and DBGet to store this information in a database. This might work, but I am also concerned about the overhead involved. I cannot think of a way to do this using global variables since I need to store a seperate value for each extension. Has anyone run into an issue like this and come up with a...
2011 Aug 01
1
Problems with AMI connections (Asterisk 1.8.3.2)
...fsockopen('192.168.25.18','5038',$errno,$errstr,10); fwrite($socket,"Action: Login\r\n"); fwrite($socket,"UserName: mark\r\n"); fwrite($socket,"Secret: mysecret\r\n\r\n"); fwrite($socket,"Action: DBPut\r\n"); fwrite($socket,"Family: authenticate/jorge\r\n"); fwrite($socket,"Key: 123456\r\n"); fwrite($socket,"Value: pbx-a\r\n"); fwrite($socket,"Action: Logoff\r\n\r\n"); fclose($socket...
2003 Jul 02
0
Re: [Asterisk-Dev] ANNOUNCE: CLASS-like features for Asterisk
...Voicemail2(sb${ARG1}) exten => s,210,Hangup ; ; Special features, Call Forwarding, unconditional. ; [feature-cfu] exten => _921X.,1,Answer exten => _921X.,2,ChanIsAvail(Local/${EXTEN:3}@${CONTEXT}) exten => _921X.,103,Playback(invalid) exten => _921X.,104,Hangup 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}/CFW...
2006 Mar 03
2
Does an entry in AstDB stay after reboot?
...asterisk/sounds/hello) ;exten => s-NoCFIM5,Background(/var/lib/asterisk/sounds/vacation) exten => s-NoCFIM,6,Wait(1) exten => s-NoCFIM,7,Voicemail,u203 exten => s-NoCFIM,8,Voicemail,b203 exten => s-NoCFIM,9,Hangup() [call forward options] ; Creates a call forward exten => _44X.,1,DBput(CFIM/temp=${EXTEN:2}) exten => _44X.,2,Hangup ; Null character. exten => 4455,1,DBput(CFIM/temp=0) exten => 4455,2,Hangup
2007 Sep 03
3
Manager Originate without phone off hook?
I'm trying to keep the DND status of my Snom phones and the astdb in line but I'm stuck on integrating my gui DND button which talks to * using the manager interface (actually it uses Astmanproxy as the gui host is on a different network to asterisk and can't see the Snom's across the network). All's working fine in my Dialplan; when someone dials the code for DND-on or
2003 Dec 15
3
Outgoing calls for a fancy address book app
...s files in /var/spool/asterisk/outgoing, without results (we are using SIP phones + CAPI channels). Is there a way to do that ? (If it's impossible (something impossible in *, LOL ?!?) I will create an extension which the phpgroupware user should call, then it would DBGet the number my app has DBPut when the user clicked on the number, and call it.) Cheers, -- Ludovic Drolez. http://www.palmopensource.com - The PalmOS Open Source Portal http://www.drolez.com - Personal site - Linux and PalmOS stuff