mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-25 07:01:09 +00:00
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
This commit is contained in:
@@ -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++;
|
||||
|
Reference in New Issue
Block a user