Change in osmo-msc[master]: remove code dup: add msc_mgcp_try_call_assignment()

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 Hofmeyr gerrit-no-reply at lists.osmocom.org
Fri Jan 4 01:45:58 UTC 2019


Neels Hofmeyr has posted comments on this change. ( https://gerrit.osmocom.org/12398 )

Change subject: remove code dup: add msc_mgcp_try_call_assignment()
......................................................................


Patch Set 3:

(2 comments)

https://gerrit.osmocom.org/#/c/12398/3/src/libmsc/msc_mgcp.c
File src/libmsc/msc_mgcp.c:

https://gerrit.osmocom.org/#/c/12398/3/src/libmsc/msc_mgcp.c@964
PS3, Line 964: return 0;
> Maybe it's a good idea to print some NOTICE here?
No: if we've already done the Assignment step before, subsequent attempts should just silently not do anything. No use to keep logging "Assignment happened some time ago" over and over. The msc_mgcp_try_call_assignment() is called three or four times during call establishing, only one will trigger an Assignment.


https://gerrit.osmocom.org/#/c/12398/3/src/libmsc/msc_mgcp.c@966
PS3, Line 966: trans->assignment_done = true;
> Ah, ok. The following commit renames this flag, so it's much cleaner.
exactly; 'assignment_done' also confused me, it will be renamed to 'assignment_started'.



-- 
To view, visit https://gerrit.osmocom.org/12398
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I11c0b7dc3f1a747028629b48e522bb3b864884ba
Gerrit-Change-Number: 12398
Gerrit-PatchSet: 3
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-CC: Vadim Yanitskiy <axilirator at gmail.com>
Gerrit-Comment-Date: Fri, 04 Jan 2019 01:45:58 +0000
Gerrit-HasComments: Yes
Gerrit-HasLabels: No
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190104/da204373/attachment.htm>


More information about the gerrit-log mailing list