sip

Exception when trying to call(SIP)

拟墨画扇 提交于 2019-12-03 13:53:45
I'm developping a SIP application, and when i want to call someone(with its identifier configured in the server) i have a NullPointerException => "Error when trying to close manager." Here is the code: public void initiateCall() { updateStatus(sipAddress); try { SipAudioCall.Listener listener = new SipAudioCall.Listener() { @Override public void onCallEstablished(SipAudioCall call) { call.startAudio(); call.setSpeakerMode(true); call.toggleMute(); updateStatus(call); } @Override public void onCallEnded(SipAudioCall call) { updateStatus("Ready."); } }; call = manager.makeAudioCall(me

How can I make call between direct IP to IP without SIP Server

别来无恙 提交于 2019-12-03 13:28:07
Is there any way to make call by just dialing a local IP address? Simply an IP to IP call. How can I do this? What changes should I make in pjsip code? I don't want to register in any server or VOIP provider. The call will happen only in local WiFi, just like SJPhone applications do in Mac ( http://www.sjlabs.com/sjp.html ). You can happily make LAN-only calls with SIP - it is primarily a peer-to-peer protocol, after all. It's a standard part of SIP, in other words. It looks like pjsip already supports calling a SIP URI directly (as it should!) so you shouldn't need to adjust anything. Just

How to make an iOS VOIP/SIP Application with audio codec's only [closed]

六眼飞鱼酱① 提交于 2019-12-03 13:27:36
问题 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 6 years ago . Can any one help me out to clear my doubts i am trying to implement an SIP application, I already have sip server setup and i have the username and password of my sip account. Now I tried using PJSIP & SIPHON but somehow failed with lots of errors. Then I tried with LinPhone and it worked fine. Then copied the

VOIP using XMPP Framework in iPhone [closed]

假装没事ソ 提交于 2019-12-03 13:03:56
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 5 years ago . I am able to implement Facebook and Gmail chat with the help of XMPP Framework in my iPhone app. Wanted to know if its possible to implement VOIP(SIP) in a similar manner using XMPP. 回答1: You can use jingle framework.This is what jingle wiki says: "Jingle is an extension to the

How to start RTP stream inside a SIP/SDP call

柔情痞子 提交于 2019-12-03 12:42:46
问题 I've managed to set up a SIP call using the JAIN-SIP API for Java. Now I would like to stream some video once a dialog has been established. I've read that this is possible with SDP and RTP, and I've found multiple examples on how to define a SDP/RTP body in a SIP packet. But once you have negotiated capability etc. on nodes, how do you actually start the RTP stream? Do you start an RTP streaming server outside or inside your Java application? If so, how? What is the link? In what I'm able to

Incoming calls with SIP and WebRTC [closed]

Deadly 提交于 2019-12-03 12:33:23
Closed . This question needs to be more focused. It is not currently accepting answers. Learn more . Want to improve this question? Update the question so it focuses on one problem only by editing this post . I'm looking into implementing a browser-based VOIP solution that uses SIP and WebRTC and that connects to the PTSN. Basically, users give me their SIP credentials and I use WebRTC to acccess their microphone and speakers. On the page, I plan to run an SIP client. How do I implement the incoming calls coming from the PTSN? Do I need some sort of listener that connects to the SIP server of

py2app problems, getting errors

匿名 (未验证) 提交于 2019-12-03 10:24:21
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm trying to test out the functionality of py2app, for creating standalone mac applications. I generated a setup file for my test code, called 'hello.py'. """ This is a setup.py script generated by py2applet Usage: python setup.py py2app """ from setuptools import setup APP = ['hello.py'] DATA_FILES = [] OPTIONS = {'argv_emulation': True} setup( app=APP, data_files=DATA_FILES, options={'py2app': OPTIONS}, setup_requires=['py2app'], ) And I'm trying to make a simple app that just says hello world with a GUI. Here is the code for hello.py

SipManager.newInstance not working for android Gingerbread

佐手、 提交于 2019-12-03 10:06:29
I am trying to run a simple SIP program using android 2.3 emulator. When i am trying to create an instance of SipManager i get a return value as null(which means the SIP API isn't supported). Pls suggest how i can test SIP in emulator. I got this working for me thanks to the Issues list link below : http://code.google.com/p/android/issues/detail?id=13037 and the thing which worked for me is in sub link in this thread. How to enable SIP in Android 2.3 emulator. Make the system partition writeable. Open a cmd window and enter these: emulator -avd -partition-size 128 adb shell mount -o remount,rw

Android VOIP application without access to internet

荒凉一梦 提交于 2019-12-03 09:53:42
问题 I need to develop the VOIP application between 2 android devices. As I know there is a SIP protocol used for this purpose but it requires registation to SIP server and access to internet for SIP signaling. Is any way to create VOIP application in android without internet access? 回答1: Of course it is possible! Why you would need the internet? As long as you are both connected to the same network that is fine! Below is the java and xml for a working app. On start up it will provide you with

No audio using native android sip library

匿名 (未验证) 提交于 2019-12-03 09:14:57
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: So I'm using the native sip library, and I can connect and register with the server just fine. And when I make the call, it hits a proxy that routes it to a regular phone call, then calls the number inputed. It will connect fine, and the phone on the other end receives the call, but there is no audio. I know the proxy can handle audio because there is an iPhone app hitting the same server and it connects just fine. Here's my code for making the call : public void makeCall(String s) { SipAudioCall.Listener listener = new SipAudioCall.Listener