[Home]

Summary:ASTERISK-06739: [no patch] r18666 breakage of chan_sip (peer cli completion)
Reporter:Andrey S Pankov (casper)Labels:
Date Opened:2006-04-09 19:24:35Date Closed:2006-04-11 17:08:06
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Channels/chan_sip/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:If I understand it right ast_test_flag(&iterator->flags[1], flags2) will always evaluate to zero if flags2 = 0 and no peers will be found for cli completion in the following code:

+ if (!strncasecmp(word, iterator->name, wordlen) &&
+ ast_test_flag(&iterator->flags[1], flags2) &&
+ ++which > state)
+ result = ast_strdup(iterator->name);
Comments:By: Kevin P. Fleming (kpfleming) 2006-04-11 17:08:05

Fixed in SVN trunk. Thanks!