Debug messages for dialplan

Hi,
Everything is working fine in my Asterisk settings, but I’m wondering what the following messages from the debugging mean:

  1. WARNING[5942]: pbx.c:5938 pbx_builtin_setvar: The use of the ‘g’ flag is deprecated. Please use Set(GLOBAL(foo)=bar) instead
    == Setting global variable ‘S_VERIFY_NUMBER’ to ‘’

This one is shown when the following line form the dialplan is executed:
exten => _X.,n,Set(S_VERIFY_NUMBER=,g)

  1. Executing [112@tp_main:7] DBdel(“SIP/1-0a0ffd50”, “s_recording/asterisk-1248972430.47”) in new stack
    – DBdel: family=s_recording, key=asterisk-1248972430.47
    – DBdel: Error deleting key from database.

This is shown when the following line form the dialplan is executed:
exten => _X.,n,DBDel(${S_RECORDING}/${S_CALL_ID})

Can someone ecplain me the meaning of this messages. The application is using AGI-CGI.

Thanks.

for the first message, the g option was used before with the Set function to make the variable, you are assigning value to, as a global variable. for recent versions of asterisk if you want to do that, the standard way will be Set(GLOBAL(FOO)=456) not Set(FOO=456,g). But at any rate since it’s warning then both style has the same effect.

for the second message i’m not sure but i guess that there is no such key in Asterisk database to be deleted.