Override diverterUri() function
This commit is contained in:
@@ -138,7 +138,7 @@ open class Call(val callp: Long, val ua: UserAgent, val peerUri: String, val dir
|
|||||||
return Api.call_replaces(callp)
|
return Api.call_replaces(callp)
|
||||||
}
|
}
|
||||||
|
|
||||||
fun diverterUri(): String {
|
open fun diverterUri(): String {
|
||||||
return Api.call_diverter_uri(callp)
|
return Api.call_diverter_uri(callp)
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -215,6 +215,8 @@ open class Call(val callp: Long, val ua: UserAgent, val peerUri: String, val dir
|
|||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
override fun diverterUri(): String = ""
|
||||||
|
|
||||||
override fun duration(): Int = 0
|
override fun duration(): Int = 0
|
||||||
override fun stats(stream: String): String = ""
|
override fun stats(stream: String): String = ""
|
||||||
override fun state(): Int = 0
|
override fun state(): Int = 0
|
||||||
|
|||||||
Reference in New Issue
Block a user