[svn-commits] mattf: branch 1.6.0 r132111 - in /branches/1.6.0: ./ channels/chan_dahdi.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Fri Jul 18 13:53:55 CDT 2008
Author: mattf
Date: Fri Jul 18 13:53:54 2008
New Revision: 132111
URL: http://svn.digium.com/view/asterisk?view=rev&rev=132111
Log:
Merged revisions 132108 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r132108 | mattf | 2008-07-18 13:50:00 -0500 (Fri, 18 Jul 2008) | 1 line
Make sure we break the poll so that messages queued will be sent on the SS7 when using CLI commands for blocking and blocking of CICs and linksets.
........
Modified:
branches/1.6.0/ (props changed)
branches/1.6.0/channels/chan_dahdi.c
Propchange: branches/1.6.0/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.
Modified: branches/1.6.0/channels/chan_dahdi.c
URL: http://svn.digium.com/view/asterisk/branches/1.6.0/channels/chan_dahdi.c?view=diff&rev=132111&r1=132110&r2=132111
==============================================================================
--- branches/1.6.0/channels/chan_dahdi.c (original)
+++ branches/1.6.0/channels/chan_dahdi.c Fri Jul 18 13:53:54 2008
@@ -13227,6 +13227,9 @@
else
ast_cli(a->fd, "CIC %d already locally blocked\n", cic);
+ /* Break poll on the linkset so it sends our messages */
+ pthread_kill(linksets[linkset-1].master, SIGURG);
+
return CLI_SUCCESS;
}
@@ -13266,6 +13269,9 @@
ast_mutex_unlock(&linksets[linkset-1].lock);
}
+ /* Break poll on the linkset so it sends our messages */
+ pthread_kill(linksets[linkset-1].master, SIGURG);
+
return CLI_SUCCESS;
}
@@ -13319,6 +13325,10 @@
if (blocked > 0)
ast_cli(a->fd, "Sent unblocking request for linkset %d on CIC %d\n", linkset, cic);
+
+ /* Break poll on the linkset so it sends our messages */
+ pthread_kill(linksets[linkset-1].master, SIGURG);
+
return CLI_SUCCESS;
}
@@ -13358,6 +13368,9 @@
isup_ubl(linksets[linkset-1].ss7, linksets[linkset-1].pvts[i]->cic, linksets[linkset-1].pvts[i]->dpc);
ast_mutex_unlock(&linksets[linkset-1].lock);
}
+
+ /* Break poll on the linkset so it sends our messages */
+ pthread_kill(linksets[linkset-1].master, SIGURG);
return CLI_SUCCESS;
}
More information about the svn-commits
mailing list