Browse Source

Cut prefix from dialed number before calling it

master
klonfish 9 years ago
parent
commit
9d3c8b8a30
  1. 1
      phoneinterface.py

1
phoneinterface.py

@ -159,6 +159,7 @@ class PhoneInterface(object): @@ -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…
Cancel
Save