def __init__(self, backend=None): """ Create a new instance of the VoipLib :param backend: (optional) if specified, it is used as the default VoipLib implementation """ if backend==None: from api_backend import VoipBackend self.backend = VoipBackend() else: self.backend = backend()