mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-09 03:18:30 +00:00
Add "NewChan" event to history to track the birth of a new ast_chan from a
SIP invite git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18059 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2978,6 +2978,8 @@ static struct ast_channel *sip_new(struct sip_pvt *i, int state, const char *tit
|
|||||||
for (v = i->chanvars ; v ; v = v->next)
|
for (v = i->chanvars ; v ; v = v->next)
|
||||||
pbx_builtin_setvar_helper(tmp,v->name,v->value);
|
pbx_builtin_setvar_helper(tmp,v->name,v->value);
|
||||||
|
|
||||||
|
append_history(i, "NewChan", "Channel %s - from %s", tmp->name, i->callid);
|
||||||
|
|
||||||
return tmp;
|
return tmp;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user