supply call id to answer function

pylinphone
sqozz 2 years ago
parent 0fb653737e
commit 761fecf519

2
.gitignore vendored

@ -0,0 +1,2 @@
pylinphone/
*.swp

@ -142,7 +142,7 @@ class PhoneInterface(object):
self.__core.call(number)
def accept_call(self):
self.__core.answer()
self.__core.answer(self.current_call_id)
def decline_call(self):
self.__core.decline_call(self.__core.current_call)

Loading…
Cancel
Save