On Fri, 2018-08-10 at 15:31 +0200, Aleksander Morgado wrote: > Hey Dan, Bob & all, > > I've updated the "aleksander/voice-fixes" branch to include the > "AT^CVOICE based support for Huawei modems that Dan worked on a while > ago in his "dcbw/huawei-voice" branch. > > https://gitlab.freedesktop.org/mobile-broadband/ModemManager/merge_re > quests/2
This is now merged. Dan > The Huawei USB dongles that support voice require a command > (AT^DDSETEX=2) to be executed when the call is established, and also > need to report which port is being used for audio. In order to > support > that, instead of subclassing all start/accept/hangup methods, I > extended the MMBaseCall class with two new handlers that allow > setting > up and cleaning up the audio channel however the plugin needs it. > Bob, > you could use these two methods for the custom AT commands you > require > for the SIMCom implementation, right? > > Dan's original changes also include support for reporting which port > and which audio format to use in the call, so plugins may use that to > report to upper layers that required information. Instead of updating > that information within the Huawei implementation, that is now > managed > by the base call object. > > Not all Huawei modems require all this setup with CVOICE and the > port/format reporting, as the original voice implementation didn't > require it, so it has been made optional. > > I have NOT tested this Huawei logic though, still need to find a > device that can work in that way. Dan could you give it a try > yourself? :) Also, once you have the audio TTY setup, how do you make > that audio port work in the PC? Maybe we should add some explanation > for that in the API? > _______________________________________________ ModemManager-devel mailing list ModemManager-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel