Constified some static token tables.
git-svn-id: http://voip.null.ro/svn/yate@3345 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
685e0fea07
commit
2ee2e1d77b
|
@ -286,7 +286,7 @@ static ObjList s_spans;
|
||||||
static Mutex s_mutex(false,"MGCP-CA");
|
static Mutex s_mutex(false,"MGCP-CA");
|
||||||
|
|
||||||
// Yate Payloads for the AV profile
|
// Yate Payloads for the AV profile
|
||||||
static TokenDict s_dict_payloads[] = {
|
static const TokenDict s_dict_payloads[] = {
|
||||||
{ "mulaw", 0 },
|
{ "mulaw", 0 },
|
||||||
{ "alaw", 8 },
|
{ "alaw", 8 },
|
||||||
{ "gsm", 3 },
|
{ "gsm", 3 },
|
||||||
|
@ -314,13 +314,13 @@ static TokenDict s_dict_payloads[] = {
|
||||||
};
|
};
|
||||||
|
|
||||||
// Media gateway bearer information (mapped from s_dict_payloads)
|
// Media gateway bearer information (mapped from s_dict_payloads)
|
||||||
static TokenDict s_dict_gwbearerinfo[] = {
|
static const TokenDict s_dict_gwbearerinfo[] = {
|
||||||
{ "e:mu", 0 },
|
{ "e:mu", 0 },
|
||||||
{ "e:A", 8 },
|
{ "e:A", 8 },
|
||||||
{ 0, 0 }
|
{ 0, 0 }
|
||||||
};
|
};
|
||||||
|
|
||||||
static TokenDict s_dict_rqnt[] = {
|
static const TokenDict s_dict_rqnt[] = {
|
||||||
{ "none", MGCPSpan::RqntNone },
|
{ "none", MGCPSpan::RqntNone },
|
||||||
{ "once", MGCPSpan::RqntOnce },
|
{ "once", MGCPSpan::RqntOnce },
|
||||||
{ "more", MGCPSpan::RqntMore },
|
{ "more", MGCPSpan::RqntMore },
|
||||||
|
|
Loading…
Reference in New Issue