Replies: 1 comment
-
Pseudocode (unable to write a correct one right now) import greenswitch
fs = greenswitch.InboundESL(host='127.0.0.1', port=8021, password='ClueCon')
def callback(event):
print(event)
fs.stop()
fs.register_handler("Event", callback)
fs.connect()
fs.send("events plain all")
fs.process_events() |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello! Please tell me how to do something similar, but using your library? Unfortunately, due to lack of documentation, I was not able to implement this.
Beta Was this translation helpful? Give feedback.
All reactions