mirror of
https://github.com/servalproject/serval-dna.git
synced 2025-02-22 10:10:54 +00:00
Add DNA name variable
This commit is contained in:
parent
0905c6af4e
commit
172bdb61ed
1
client.c
1
client.c
@ -653,7 +653,6 @@ int requestItem(char *did,char *sid,char *item,int instance,
|
|||||||
successes++;
|
successes++;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case VAR_NOTE:
|
|
||||||
default:
|
default:
|
||||||
/* ASCII formatted variable types */
|
/* ASCII formatted variable types */
|
||||||
{
|
{
|
||||||
|
1
dna.c
1
dna.c
@ -54,6 +54,7 @@ struct mphlr_variable vars[]={
|
|||||||
{VAR_VOICESIG,"voicesig","Voice signature of this subscriber"},
|
{VAR_VOICESIG,"voicesig","Voice signature of this subscriber"},
|
||||||
|
|
||||||
{VAR_HLRMASTER,"hlrmaster","Location where the master copy of this HLR record is maintained."},
|
{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 */
|
/* Variables that can take multiple values */
|
||||||
{VAR_DIDS,"dids","Numbers claimed by this subscriber"},
|
{VAR_DIDS,"dids","Numbers claimed by this subscriber"},
|
||||||
|
1
serval.h
1
serval.h
@ -259,6 +259,7 @@ struct hlrentry_handle {
|
|||||||
#define VAR_PIN 0x05
|
#define VAR_PIN 0x05
|
||||||
#define VAR_VOICESIG 0x08
|
#define VAR_VOICESIG 0x08
|
||||||
#define VAR_HLRMASTER 0x0f
|
#define VAR_HLRMASTER 0x0f
|
||||||
|
#define VAR_NAME 0x10
|
||||||
#define VAR_DIDS 0x80
|
#define VAR_DIDS 0x80
|
||||||
#define VAR_LOCATIONS 0x81
|
#define VAR_LOCATIONS 0x81
|
||||||
#define VAR_IEMIS 0x82
|
#define VAR_IEMIS 0x82
|
||||||
|
Loading…
x
Reference in New Issue
Block a user