mirror of
https://github.com/open5gs/open5gs.git
synced 2025-11-02 04:53:37 +00:00
[Cx] Chanage IMPUs (#921)
Change the order of IMPUs sent in XML as follows and also have only the
following IMPUs
i.e.
1. sip:<MSISDN>@ims.mnc<MNC>.mcc<MCC>.3ggpnetwork.org
2. tel:<MSISDN>
This commit is contained in:
@@ -856,16 +856,6 @@ char *hss_cx_download_user_data(
|
||||
for (i = 0; i < ims_data->num_of_msisdn; i++) {
|
||||
char *public_identity = NULL;
|
||||
|
||||
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("sip:%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(
|
||||
"sip:%s@ims.mnc%03d.mcc%03d.3gppnetwork.org",
|
||||
ims_data->msisdn[i].bcd,
|
||||
@@ -873,6 +863,11 @@ char *hss_cx_download_user_data(
|
||||
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);
|
||||
ogs_assert(public_identity);
|
||||
hss_cx_associate_identity(user_name, public_identity);
|
||||
ogs_free(public_identity);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user