Merged revisions 114245 via svnmerge from

https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r114245 | seanbright | 2008-04-18 09:33:32 -0400 (Fri, 18 Apr 2008) | 1 line

Only complete the SIP channel name once for 'sip show channel <channel>'
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@114246 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Sean Bright
2008-04-18 13:38:07 +00:00
parent 2f33780bfa
commit e4dce85331
+4
View File
@@ -14038,6 +14038,10 @@ static char *complete_sipch(const char *line, const char *word, int pos, int sta
int wordlen = strlen(word);
struct ao2_iterator i;
if (pos != 3) {
return NULL;
}
i = ao2_iterator_init(dialogs, 0);
while ((cur = ao2_t_iterator_next(&i, "iterate thru dialogs"))) {