X-Git-Url: https://git.ao2.it/fso-scripts.git/blobdiff_plain/8d8fcc5c72738c3052d477a9109331b59f0d2011..6a5a688bd26704a1de1288c5c635fa418d39e1ca:/fso-make-call.py diff --git a/fso-make-call.py b/fso-make-call.py index aec370e..0dc936e 100755 --- a/fso-make-call.py +++ b/fso-make-call.py @@ -4,6 +4,9 @@ import sys import time import dbus +from dbus.mainloop.glib import DBusGMainLoop +DBusGMainLoop(set_as_default=True) + def onCallStatus(sender = "", *args, **kwargs): status = str(args[0]) if (args[1].has_key("peer")):