[Cx] change the order of IMPU (#921)

This commit is contained in:
Sukchan Lee 2021-04-08 21:35:52 +09:00
parent 2df8a1836f
commit 44de4673bf
1 changed files with 5 additions and 5 deletions

View File

@ -834,15 +834,15 @@ char *hss_cx_download_user_data(
for (i = 0; i < ims_data->num_of_msisdn; i++) {
char *public_identity = NULL;
public_identity = ogs_msprintf(
"sip:%s@ims.mnc%03d.mcc%03d.3gppnetwork.org",
ims_data->msisdn[i].bcd,
ogs_plmn_id_mnc(plmn_id), ogs_plmn_id_mcc(plmn_id));
public_identity = ogs_msprintf("tel:%s", ims_data->msisdn[i].bcd);
ogs_assert(public_identity);
hss_cx_associate_identity(user_name, public_identity);
ogs_free(public_identity);
public_identity = ogs_msprintf("tel:%s", ims_data->msisdn[i].bcd);
public_identity = ogs_msprintf(
"sip:%s@ims.mnc%03d.mcc%03d.3gppnetwork.org",
ims_data->msisdn[i].bcd,
ogs_plmn_id_mnc(plmn_id), ogs_plmn_id_mcc(plmn_id));
ogs_assert(public_identity);
hss_cx_associate_identity(user_name, public_identity);
ogs_free(public_identity);