[ftmod_misdn] Include mISDN message primitive id in channel activation log messages.
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
This commit is contained in:
parent
fd3ebc7ae3
commit
452c13573d
|
@ -444,8 +444,8 @@ static ftdm_status_t misdn_activate_channel(ftdm_channel_t *chan, int activate)
|
|||
return FTDM_FAIL;
|
||||
}
|
||||
//#ifdef MISDN_DEBUG_EVENTS
|
||||
ftdm_log_chan(chan, FTDM_LOG_DEBUG, "mISDN got event '%s' while waiting for %s confirmation\n",
|
||||
misdn_event2str(hh->prim), (activate) ? "activation" : "deactivation");
|
||||
ftdm_log_chan(chan, FTDM_LOG_DEBUG, "mISDN got event '%s (%#x)' while waiting for %s confirmation\n",
|
||||
misdn_event2str(hh->prim), hh->prim, (activate) ? "activation" : "deactivation");
|
||||
//#endif
|
||||
switch (hh->prim) {
|
||||
case PH_ACTIVATE_IND: /* success (or not): save last response, */
|
||||
|
@ -469,8 +469,8 @@ static ftdm_status_t misdn_activate_channel(ftdm_channel_t *chan, int activate)
|
|||
misdn_handle_mph_information_ind(chan, hh, MISDN_MSG_DATA(buf), retval - MISDN_HEADER_LEN);
|
||||
break;
|
||||
default: /* other messages, ignore */
|
||||
ftdm_log_chan(chan, FTDM_LOG_DEBUG, "mISDN ignoring event '%s' while waiting for %s confirmation\n",
|
||||
misdn_event2str(hh->prim), (activate) ? "activation" : "deactivation");
|
||||
ftdm_log_chan(chan, FTDM_LOG_DEBUG, "mISDN ignoring event '%s (%#x)' while waiting for %s confirmation\n",
|
||||
misdn_event2str(hh->prim), hh->prim, (activate) ? "activation" : "deactivation");
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue