mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-06 04:30:28 +00:00
automerge commit
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2-netsec@38995 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2018,7 +2018,6 @@ static int wait_our_turn(struct queue_ent *qe, int ringing, enum queue_result *r
|
|||||||
/* If we have timed out, break out */
|
/* If we have timed out, break out */
|
||||||
if (qe->expire && (time(NULL) > qe->expire)) {
|
if (qe->expire && (time(NULL) > qe->expire)) {
|
||||||
*reason = QUEUE_TIMEOUT;
|
*reason = QUEUE_TIMEOUT;
|
||||||
ast_queue_log(qe->parent->name, qe->chan->uniqueid,"NONE", "EXITWITHTIMEOUT", "%d", qe->pos);
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -3190,8 +3190,7 @@ int ast_setstate(struct ast_channel *chan, int state)
|
|||||||
|
|
||||||
chan->_state = state;
|
chan->_state = state;
|
||||||
ast_device_state_changed_literal(chan->name);
|
ast_device_state_changed_literal(chan->name);
|
||||||
manager_event(EVENT_FLAG_CALL,
|
manager_event(EVENT_FLAG_CALL, "Newstate",
|
||||||
(oldstate == AST_STATE_DOWN) ? "Newchannel" : "Newstate",
|
|
||||||
"Channel: %s\r\n"
|
"Channel: %s\r\n"
|
||||||
"State: %s\r\n"
|
"State: %s\r\n"
|
||||||
"CallerID: %s\r\n"
|
"CallerID: %s\r\n"
|
||||||
|
Reference in New Issue
Block a user