Remove hack: VoLTE support for Asterisk
This commit is contained in:
parent
ce602d5264
commit
302754c049
|
@ -313,12 +313,7 @@ static pj_status_t set_outbound_authentication_credentials(pjsip_auth_clt_sess *
|
|||
pj_cstr(&auth_cred.scheme, "digest");
|
||||
switch (auth->type) {
|
||||
case AST_SIP_AUTH_TYPE_USER_PASS:
|
||||
if (volte_auth == (void *)0x1)
|
||||
pj_cstr(&auth_cred.data, "");
|
||||
else if (volte_auth)
|
||||
pj_strset(&auth_cred.data, (char *)volte_auth, 8);
|
||||
else
|
||||
pj_cstr(&auth_cred.data, auth->auth_pass);
|
||||
pj_cstr(&auth_cred.data, auth->auth_pass);
|
||||
auth_cred.data_type = PJSIP_CRED_DATA_PLAIN_PASSWD;
|
||||
break;
|
||||
case AST_SIP_AUTH_TYPE_MD5:
|
||||
|
|
Loading…
Reference in New Issue