[asterisk-commits] igorg: branch 12 r425668 - in /branches/12: ./ channels/chan_unistim.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Oct 16 01:07:21 CDT 2014
Author: igorg
Date: Thu Oct 16 01:07:18 2014
New Revision: 425668
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=425668
Log:
Fix loss of voice after second call drops (on a second line) in case using multiple lines on unistim phones. There is regression was introduced in r391379.
Reported by: Rustam Khankishyiev
(closes issue ASTERISK-23846)
........
Merged revisions 425667 from http://svn.asterisk.org/svn/asterisk/branches/11
Modified:
branches/12/ (props changed)
branches/12/channels/chan_unistim.c
Propchange: branches/12/
------------------------------------------------------------------------------
Binary property 'branch-11-merged' - no diff available.
Modified: branches/12/channels/chan_unistim.c
URL: http://svnview.digium.com/svn/asterisk/branches/12/channels/chan_unistim.c?view=diff&rev=425668&r1=425667&r2=425668
==============================================================================
--- branches/12/channels/chan_unistim.c (original)
+++ branches/12/channels/chan_unistim.c Thu Oct 16 01:07:18 2014
@@ -4822,17 +4822,19 @@
} else if (sub->subtype == SUB_RING) {
send_no_ring(s);
for (i = 0; i < FAVNUM; i++) {
- if (!soft_key_visible(s->device, i))
+ if (!soft_key_visible(s->device, i)) {
continue;
- if (d->ssub[i] != sub)
+ }
+ if (d->ssub[i] != sub) {
+ if (d->ssub[i] != NULL) { /* Found other subchannel active other then hangup'ed one */
+ end_call = 0;
+ }
continue;
+ }
if (is_key_line(d, i) && !strcmp(l->name, d->sline[i]->name)) {
send_favorite_short(i, FAV_LINE_ICON, s);
d->ssub[i] = NULL;
continue;
- }
- if (d->ssub[i] != NULL) { /* Found other subchannel active other then hangup'ed one */
- end_call = 0;
}
}
}
More information about the asterisk-commits
mailing list