diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 23843a6a82212f5c42522d5f9c81951e06cf8479..627770634ad20562691a084945cf0b43d13ef26a 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -2977,6 +2977,8 @@ static struct ast_channel *sip_new(struct sip_pvt *i, int state, const char *tit /* Set channel variables for this call from configuration */ for (v = i->chanvars ; v ; v = v->next) pbx_builtin_setvar_helper(tmp,v->name,v->value); + + append_history(i, "NewChan", "Channel %s - from %s", tmp->name, i->callid); return tmp; }