mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-09 03:18:30 +00:00
automerge commit
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2-netsec@65341 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -3459,7 +3459,8 @@ cb_events(enum event_e event, struct misdn_bchannel *bc, void *user_data)
|
|||||||
{
|
{
|
||||||
int stop_tone;
|
int stop_tone;
|
||||||
misdn_cfg_get( 0, MISDN_GEN_STOP_TONE, &stop_tone, sizeof(int));
|
misdn_cfg_get( 0, MISDN_GEN_STOP_TONE, &stop_tone, sizeof(int));
|
||||||
if ( stop_tone ) {
|
|
||||||
|
if ( (ch->state != MISDN_CONNECTED) && stop_tone ) {
|
||||||
stop_indicate(ch);
|
stop_indicate(ch);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user