Skip to content

Commit

Permalink
Always update Service-Route header upon successful registration
Browse files Browse the repository at this point in the history
  • Loading branch information
sauwming committed Jan 8, 2024
1 parent ca0c440 commit 89a9a0f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pjsip/src/pjsua-lib/pjsua_acc.c
Original file line number Diff line number Diff line change
Expand Up @@ -2446,6 +2446,9 @@ static void regc_cb(struct pjsip_regc_cbparam *param)
acc_check_nat_addr(acc, (acc->cfg.contact_rewrite_method & 3),
param))
{
/* Check and update Service-Route header */
update_service_route(acc, param->rdata);

PJSUA_UNLOCK();
pj_log_pop_indent();

Expand Down

0 comments on commit 89a9a0f

Please sign in to comment.