Override diverterUri() function

This commit is contained in:
Juha Heinanen
2026-05-12 21:37:42 +03:00
parent d3ffd26d20
commit 49d0ac73d1
@@ -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