Connecting twice with twisted - how to do that correctly?

后端 未结 4 2008
一生所求
一生所求 2021-02-09 15:42

I want to use twisted (and StarPy which is a protocol implementation for asterisk ami) to connect to an asterisk server. The application initiates a outgoing fax there. I found

4条回答
  •  难免孤独
    2021-02-09 16:35

    You can't restart the reactor. In other words, you can call reactor.run() only once.

    Instead can do everything you need in one reactor run.

提交回复
热议问题