mirror of
https://github.com/danog/php-libtgvoip.git
synced 2024-11-26 11:54:44 +01:00
commit
3c4e54b661
6
main.cpp
6
main.cpp
@ -145,6 +145,11 @@ Php::Value VoIP::accept()
|
||||
return this;
|
||||
}
|
||||
|
||||
Php::Value VoIP::close()
|
||||
{
|
||||
deinitVoIPController();
|
||||
return this;
|
||||
}
|
||||
|
||||
void VoIP::__wakeup()
|
||||
{
|
||||
@ -550,6 +555,7 @@ extern "C" {
|
||||
voip.method<&VoIP::discard>("__destruct", Php::Public | Php::Final);
|
||||
voip.method<&VoIP::discard>("discard", Php::Public | Php::Final, {Php::ByVal("reason", Php::Type::Array, false), Php::ByVal("rating", Php::Type::Array, false), Php::ByVal("debug", Php::Type::Bool, false)});
|
||||
voip.method<&VoIP::accept>("accept", Php::Public | Php::Final);
|
||||
voip.method<&VoIP::close>("close", Php::Public | Php::Final);
|
||||
voip.method<&VoIP::__construct>("__construct", Php::Public | Php::Final, {
|
||||
Php::ByVal("creator", Php::Type::Bool), Php::ByVal("otherID", Php::Type::Numeric), Php::ByVal("InputPhoneCall", Php::Type::Array), Php::ByRef("madeline", Php::Type::Object), Php::ByVal("callState", Php::Type::Numeric), Php::ByVal("protocol", Php::Type::Array)
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user