res_pjsip: Add user=phone on From and PAID for usereqphone=yes

Adding user=phone to local-side uri's when user_eq_phone=yes is set for
an endpoint. Previously this would only add the header to the To and R-URI.

ASTERISK-30178

Change-Id: Id3bfb5d225d762e7d2668c023fe09e4541ae8600
This commit is contained in:
Mike Bradeen
2022-08-15 13:30:53 -06:00
committed by Friendly Automation
parent f18d20e28e
commit 2bb970cfe7
2 changed files with 5 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
subject: res_pjsip
user_eq_phone=yes flag on a pjsip endpoint will now set user=phone on
the From and Prviacy headers in addition to the existing To and RURI