supply call id to answer function

This commit is contained in:
sqozz 2021-08-29 02:53:01 +02:00
parent 0fb653737e
commit 761fecf519
2 changed files with 3 additions and 1 deletions

2
.gitignore vendored Normal file
View file

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

View file

@ -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)