Skip to content

Method "GetProperties" with signature "" on interface "org.ofono.SupplementaryServices" doesn't exist  #266

@masoodkamyab

Description

@masoodkamyab

Hi, I just start working with ofono and when I want to send USSD command.

when I use initiate-ussd <modem> I get this error:

Traceback (most recent call last):
  File "/home/pi/workspace/libs/ofono/test/./initiate-ussd", line 27, in <module>
    properties = ussd.GetProperties()
  File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 72, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 141, in __call__
    return self._connection.call_blocking(self._named_service,
  File "/usr/lib/python3/dist-packages/dbus/connection.py", line 652, in call_blocking
    reply_message = self.send_message_with_reply_and_block(
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.UnknownMethod: Method "GetProperties" with signature "" on interface "org.ofono.SupplementaryServices" doesn't exist

my list-modems :

[ /hfp/org/bluez/hci0/dev_97_E7_F5_A2_E4_0B ]
    Online = 1
    Powered = 1
    Lockdown = 0
    Emergency = 0
    Serial = 97:E7:F5:A2:E4:0B
    Interfaces = org.ofono.VoiceCallManager org.ofono.CallVolume org.ofono.Handsfree org.ofono.NetworkRegistration 
    Features = net 
    Name = Nexus 6P
    Type = hfp
    [ org.ofono.VoiceCallManager ]
        EmergencyNumbers = 118 110 08 911 000 112 999 119 
    [ org.ofono.CallVolume ]
        SpeakerVolume = 50
        MicrophoneVolume = 50
        Muted = 0
    [ org.ofono.Handsfree ]
        InbandRinging = 1
        EchoCancelingNoiseReduction = 1
        DistractedDrivingReduction = 0
        VoiceRecognition = 0
        Features = three-way-calling echo-canceling-and-noise-reduction voice-recognition release-all-held create-multiparty hf-indicators 
        BatteryChargeLevel = 5
    [ org.ofono.NetworkRegistration ]
        Status = registered
        Mode = auto-only
        Name = SomeThing
        Strength = 100

Got that I didn't have a org.ofono.SupplementaryServices in my Interfaces so how can I add this to my interfaces?

Thanks a lot

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions