jain-sip

SIP ACK Dialog is null

你离开我真会死。 提交于 2019-12-06 08:21:52
I am creating a SIP client in java using JAIN SIP. I have managed to register and send INVITE but when sending the ACK back to the server I am getting error which says: Cannot Create ACK - no remote Target I checked the value of Dialog and it is null In the processResponce(), I get the value it is also null this.dialog = responseEvent.getClientTransaction().getDialog(); I pass it to ack(responseEvent.getResponse(), dialog) request =this.dialog.createAck(((CSeqHeader)response.getHeader("CSeq")).getSeqNumber()); dialog.sendAck(request); Also in the Register() and Call() this.dialog = inviteTid

Android-ready JAIN-SIP library?

烂漫一生 提交于 2019-12-05 12:22:37
Greets! I am developing (trying to develop) a VoIP SIP application for Android, and after two weeks of bickering with mjsip, pjsip and the sdk's libraries, I have settled on JAIN-SIP. The libraries look great, in theory. No need to learn any android native code, lots of documentation (yet not enough, since I'm here), etc. My first attempt was using the Android SDK's SIP libs (yes, I know they're based on JSIP), and it failed after the SipManager.open() refused to open the profile for communication with the server, with no exceptions or any sort of output to help me diagnose the issue. (If you

Difference between JAIN API and JAIN SLEE API

蹲街弑〆低调 提交于 2019-12-04 19:38:58
I was reading about SIP and found that there's an java API JAIN SIP to develop SIP based applications. Then I also found that there is JAIN SLEE and SIP servlets. I believe JSLEE and SIP Servlets are containers to deploy applications based on JAIN and SIP servlets respectively. Can some please explain. Also, please tell me which one is better to start with for learning. Thanks JAIN SIP is a java specification ( https://jcp.org/en/jsr/detail?id=32 ) for writing Java SIP applications in a standard and portable manner (between JAIN SIP vendors). JAIN SLEE is a java specification ( https://jcp.org

Android SIP stack - what to use? [closed]

一个人想着一个人 提交于 2019-11-27 11:36:06
I need to create use an SIP stack on Android, which will work with asterix and will give users the possibility to change codecs (i need to implement G729 and some other codecs). I'm new in this field (voice and codec), and every bit of information will be appreciated. In my research across the Internet, I found the following SIP stacks: PJSIP MJSIP JAIN SIP What do you recommend to use for a commercial program? Or you can recommend some other? For my particular situation, it must support the G729 codec. I would recommend also Doubango . It supports G729 as you would like, and there's an

Android SIP stack - what to use? [closed]

拥有回忆 提交于 2019-11-26 15:38:27
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 3 years ago . I need to create use an SIP stack on Android, which will work with asterix and will give users the possibility to change codecs (i need to implement G729 and some other codecs). I'm new in this field (voice and codec), and every bit of information will be appreciated. In my research across the Internet, I found