Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error using for playDTMF #97

Open
starlessboi opened this issue Apr 13, 2021 · 1 comment
Open

error using for playDTMF #97

starlessboi opened this issue Apr 13, 2021 · 1 comment

Comments

@starlessboi
Copy link

Hi, I'm using this library for a while, thanks for your effort.
recently I tried using that for playing dtmf with action playDTMF
it plays beep sound but gives error as output, and code hangs, with this error:

Exception in callback _SelectorSocketTransport._read_ready()
handle: <Handle _SelectorSocketTransport._read_ready()>
Traceback (most recent call last):
File "/usr/lib64/python3.6/asyncio/events.py", line 145, in _run
self._callback(*self._args)
File "/usr/lib64/python3.6/asyncio/selector_events.py", line 721, in _read_ready
self._protocol.data_received(data)
File "/opt/qs_main/qs_mainenv/lib64/python3.6/site-packages/panoramisk/ami_protocol.py", line 72, in data_received
self.handle_message(message)
File "/opt/qs_main/qs_mainenv/lib64/python3.6/site-packages/panoramisk/ami_protocol.py", line 79, in handle_message
if response.add_message(message):
File "/opt/qs_main/qs_mainenv/lib64/python3.6/site-packages/panoramisk/actions.py", line 92, in add_message
multi = self.multi
File "/opt/qs_main/qs_mainenv/lib64/python3.6/site-packages/panoramisk/actions.py", line 71, in multi
elif msg.endswith('successfully queued') and self['async'] != 'false':
File "/opt/qs_main/qs_mainenv/lib64/python3.6/site-packages/panoramisk/utils.py", line 179, in getitem
return self._store[key.lower()][1]
KeyError: 'async'

would you please guide me through solving this issue?
thanks

@gawel
Copy link
Owner

gawel commented Apr 13, 2021

Looks like duplicate #88

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants