[svn-commits] oej: trunk r58844 - in /trunk: ./ channels/chan_sip.c
svn-commits at lists.digium.com
svn-commits at lists.digium.com
Tue Mar 13 02:15:17 MST 2007
Author: oej
Date: Tue Mar 13 04:15:17 2007
New Revision: 58844
URL: http://svn.digium.com/view/asterisk?view=rev&rev=58844
Log:
Merged revisions 58843 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r58843 | oej | 2007-03-13 10:12:16 +0100 (Tue, 13 Mar 2007) | 2 lines
Issue #9251 - Clear From URI from user attributes (tgrman)
........
Modified:
trunk/ (props changed)
trunk/channels/chan_sip.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.
Modified: trunk/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_sip.c?view=diff&rev=58844&r1=58843&r2=58844
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Tue Mar 13 04:15:17 2007
@@ -9858,6 +9858,10 @@
}
{
char *tmp = ast_strdupa(of);
+ /* We need to be able to handle auth-headers looking like
+ <sip:8164444422;phone-context=+1 at 1.2.3.4:5060;user=phone;tag=SDadkoa01-gK0c3bdb43>
+ */
+ tmp = strsep(&tmp, ";");
if (ast_is_shrinkable_phonenumber(tmp))
ast_shrink_phone_number(tmp);
ast_string_field_set(p, cid_num, tmp);
More information about the svn-commits
mailing list