<!-- accept any authentication without actually checking (not a good feature for most people) -->
<!-- <param name="accept-blind-auth" value="true"/> -->
- <!-- supress CNG on this profile or per call with the 'supress_cng' variable -->
- <!-- <param name="supress-cng" value="true"/> -->
+ <!-- suppress CNG on this profile or per call with the 'suppress_cng' variable -->
+ <!-- <param name="suppress-cng" value="true"/> -->
<!--TTL for nonce in sip auth-->
<param name="nonce-ttl" value="60"/>
<!-- accept any authentication without actually checking (not a good feature for most people) -->
<!-- <param name="accept-blind-auth" value="true"/> -->
- <!-- supress CNG on this profile or per call with the 'supress_cng' variable -->
- <!-- <param name="supress-cng" value="true"/> -->
+ <!-- suppress CNG on this profile or per call with the 'suppress_cng' variable -->
+ <!-- <param name="suppress-cng" value="true"/> -->
<!--TTL for nonce in sip auth-->
<param name="nonce-ttl" value="60"/>
PFLAG_RESPAWN = (1 << 9),
PFLAG_GREEDY = (1 << 10),
PFLAG_MULTIREG = (1 << 11),
- PFLAG_SUPRESS_CNG = (1 << 12),
+ PFLAG_SUPPRESS_CNG = (1 << 12),
PFLAG_TLS = (1 << 13),
PFLAG_CHECKUSER = (1 << 14),
PFLAG_SECURE = (1 << 15),
} else {
profile->pflags &= ~PFLAG_MULTIREG;
}
- } else if (!strcasecmp(var, "supress-cng")) {
+ } else if (!strcasecmp(var, "supress-cng") || !strcasecmp(var, "suppress-cng")) {
if (switch_true(val)) {
- profile->pflags |= PFLAG_SUPRESS_CNG;
+ profile->pflags |= PFLAG_SUPPRESS_CNG;
} else {
- profile->pflags &= ~PFLAG_SUPRESS_CNG;
+ profile->pflags &= ~PFLAG_SUPPRESS_CNG;
}
} else if (!strcasecmp(var, "NDLB-to-in-200-contact")) {
if (switch_true(val)) {
if (switch_true(val)) {
profile->pflags |= PFLAG_MULTIREG;
}
- } else if (!strcasecmp(var, "supress-cng")) {
+ } else if (!strcasecmp(var, "supress-cng") || !strcasecmp(var, "suppress-cng")) {
if (switch_true(val)) {
- profile->pflags |= PFLAG_SUPRESS_CNG;
+ profile->pflags |= PFLAG_SUPPRESS_CNG;
}
} else if (!strcasecmp(var, "NDLB-to-in-200-contact")) {
if (switch_true(val)) {
}
}
- if ((!profile->cng_pt) && (!sofia_test_pflag(profile, PFLAG_SUPRESS_CNG))) {
+ if ((!profile->cng_pt) && (!sofia_test_pflag(profile, PFLAG_SUPPRESS_CNG))) {
profile->cng_pt = SWITCH_RTP_CNG_PAYLOAD;
}
const char *pass_fmtp = switch_channel_get_variable(tech_pvt->channel, "sip_video_fmtp");
const char *ov_fmtp = switch_channel_get_variable(tech_pvt->channel, "sip_force_video_fmtp");
- if (sofia_test_pflag(tech_pvt->profile, PFLAG_SUPRESS_CNG) ||
- ((val = switch_channel_get_variable(tech_pvt->channel, "supress_cng")) && switch_true(val))) {
+ if (sofia_test_pflag(tech_pvt->profile, PFLAG_SUPPRESS_CNG) ||
+ ((val = switch_channel_get_variable(tech_pvt->channel, "supress_cng")) && switch_true(val)) ||
+ ((val = switch_channel_get_variable(tech_pvt->channel, "suppress_cng")) && switch_true(val))) {
use_cng = 0;
}