[asterisk-commits] file: trunk r427259 - /trunk/res/res_pjsip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Nov 4 16:51:35 CST 2014


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++;




More information about the asterisk-commits mailing list