summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--res/res_pjsip.c1
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++;