Closed spicyramen closed 7 years ago
@spicyramen Ahh shoot. Thanks for catching this :)
Yeah so the docs needs to be updated to mention that you need to explicitly load an app using Originator.load_app()
(this was changed somewhat recently). Depending on what you're trying to accomplish you'll most likely want to load the Bert
app for stress testing. If you're looking to use the originator as an auto-dialer then you'll probably want something custom. If it's the latter I can get the example auto-dialer more polished up for use.
So what you'll need it something like:
from switchy import get_originator
from switchy.apps.bert import Bert
originator = get_originator(['104.236.160.2'])
originator.load_app(Bert)
# .. other config steps ..
originator.start()
Let me know if that works for you and I'll try to update the docs by end of day.
Worked now. Thank you
@spicyramen If you find anything else let us know we'd appreciate the feedback :)
I'm using the tutorial: https://switchy.readthedocs.io/en/latest/callgen.html
Trying to generate a call, but keep getting "No apps have been loaded" error.