Summary: | ASTERISK-14443: callerid(num) is wrong when username is missing | ||
Reporter: | Stanislaw Pitucha (viraptor) | Labels: | |
Date Opened: | 2009-07-09 10:42:08 | Date Closed: | 2009-07-15 15:21:36 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Functions/func_callerid |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | In 1.6.1.1 ${CALLERID(num)} fails when there's no username present in a sip call. For example for "From: <sip:123.123.123.123>", CALLERID(num) will return number "123123123123". 1.4.X used to return an empty string in that case. | ||
Comments: | By: pj (pj) 2009-07-10 11:47:42 from my observation, this bug is also valid for asterisk trunk By: Digium Subversion (svnbot) 2009-07-15 15:20:03 Repository: asterisk Revision: 206702 U trunk/channels/chan_sip.c ------------------------------------------------------------------------ r206702 | dvossel | 2009-07-15 15:20:03 -0500 (Wed, 15 Jul 2009) | 10 lines callerid(num) is wrong when username is missing A domain only sip uri <sip:123.123.123.123> would return 123.123.123.123 as callid num. Now, if the username is missing from a uri, the callerid num field is left empty. (closes issue ASTERISK-14443) Reported by: viraptor ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=206702 By: Digium Subversion (svnbot) 2009-07-15 15:20:36 Repository: asterisk Revision: 206703 _U branches/1.6.2/ U branches/1.6.2/channels/chan_sip.c ------------------------------------------------------------------------ r206703 | dvossel | 2009-07-15 15:20:36 -0500 (Wed, 15 Jul 2009) | 16 lines Merged revisions 206702 via svnmerge from https://origsvn.digium.com/svn/asterisk/trunk ........ r206702 | dvossel | 2009-07-15 15:20:01 -0500 (Wed, 15 Jul 2009) | 10 lines callerid(num) is wrong when username is missing A domain only sip uri <sip:123.123.123.123> would return 123.123.123.123 as callid num. Now, if the username is missing from a uri, the callerid num field is left empty. (closes issue ASTERISK-14443) Reported by: viraptor ........ ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=206703 By: Digium Subversion (svnbot) 2009-07-15 15:21:06 Repository: asterisk Revision: 206704 _U branches/1.6.1/ U branches/1.6.1/channels/chan_sip.c ------------------------------------------------------------------------ r206704 | dvossel | 2009-07-15 15:21:06 -0500 (Wed, 15 Jul 2009) | 16 lines Merged revisions 206702 via svnmerge from https://origsvn.digium.com/svn/asterisk/trunk ........ r206702 | dvossel | 2009-07-15 15:20:01 -0500 (Wed, 15 Jul 2009) | 10 lines callerid(num) is wrong when username is missing A domain only sip uri <sip:123.123.123.123> would return 123.123.123.123 as callid num. Now, if the username is missing from a uri, the callerid num field is left empty. (closes issue ASTERISK-14443) Reported by: viraptor ........ ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=206704 By: Digium Subversion (svnbot) 2009-07-15 15:21:36 Repository: asterisk Revision: 206705 _U branches/1.6.0/ U branches/1.6.0/channels/chan_sip.c ------------------------------------------------------------------------ r206705 | dvossel | 2009-07-15 15:21:35 -0500 (Wed, 15 Jul 2009) | 16 lines Merged revisions 206702 via svnmerge from https://origsvn.digium.com/svn/asterisk/trunk ........ r206702 | dvossel | 2009-07-15 15:20:01 -0500 (Wed, 15 Jul 2009) | 10 lines callerid(num) is wrong when username is missing A domain only sip uri <sip:123.123.123.123> would return 123.123.123.123 as callid num. Now, if the username is missing from a uri, the callerid num field is left empty. (closes issue ASTERISK-14443) Reported by: viraptor ........ ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=206705 |