Bug #2240
closedBug #2187: ofono: not all modems do what they should
ofono: voice calls are not implemented for any modem
Added by neels over 7 years ago. Updated over 6 years ago.
100%
Description
Apparently we are unable to place any voice calls using ofono, for our choice of modems.
Implement the signalling part of voice calls, do not spend time on analysis of actual voice streams.
So far we'd like to dial a number and see a call established, ignoring RTP and audio.
Files
test-voicecall.tar.gz | test-voicecall.tar.gz | 95.2 KB | pespin, 08/02/2017 04:24 PM | ||
ec20-sierra-voicecall.tar.gz | ec20-sierra-voicecall.tar.gz | 140 KB | pespin, 08/02/2017 04:59 PM |
Related issues
Updated by neels over 7 years ago
sierra and ec20 say:
root@osmo-gsm-tester-rnd:~# mdbus2 -s org.ofono /sierra_1 org.ofono.VoiceCallManager.Dial 1009 disabled [ERR]: GDBus.Error:org.ofono.Error.NotImplemented: Implementation not provided root@osmo-gsm-tester-rnd:~# mdbus2 -s org.ofono /gobi_0 org.ofono.VoiceCallManager.Dial 1009 disabled [ERR]: GDBus.Error:org.ofono.Error.NotImplemented: Implementation not provided
gobi has no such interface:
root@osmo-gsm-tester-rnd:~# mdbus2 -s org.ofono /gobi_3 org.ofono.VoiceCallManager.Dial 1009 enabled [ERR]: There is no method with name org.ofono.VoiceCallManager.Dial on path /gobi_3!
See also https://git.sysmocom.de/ofono/tree/doc/voicecallmanager-api.txt as doc for the arguments: enabled/disabled refers to hide_callerid.
Updated by neels over 7 years ago
- Description updated (diff)
- Priority changed from Normal to High
Updated by neels about 7 years ago
- Blocks Feature #2194: osmo-gsm-tester: add voice call test added
Updated by pespin about 7 years ago
- Blocked by Feature #2197: osmo-gsm-tester: use MNCC interface added
Updated by lynxis about 7 years ago
After using a Jolla phone to verify the QMI calls, it looks like the EC20 is rejecting a `Dial Call` request with `Internal Error`.
Updated by lynxis about 7 years ago
- Status changed from New to Feedback
- Assignee changed from lynxis to pespin
I've pushed my recent state to the branch voicecall on https://git.sysmocom.de/ofono/.
Please don't use anything under lynxis/*, those branches might get rebased and are in an unknown state.
So far I've tested it with a public operator:
- dial out, hangup
- receive call -> hangup
- receive call -> answer -> hangup.
Updated by pespin about 7 years ago
- File test-voicecall.tar.gz test-voicecall.tar.gz added
- Assignee changed from pespin to lynxis
It's failing with SierraW modems. I attach osmo-gsm-tester run output archive with log and pcap, it also contains ofono log for the time of the test as usual.
I start osmo-gsm-tester with -s debug -t interactive, then I select to use 2 modems, then I wait until both are registered, then I use "g" command to see the msisdns and I run manually:
# mdbus2 -s org.ofono /sierra_1 org.ofono.VoiceCallManager.Dial 24756 disabled [ERR]: GDBus.Error:org.ofono.Error.Failed: Operation failed
Where 24756 is the msisdn of the 2nd MS connected (also a SierraW one).
The ofono log only outputs a few lines when I use the Dial method:
ofonod[4952]: drivers/qmimodem/voicecall.c:all_call_status_ind() Call 1 in state QMI_CALL_STATE_CC_IN_PROG(4) ofonod[4952]: src/voicecall.c:ofono_voicecall_notify() Got a voicecall event, status: dialing (2), id: 1, number: 24756 called_number: , called_name ofonod[4952]: src/voicecall.c:ofono_voicecall_notify() Did not find a call with id: 1 ofonod[4952]: drivers/qmimodem/voicecall.c:dial_cb() QMI Error 3 ofonod[4952]: src/voicecall.c:dial_handle_result() Dial callback returned error: Unknown error type
Updated by pespin about 7 years ago
I also tested issuing a call with the same procedure, this time with modems EC20 --calling--> SierraW.
It looks a bit better, the voicecall object is created but it stops after a few fractions of a second. I attach complete output of osmo-gsm-tester+ofono as usual.
Updated by lynxis about 7 years ago
The sierra is rejecting the call with Reason: "Incompatible destination".
The setup messages has the following TLVs:
- Bearer Cap
- Calling Party
- Called Party
I guess it's because of "Called Party" has NPI & TON set to Unknown.
while the "Calling party" has TON unknown, NPI isdn/e.164,
Updated by lynxis about 7 years ago
When trying to create one of the sierra:
- try "ATD12345" => create a data call
- try "ATD12345;" => don't do anything
Updated by lynxis almost 7 years ago
- Status changed from Feedback to In Progress
updating the firmware in https://osmocom.org/issues/2471
Updated by lynxis almost 7 years ago
- Status changed from In Progress to Feedback
- Assignee changed from lynxis to pespin
voicecalls should work on the sierra as well on the ec20. Can you please run the osmo-gsm-tester with those modems?
Updated by pespin almost 7 years ago
- Related to Bug #2543: ofono: call removed+added during transition dialing->alerting added
Updated by pespin almost 7 years ago
- Related to Bug #2549: ofono: Race condition / failure answering call added
Updated by pespin almost 7 years ago
- Blocked by deleted (Feature #2197: osmo-gsm-tester: use MNCC interface)