X-Git-Url: https://git.ao2.it/fso-scripts.git/blobdiff_plain/8d8fcc5c72738c3052d477a9109331b59f0d2011..14466fa8ba2fb88bfcb03b0d78f8de6c28867d79:/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")):