supply call id to answer function
This commit is contained in:
parent
0fb653737e
commit
761fecf519
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
|
@ -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…
Reference in a new issue