nat: Send a CM Service Reject for NAT_CON_TYPE_SSA as well
For USSD we remember that it is a supplementary service but this means we sent no CM Service Reject down to the subscriber. Treat NAT_CON_TYPE_CM_SERV_REQ and NAT_CON_TYPE_SSA the same and send a cm service reject.
This commit is contained in:
parent
1f8276e588
commit
aa191adce6
|
@ -475,7 +475,7 @@ static void bsc_send_con_refuse(struct bsc_connection *bsc,
|
|||
|
||||
if (con_type == NAT_CON_TYPE_LU)
|
||||
payload = gsm48_create_loc_upd_rej(cause->lu_reject_cause);
|
||||
else if (con_type == NAT_CON_TYPE_CM_SERV_REQ)
|
||||
else if (con_type == NAT_CON_TYPE_CM_SERV_REQ || con_type == NAT_CON_TYPE_SSA)
|
||||
payload = gsm48_create_mm_serv_rej(cause->cm_reject_cause);
|
||||
else {
|
||||
LOGP(DNAT, LOGL_ERROR, "Unknown connection type: %d\n", con_type);
|
||||
|
|
Loading…
Reference in New Issue