Merged revisions 114246 via svnmerge from

https://origsvn.digium.com/svn/asterisk/trunk

................
r114246 | seanbright | 2008-04-18 09:38:07 -0400 (Fri, 18 Apr 2008) | 9 lines

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/branches/1.6.0@114247 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.6.0
Sean Bright 17 years ago
parent 69c922d088
commit 0f70968ff5

@ -13196,6 +13196,10 @@ static char *complete_sipch(const char *line, const char *word, int pos, int sta
char *c = NULL;
int wordlen = strlen(word);
if (pos != 3) {
return NULL;
}
dialoglist_lock();
for (cur = dialoglist; cur; cur = cur->next) {
if (!strncasecmp(word, cur->callid, wordlen) && ++which > state) {

Loading…
Cancel
Save