TR-104: the correct range of telephone-event payload type shall be 96-127

Refer to https://www.iana.org/assignments/rtp-parameters/rtp-parameters.xhtml#rtp-parameters-1
This commit is contained in:
Yalu Zhang 2020-09-03 17:39:26 +02:00
parent 3a807945f9
commit 5bb35f740c

View file

@ -129,7 +129,7 @@ static int set_ServicesVoiceServiceVoIPProfileRTP_TelephoneEventPayloadType(char
{
switch (action) {
case VALUECHECK:
if (dm_validate_unsignedInt(value, RANGE_ARGS{{"0","128"}}, 1))
if (dm_validate_unsignedInt(value, RANGE_ARGS{{"96","127"}}, 1))
return FAULT_9007;
break;
case VALUESET: