[asterisk-users] ARI libraries?

Jean-Denis Girard
Sun, 21 Jul 2019 01:07:00 -0000

Le 20/07/2019 à 12:21, Tony Mountifield a écrit :
> What is the bug with channel variables? Do you have a fix for it?

Channels variables caused an error, my fix is in aioswagger11/client.py
(line 80) :
                elif param['paramType'] == 'body':
<                    if not data:
<                        data = {}
<                    data[pname] = value
>                    if isinstance(value, dict):
>                        if data:
>                            data.update(value)
>                        else:
>                            data = value
>                    else:
>                        raise TypeError("Parameters of type
'body'
require dict input")

I know, I should fork and make a pull request...


Best regards,
--
Jean-Denis Girard

SysNux                   Systèmes   Linux   en   Polynésie  française
https://www.sysnux.pf/   Tél: +689 40.50.10.40 / GSM: +689 87.797.527

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: OpenPGP digital signature
URL:
<http://lists.digium.com/pipermail/asterisk-users/attachments/20190720/a63a8c51/attachment.sig>