Project

General

Profile

Bug #2240

Bug #2187: ofono: not all modems do what they should

ofono: voice calls are not implemented for any modem

Added by neels 7 months ago. Updated about 1 month ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Target version:
-
Start date:
05/05/2017
Due date:
% Done:

100%

Spec Reference:

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.

test-voicecall.tar.gz (95.2 KB) pespin, 08/02/2017 04:24 PM

ec20-sierra-voicecall.tar.gz (140 KB) pespin, 08/02/2017 04:59 PM


Subtasks

Bug #2471: update sierra 7304 to a voice firmwareClosedlynxis


Related issues

Related to OsmoGSMTester - Bug #2543: ofono: call removed+added during transition dialing->alerting Resolved 10/06/2017
Related to OsmoGSMTester - Bug #2549: ofono: Race condition / failure answering call Rejected 10/06/2017
Blocks OsmoGSMTester - Feature #2194: osmo-gsm-tester: add voice call test New 04/26/2017

History

#1 Updated by neels 7 months 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.

#2 Updated by neels 7 months ago

  • Description updated (diff)
  • Priority changed from Normal to High

#3 Updated by laforge 6 months ago

  • Assignee deleted (Osmocom Developers)

#4 Updated by laforge 6 months ago

  • Assignee set to osmo-gsm-tester

#5 Updated by neels 6 months ago

  • Assignee changed from osmo-gsm-tester to lynxis

#6 Updated by neels 6 months ago

  • Blocks Feature #2194: osmo-gsm-tester: add voice call test added

#7 Updated by pespin 5 months ago

  • Blocked by Feature #2197: osmo-gsm-tester: use MNCC interface added

#8 Updated by lynxis 4 months 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`.

#9 Updated by neels 4 months ago

  • Priority changed from High to Urgent

#10 Updated by lynxis 4 months 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.

#11 Updated by pespin 4 months ago

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

#12 Updated by pespin 4 months 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.

#13 Updated by lynxis 3 months 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,

#14 Updated by lynxis 3 months ago

When trying to create one of the sierra:
- try "ATD12345" => create a data call
- try "ATD12345;" => don't do anything

#15 Updated by lynxis 3 months ago

It looks that the sierra got the wrong firmware or nvram.

#16 Updated by lynxis 3 months ago

  • Status changed from Feedback to In Progress

updating the firmware in https://osmocom.org/issues/2471

#17 Updated by lynxis 2 months 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?

#18 Updated by pespin about 2 months ago

  • Related to Bug #2543: ofono: call removed+added during transition dialing->alerting added

#19 Updated by pespin about 2 months ago

  • Related to Bug #2549: ofono: Race condition / failure answering call added

#20 Updated by pespin about 2 months ago

I can successfully a voice call between 2 sierra modems, but I need to add a sleep(5) and other small issues as explained in #2543 and #2549

#21 Updated by pespin about 1 month ago

  • Blocked by deleted (Feature #2197: osmo-gsm-tester: use MNCC interface)

#22 Updated by pespin about 1 month ago

  • Status changed from Feedback to Resolved

Also available in: Atom PDF