aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/libbsc/bsc_api.c
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2017-02-09 19:13:02 +0100
committerMax <msuraev@sysmocom.de>2017-02-09 19:13:02 +0100
commit8dc8f23c074c56e217cb7a2dc5383fdb71c25861 (patch)
treea586e243bb8f9bba7c59c82603c4d6905cfde938 /openbsc/src/libbsc/bsc_api.c
parentdb0e380558fa03229d981dc358db98d5b781cbe5 (diff)
Expand chan allocation logging
Log more data related to channel allocation: - channel type - number of paging attempts - timers fired Change-Id: Ib417a9c942c17b902dd80ff555cd9da5f91bff48
Diffstat (limited to 'openbsc/src/libbsc/bsc_api.c')
-rw-r--r--openbsc/src/libbsc/bsc_api.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/openbsc/src/libbsc/bsc_api.c b/openbsc/src/libbsc/bsc_api.c
index 8a4c85ff3..7a48296ac 100644
--- a/openbsc/src/libbsc/bsc_api.c
+++ b/openbsc/src/libbsc/bsc_api.c
@@ -397,7 +397,8 @@ int gsm0808_assign_req(struct gsm_subscriber_connection *conn, int chan_mode, in
handle_mr_config(conn, conn->lchan, full_rate);
LOGP(DMSC, LOGL_NOTICE,
- "Sending ChanModify for speech: %s on channel %s\n",
+ "Sending %s ChanModify for speech: %s on channel %s\n",
+ gsm_lchan_name(conn->lchan),
get_value_string(gsm48_chan_mode_names, chan_mode),
get_value_string(gsm_chan_t_names, conn->lchan->type));
gsm48_lchan_modify(conn->lchan, chan_mode);