mirror of
https://github.com/asterisk/asterisk.git
synced 2026-05-03 20:06:24 +00:00
First pass at properly handling account codes in forwarding
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3418 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -252,6 +252,9 @@ static int local_call(struct ast_channel *ast, char *dest, int timeout)
|
||||
else
|
||||
p->chan->ani = NULL;
|
||||
strncpy(p->chan->language, p->owner->language, sizeof(p->chan->language) - 1);
|
||||
strncpy(p->chan->accountcode, p->owner->accountcode, sizeof(p->chan->accountcode) - 1);
|
||||
p->chan->cdrflags = p->owner->cdrflags;
|
||||
|
||||
p->launchedpbx = 1;
|
||||
/* Start switch on sub channel */
|
||||
res = ast_pbx_start(p->chan);
|
||||
|
||||
Reference in New Issue
Block a user