简体   繁体   English

简单的饮酒

[英]samplecsipsimple sip

I am looking over csipsimple app - uses sip calls, registers. 我正在查看csipsimple应用-使用sip调用,注册。 I also found samplecsipsimple that registers a sip client to the a sip server using the csipsimple as a library. 我还发现了samplecsipsimple,它使用csipsimple作为库将sip客户端注册到sip服务器。 I would like how to create an outbound call and imbound call on wifi using csipsimple as a library? 我想如何使用csipsimple作为库在wifi上创建呼出电话和呼入电话?

Need some help. 需要一些帮助。 Appreciate 欣赏

Since CSipSimple uses a wrapper for pjsua, you should take a look at simple-pjsua program. 由于CSipSimple使用pjsua的包装器,因此您应该看一下simple-pjsua程序。 And since there is no callback mechanism in Java, you wont be able to use the callbacks (such as on_call_state). 并且由于Java中没有回调机制,因此您将无法使用回调(例如on_call_state)。 so what you need to do is to extend the Callback class and override all of it's methods. 因此,您需要做的是扩展Callback类并覆盖其所有方法。 Look in the code how it is done. 查看代码是如何完成的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM