Add DNA name variable

This commit is contained in:
Jeremy Lakeman 2012-03-06 11:21:10 +10:30
parent 0905c6af4e
commit 172bdb61ed
3 changed files with 2 additions and 1 deletions

View File

@ -653,7 +653,6 @@ int requestItem(char *did,char *sid,char *item,int instance,
successes++;
}
break;
case VAR_NOTE:
default:
/* ASCII formatted variable types */
{

1
dna.c
View File

@ -54,6 +54,7 @@ struct mphlr_variable vars[]={
{VAR_VOICESIG,"voicesig","Voice signature of this subscriber"},
{VAR_HLRMASTER,"hlrmaster","Location where the master copy of this HLR record is maintained."},
{VAR_NAME, "name", "Published name of this subscriber"},
/* Variables that can take multiple values */
{VAR_DIDS,"dids","Numbers claimed by this subscriber"},

View File

@ -259,6 +259,7 @@ struct hlrentry_handle {
#define VAR_PIN 0x05
#define VAR_VOICESIG 0x08
#define VAR_HLRMASTER 0x0f
#define VAR_NAME 0x10
#define VAR_DIDS 0x80
#define VAR_LOCATIONS 0x81
#define VAR_IEMIS 0x82