Merged revisions 369236,369239 via svnmerge from

file:///srv/subversion/repos/asterisk/branches/10

................
  r369236 | rmudgett | 2012-06-22 15:49:33 -0500 (Fri, 22 Jun 2012) | 5 lines
  
  Change incorrect chan_sip zombie hangup debug message.  They are all zombies now.
  ........
  
  Merged revisions 369235 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................
  r369239 | rmudgett | 2012-06-22 16:04:25 -0500 (Fri, 22 Jun 2012) | 5 lines
  
  Check if PBX was started for generic CCSS recall.
  ........
  
  Merged revisions 369238 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10-digiumphones@369257 65c4cc65-6c06-0410-ace0-fbb531ad65f3
10-digiumphones
Automerge script 14 years ago
parent 41de4b94a1
commit 9c288ea612

@ -6336,13 +6336,7 @@ static int sip_hangup(struct ast_channel *ast)
return 0;
}
if (ast_test_flag(ast, AST_FLAG_ZOMBIE)) {
if (p->refer)
ast_debug(1, "SIP Transfer: Hanging up Zombie channel %s after transfer ... Call-ID: %s\n", ast->name, p->callid);
else
ast_debug(1, "Hanging up zombie call. Be scared.\n");
} else
ast_debug(1, "Hangup call %s, SIP callid %s\n", ast->name, p->callid);
ast_debug(1, "Hangup call %s, SIP callid %s\n", ast->name, p->callid);
sip_pvt_lock(p);
if (ast_test_flag(&p->flags[0], SIP_INC_COUNT) || ast_test_flag(&p->flags[1], SIP_PAGE2_CALL_ONHOLD)) {

@ -2710,8 +2710,13 @@ static void *generic_recall(void *data)
return NULL;
}
}
ast_cc_agent_recalling(agent->core_id, "Generic agent %s is recalling", agent->device_name);
ast_pbx_start(chan);
if (ast_pbx_start(chan)) {
ast_cc_failed(agent->core_id, "PBX failed to start for %s.", agent->device_name);
ast_hangup(chan);
return NULL;
}
ast_cc_agent_recalling(agent->core_id, "Generic agent %s is recalling",
agent->device_name);
return NULL;
}

Loading…
Cancel
Save