Cut prefix from dialed number before calling it
This commit is contained in:
parent
8417b33371
commit
9d3c8b8a30
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue