fstercq / freepybox

Manage your freebox in Python using the Freebox OS API
23 stars 31 forks source link

Add phone class #14

Closed lboue closed 5 years ago

lboue commented 5 years ago

Extract phone config using connection API

[   {   'gain_rx': 50,
        'gain_tx': 50,
        'hardware_defect': False,
        'id': 1,
        'is_ringing': False,
        'on_hook': True,
        'type': 'fxs',
        'type_id': 1,
        'vendor': 'unknown'},

    {   'gain_rx': 0,
        'gain_tx': 0,
        'hardware_defect': False,
        'id': 2,
        'is_ringing': False,
        'on_hook': True,
        'type': 'dect',
        'type_id': 1,
        'vendor': 'siemens_gigaset'}]