Change in osmo-msc[master]: libmsc: Allow different channel types to be requested as silent calls

Pau Espin Pedrol gerrit-no-reply at
Wed Mar 13 19:21:01 UTC 2019

Pau Espin Pedrol has posted comments on this change. ( )

Change subject: libmsc: Allow different channel types to be requested as silent calls

Patch Set 1:

Commit Message:
PS1, Line 10: Signed-off-by: Sylvain Munaut <tnt at>
No signed-off-by in osmocom repos.
File src/libmsc/msc_vty.c:
PS1, Line 1072: 	uint16_t port = 0;
no initialization needed here afaiu.
File src/libmsc/silent_call.c:
PS1, Line 40: 	char traffic_ip[INET_ADDRSTRLEN];
worth using INET6_ADDRSTRLEN here in case we want to support ipv6? Not sure if it makes sense in this context.
PS1, Line 91: 		osmo_timer_schedule(&scd->timer, 0, 0);
Why not calling timer_cb directly  around line 120? You are immediatelly firing this cb, and only once.
PS1, Line 99: 			} rtp_addr;
Is this conversion from sockaddr_in to sockaddr_storage through union valid? Never seen it before.
PS1, Line 120: 		break;
Would be clearer using a return 0 here, otherwise it's confusing scheduling scd timer then having a talloc_free(scd) after the switch block.

To view, visit
To unsubscribe, or for help writing mail filters, visit

Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I82645708dd27864cf33ea9cc993ead0983415602
Gerrit-Change-Number: 13242
Gerrit-PatchSet: 1
Gerrit-Owner: tnt <tnt at>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-CC: Max <msuraev at>
Gerrit-CC: Pau Espin Pedrol <pespin at>
Gerrit-Comment-Date: Wed, 13 Mar 2019 19:21:01 +0000
Gerrit-HasComments: Yes
Gerrit-HasLabels: No
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the gerrit-log mailing list