Displaying 13 results from an estimated 13 matches for "dbdeltree".
2011 Jun 01
0
DBdeltree: Error deleting key from database
Hi Everybody,
Don't know why this DBdeltree error appears on Asterisk CLI.Good part is, it
does remove family entry from AstDB.
Sample Dialplan....
exten => 1212,1,Noop()
same => n,Set(TEST=1234)
same => n,Set(DB(${TEST}/TESTSTART)=${STRFTIME(${EPOCH},,%Y-%m-%d
%H:%M:%S)})
same => n,DBdeltree(${TEST})
same => n,Hangup()
Ast...
2011 Nov 20
4
Deleting AstDB family at start
Is it possible to delete the keys belonging to a family in AstDB at Asterisk startup? I would like to repopulate it from another source each time Asterisk is restarted.
I know there is a DBdeltree(<family>) function. Is there a context that only runs once (automatically) at Asterisk startup (so that I can call this function)?
Also is AstDB lookup faster than a func_odbc lookup? Is there a faster way to perform a lookup in Asterisk; e.g. create a lookup table in memory perhaps?
I'...
2009 Aug 05
1
[asterisk]q: asterisk 1.6.1 install
...== 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 them, eg cdr-mysql?
thx in advance
----...
2023 Sep 13
2
Asterisk 18.14.0 vs 18.18.0 and chan_console/chan_alsa
>Using system() you could issue a asterisk -rx 'core restart now'
So I tried this
exten => s,1,Playback(beep)
exten => s,n,Dial(Console/default,20,g)
exten => s,n,Hangup
exten => s,n,System(asterisk -rx 'core restart now')
But it does not continue. Last thing I see is "Exited non zero"
so its not doing the hangup or the system.
jerry
--------------
2014 Apr 21
1
astdb delete all keys with the value of x
I?m trying to use the asterisk database but I think there is a limitation in deleting records I need to make my logic work.
I understand that I can delete all family members with a specific key
and that I can delete an entire family of keys
but I would like to be able to delete specific keys which have the same value, is this possible?
I have tried moving things around so making the family the
2005 Oct 05
0
Asterisk 1.0.9-BRIstuffed-0.2.0-RC8o memory leak when using call files ?
...failed,8,AppendCDRUserField(HANGUPCAUSE=${THANGUPCAUSE}\;)
exten => failed,108,Goto(9)
exten =>
failed,9,DBGet(TDIALSTATUS=DIALTEST/${SMID1}${SMID2}${SMID3}/DIALSTATUS)
exten => failed,10,AppendCDRUserField(DIALSTATUS=${TDIALSTATUS}\;)
exten => failed,110,Goto(11)
exten => failed,11,DBDeltree(DIALTEST/${SMID1}${SMID2}${SMID3})
; notify callgenerator about failed call
exten => failed,12,SetVar(UPDASTCALL=/bin/echo \"\<DIALSTATUS\>\")
exten => failed,13,SetVar(UPDASTCALL=${UPDASTCALL}${TDIALSTATUS})
exten =>
failed,14,SetVar(UPDASTCALL=${UPDASTCALL}\"\</D...
2013 Jan 10
1
Segmentation fault after upgrading from asterisk-10.5.0 to asterisk-11.1.2
...39;/etc/asterisk/asterisk.conf': Found
== Parsing '/etc/asterisk/extconfig.conf': Found
== Parsing '/etc/asterisk/logger.conf': Found
== Manager registered action DBGet
== Manager registered action DBPut
== Manager registered action DBDel
== Manager registered action DBDelTree
== Registered custom function 'MESSAGE'
== Registered custom function 'MESSAGE_DATA'
== Registered application 'MessageSend'
== Manager registered action MessageSend
== Manager registered action DataGet
== Parsing '/etc/asterisk/codecs.conf': Found
Asteri...
2016 Dec 10
6
failing to start asterisk on centos7
...tializing Custom Configuration Options ]
== Parsing '/etc/asterisk/extconfig.conf': Found
== Parsing '/etc/asterisk/asterisk.conf': Found
== Manager registered action DBGet
== Manager registered action DBPut
== Manager registered action DBDel
== Manager registered action DBDelTree
PBX UUID: 36c0be35-766e-46c4-be1f-96479afa1e2b
== Registered 'audio' codec 'g723' at sample rate '8000' with id '1'
== Created cached format with name 'g723'
== Registered 'audio' codec 'ulaw' at sample rate '8000' with id '2...
2005 Feb 18
0
Installing Asterisk on Mandrake 10.1 Official
...; (Cuts up variables)
== Registered application 'Cut'
[app_db.so] => (Database access functions for Asterisk extension logic)
== Registered application 'DBget'
== Registered application 'DBput'
== Registered application 'DBdel'
== Registered application 'DBdeltree'
[app_dial.so] => (Dialing Application)
== Registered application 'Dial'
[app_enumlookup.so] => (ENUM Lookup)
== Registered application 'EnumLookup'
== Parsing '/etc/asterisk/enum.conf': Found
[app_disa.so] => (DISA (Direct Inward System Access) Applicatio...
2005 Jun 15
1
app_dial.c:977 dial_exec_full: Unable to create channel of type 'Zap' (cause 0)
...sent)
== Registered application 'PrivacyManager'
[app_db.so] => (Database access functions for Asterisk extension logic)
== Registered application 'DBget'
== Registered application 'DBput'
== Registered application 'DBdel'
== Registered application 'DBdeltree'
[app_chanisavail.so] => (Check if channel is available)
== Registered application 'ChanIsAvail'
[app_enumlookup.so] => (ENUM Lookup)
== Registered application 'EnumLookup'
== Parsing '/etc/asterisk/enum.conf': Found
[app_transfer.so] => (Transfer)
==...
2003 Aug 07
2
Problem -ATA-711-723-Oh323-Asterisk
Hi List,
I am facing the reverse problem as stated here.I am
using ATA 186 to make
and recieve call to * through OH323 driver.
When I use G711 codec in the ATA to make call then
then as soon as i dial an
extension the * crashes with 'segmentation fault'.
But the same scenerio works fine when i use 723 codec
in the ATA .I can dial
the number and extension very well/(I have 723 support
in
2020 Feb 04
0
Always Be Conferencing v16e - pure AEL-based dial plan solution
...matching numbers... please just stop that.)
Set(pngnpbx_abc_id=${FILTER(a-zA-Z0-9,${CALLERID(num)})});
}
Set(cnftmt=${FILTER(0-9,${conftimeout_})});
if( ${LEN(${cnftmt})} == 0 ) {
Set(cnftmt=14400);
}
// TODO: Check if the conference is already/still running.
DBdeltree(pngnpbx/abc/cb/${pngnpbx_abc_id});
Set(DB(pngnpbx/abc/cb/${pngnpbx_abc_id}/init)=${startstamp});
Set(DB(pngnpbx/abc/cb/${pngnpbx_abc_id}/ogchan)=${CHANNEL(name)});
Set(DB(pngnpbx/abc/cb/${pngnpbx_abc_id}/type)=${pngnpbx_abc_type});
Set(DB(pngnpbx/abc/cb/${pngnpbx_abc_id}/cidnum)=${C...
2012 Aug 13
8
Asterisk hangs while starting in OpenSuse 12.2
Hi,
I am using OpenSuse 12.2 64bit OS which uses Kernel 3.3.x version and
downloaded Asterisk 1.8 current version, after installing Asterisk, while
starting Asterisk it hangs at the stage of loading modules.conf, I checked
the forum https://issues.asterisk.org/jira/browse/ASTERISK-19245 but still
after updating through yast also i am facing the issue.
Have anybody faced this type of issue with