From 9d3c8b8a3076e9baa1985a62838cbc9aa4d5f96f Mon Sep 17 00:00:00 2001 From: klonfish Date: Sat, 1 Aug 2015 23:38:24 +0200 Subject: [PATCH] Cut prefix from dialed number before calling it --- phoneinterface.py | 1 + 1 file changed, 1 insertion(+) diff --git a/phoneinterface.py b/phoneinterface.py index 2b19688..9582b2a 100644 --- a/phoneinterface.py +++ b/phoneinterface.py @@ -159,6 +159,7 @@ class PhoneInterface(object): # Try to resolve prefix for p in self.__config.proxies: if number.startswith(p.prefix): + number = number[len(p.prefix):] number += '@' + p.realm break self.__core.invite(number)