On 12/8/22 09:18, Mychaela Falconia wrote:
And how exactly do you propose implementing an actual MT call (with MT SETUP CC message to MS) on top of this silent-call logic? The moment you send that MT SETUP message to an MS, that MS will respond with CALL CONFIRM and other CC messages to follow - how are you going to handle them? You will need at least some handling of CC messages from MS: if the MS sends DTMF start, call hold or call modify messages, the network MUST respond with either ACK or REJ, and then of course there is graceful call disconnect and clearing. Likewise in the case of vty- initiated "hang up" of these test calls, you will also need to send CC DISCONNECT toward MS and then follow subsequent graceful call clearing sequence. I invite you to look at the source for themwi-test-mtc as an example.
The primary goal for me would be making the phone activate its microphone and speaker, so that the associated RTP stream would carry valid Uplink voice frames. I assume sending a CC SETUP message and pressing the green button on the phone would be enough for that. The subsequent Alerting and Connect messages from the MS can simply be ignored for now.
This is not a complete solution, rather a quick hack that should be relatively easy and quick to implement without touching the MNCC logic.
Best regards, Vadim.