[asterisk-bugs] [Asterisk 0011155]: callback failed on atxfer from members of queue
noreply at bugs.digium.com
noreply at bugs.digium.com
Sun Nov 4 08:20:36 CST 2007
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=11155
======================================================================
Reported By: IPetrov
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 11155
Category: Applications/app_queue
Reproducibility: always
Severity: feature
Priority: normal
Status: new
Asterisk Version: SVN
SVN Branch (only for SVN checkouts, not tarball releases): trunk
SVN Revision (number only!): 87154
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 11-03-2007 16:57 CDT
Last Modified: 11-04-2007 08:20 CST
======================================================================
Summary: callback failed on atxfer from members of queue
Description:
atxfer working perfectly with AAA, but with BBBB it doesn't. Call backing
from C to A at contextB in scheme A->Queue()->B(is SIP/101 member)->atxfer
(and hangup)->C->callback.
======================================================================
----------------------------------------------------------------------
IPetrov - 11-04-07 08:20
----------------------------------------------------------------------
To fix this issue im make changes in res_features.c. When transfer call
back Transferer cid.cid_num contains callerid fo A (in A->B->C), and right
value i took from channels name (i have 3-digits dialplan):
--- cut from res_features.c[1032] ----
if (!newchan) {
unsigned int tries = 0;
snprintf(temp, 4, "%s", strrchr(transferer->name,'/') + 1);
/* newchan wasn't created - we should callback to transferer */
if (!ast_exists_extension(transferer, transferer_real_context, temp, 1,
temp)) {
ast_log(LOG_WARNING, "Extension %s does not exist in context %s -
callback failed\n",temp,transferer_real_context);
if (ast_stream_and_wait(transferee, "beeperr", ""))
return -1;
return FEATURE_RETURN_SUCCESS;
}
snprintf(callbackto, sizeof(callbackto), "%s@%s/n", temp,
transferer_real_context); /* append context */
-------- Cut ---------
Issue History
Date Modified Username Field Change
======================================================================
11-04-07 08:20 IPetrov Note Added: 0073058
======================================================================
More information about the asterisk-bugs
mailing list