Change in osmo-bsc[master]: debug log: explain exit from lchan_fsm wait_rll_rtp_establish

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

neels gerrit-no-reply at lists.osmocom.org
Thu Dec 10 02:29:09 UTC 2020


neels has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bsc/+/21644 )


Change subject: debug log: explain exit from lchan_fsm wait_rll_rtp_establish
......................................................................

debug log: explain exit from lchan_fsm wait_rll_rtp_establish

Change-Id: I18ffcf93e82ee47413e4b2f741ffbfbb18322e1d
---
M src/osmo-bsc/lchan_fsm.c
1 file changed, 6 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/44/21644/1

diff --git a/src/osmo-bsc/lchan_fsm.c b/src/osmo-bsc/lchan_fsm.c
index 1903645..e3285b6 100644
--- a/src/osmo-bsc/lchan_fsm.c
+++ b/src/osmo-bsc/lchan_fsm.c
@@ -851,8 +851,13 @@
 
 	case LCHAN_EV_RLL_ESTABLISH_IND:
 		if (!lchan->activate.info.requires_voice_stream
-		    || lchan_rtp_established(lchan))
+		    || lchan_rtp_established(lchan)) {
+			LOG_LCHAN(lchan, LOGL_DEBUG,
+				  "%s\n",
+				  (lchan->activate.info.requires_voice_stream ?
+				   "RTP already established earlier" : "no voice stream required"));
 			lchan_fsm_state_chg(LCHAN_ST_ESTABLISHED);
+		}
 		return;
 
 	case LCHAN_EV_RTP_READY:

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/21644
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I18ffcf93e82ee47413e4b2f741ffbfbb18322e1d
Gerrit-Change-Number: 21644
Gerrit-PatchSet: 1
Gerrit-Owner: neels <nhofmeyr at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201210/af1f2b53/attachment.htm>


More information about the gerrit-log mailing list