diff options
author | Joshua Colp <jcolp@digium.com> | 2014-11-04 22:51:32 +0000 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2014-11-04 22:51:32 +0000 |
commit | c77a71ad2fd330c20e8f5055044ede1c9ab495b0 (patch) | |
tree | 94109d452c7f5d76eadb3ce337d0aeb09d61fcd4 /res/res_pjsip.c | |
parent | 5e43d68717b9b6dbb4f736054bcfb74289ca41a1 (diff) |
res_pjsip: Apply the 'user_eq_phone' setting to the To header as well.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@427259 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/res_pjsip.c')
-rw-r--r-- | res/res_pjsip.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/res/res_pjsip.c b/res/res_pjsip.c index 5aa9426d9..65466bfa4 100644 --- a/res/res_pjsip.c +++ b/res/res_pjsip.c @@ -2220,6 +2220,7 @@ pjsip_dialog *ast_sip_create_dialog_uac(const struct ast_sip_endpoint *endpoint, /* Add the user=phone parameter if applicable */ ast_sip_add_usereqphone(endpoint, dlg->pool, dlg->target); + ast_sip_add_usereqphone(endpoint, dlg->pool, dlg->remote.info->uri); /* We have to temporarily bump up the sess_count here so the dialog is not prematurely destroyed */ dlg->sess_count++; |