Skip to content

Commit

Permalink
ims_charging: bugfix for tel URIs, need the same logic in stop as in …
Browse files Browse the repository at this point in the history
…start requests
  • Loading branch information
henningw committed Jul 2, 2020
1 parent 798c1c6 commit c3efb3b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/modules/ims_charging/ims_ro.c
Expand Up @@ -914,6 +914,8 @@ void send_ccr_stop_with_param(struct ro_session *ro_session, unsigned int code,
//getting subscription id type
if (strncasecmp(subscr.id.s, "tel:", 4) == 0) {
subscr.type = Subscription_Type_MSISDN;
subscr.id.s += 4;
subscr.id.len -= 4;
} else {
subscr.type = Subscription_Type_IMPU; //default is END_USER_SIP_URI
}
Expand Down

0 comments on commit c3efb3b

Please sign in to comment.