Author: file
Date: Tue Nov  4 16:51:32 2014
New Revision: 427259

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=427259
Log:
res_pjsip: Apply the 'user_eq_phone' setting to the To header as well.

Modified:
    trunk/res/res_pjsip.c

Modified: trunk/res/res_pjsip.c
URL: 
http://svnview.digium.com/svn/asterisk/trunk/res/res_pjsip.c?view=diff&rev=427259&r1=427258&r2=427259
==============================================================================
--- trunk/res/res_pjsip.c (original)
+++ trunk/res/res_pjsip.c Tue Nov  4 16:51:32 2014
@@ -2220,6 +2220,7 @@
 
        /* 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++;


-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

svn-commits mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/svn-commits

Reply via email to