[Home]

Summary:ASTERISK-03367: resctrictcid always true
Reporter:roger (roger)Labels:
Date Opened:2005-01-27 14:51:31.000-0600Date Closed:2008-01-15 15:23:34.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Channels/chan_sip/DatabaseSupport
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) chan_sip.c.diff
Description:Whenever a column "restrictcid" is defined in the
sipfriends mysql-table, the variable restrictcid is set
to 1 in chan_sip.

Line 1067 of chan_sip.c should be changed to:

u->restrictcid = *(rowval[x])-'0';
Comments:By: Brian West (bkw918) 2005-01-27 14:59:27.000-0600

well attach a diff -u

By: roger (roger) 2005-01-27 16:28:35.000-0600

In the diff file, there are two changes.

The second one is the one concerning this bug.

The first one lets the lookup in the sipfriends
table behave as I expected, but may my expectation
to it were wrong.

By: Mark Spencer (markster) 2005-01-27 18:32:09.000-0600

This is not an issue with CVS head.

By: Russell Bryant (russell) 2005-01-29 01:07:07.000-0600

fixed in 1.0

By: Digium Subversion (svnbot) 2008-01-15 15:23:34.000-0600

Repository: asterisk
Revision: 4915

U   branches/v1-0/channels/chan_sip.c

------------------------------------------------------------------------
r4915 | russell | 2008-01-15 15:23:33 -0600 (Tue, 15 Jan 2008) | 2 lines

fix restrictcid with mysql users (bug ASTERISK-3367)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=4915