sip

Cisco visual message waiting indicator ( VMWI or MVI )

百般思念 提交于 2019-12-23 02:56:14
问题 How can I programatically illuminate Cisco IP Phones Visual message waiting indicator (VMWI or MWI) ? For sipwiz Answer: IP Adress 10.1.1.2 => is local IP in which I will send SIP Notify Message IP Address 10.1.1.9 => is IP Address of Cisco Phone that I will send SIP Message The Cisco Phone that I send SIP Message does "care" my messages, and I got exception while i try to get response messge from Cisco Phone :"An existing connection was forcibly closed by the remote host". Actully it does

Can you connect an SIP phone with Twilio Endpoint? If so, how?

半腔热情 提交于 2019-12-22 20:04:43
问题 I have an SIP phone system, based on the Linksys (Cisco) SPA942 telephones. I would like to take the existing PBX out of the equation and code a custom PBX for us using Twilio. I am familiar with Twilio and have coded many apps in the past, but the SIP functionality of Twilio is new to me. Anyways, I have setup a domain, the ACL, and User credentials. and I have edited the phones configuration to connect to the twilio endpoint. However, the device never registers with Twilio. It sits idle

SIP ACK Dialog is null

佐手、 提交于 2019-12-22 12:36:11
问题 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")

Parsing SIP message body

吃可爱长大的小学妹 提交于 2019-12-22 10:18:16
问题 I'm implementing SIP protocol and I'm stuck while parsing SIP message. I'm using the oSIP library. My code is like that: #include <stdio.h> #include <stdlib.h> #include <osip2/osip.h> #include <osipparser2/osip_parser.h> #include <string.h> void main() { int i,error; osip_message_t *message; char text[]="INVITE sip:jarsku@feanor.pc.lut.fi SIP/2.0\nCall-ID: 123456789@aradan\nVia: SIP/2.0/UDP 157.24.25.137:5060\nFrom: Arto <sip:athamala@feanor.pc.lut.fi>\nTo: Jari <sip:jarsku@feanor.pc.lut.fi>

How to build PJSUA2 (swig) with Visual Studio 2015

你离开我真会死。 提交于 2019-12-22 08:17:58
问题 I try to compile PJSUA2 for Python. I could manage to compile the source with Visual Studio 2015 Community edition. My question is, how can I install the Python module now? The guide suggests to use make and make install. I tried to install also minwg, but it is not working as the project was compiled with VS. I have also tried to compile with minwg, but I never could succeed due to undefined requirements. Also official PJSUA guide recommend to use VS for Windows. Following settings have been

No ringing event on incoming calls

℡╲_俬逩灬. 提交于 2019-12-22 06:16:30
问题 I don't know where is a problem. Listener doesn't catch onRinging event (so I can decide will I accept or reject incoming calls). in manifest is this: <uses-permission android:name="android.permission.USE_SIP" /> in main activity onCreate is this: IntentFilter filter = new IntentFilter(); filter.addAction("android.SipDemo.INCOMING_CALL"); callReceiver = new IncomingCallReceiver(); this.registerReceiver(callReceiver, filter); ... SipManager manager = SipManager.newInstance(this); Intent i =

SIP support for Cordova/Phonegap

自古美人都是妖i 提交于 2019-12-22 04:16:34
问题 Is there any possibility to use SIP in Cordova/Phonegap? I've not found any plugin, yet. Support for WebRTC is also not available (but planned in 2.x, according to their roadmap). 回答1: Supporting SIP or WebRTC on Android has nothing to do with PhoneGap / Cordova , even though they could be added as some extension but naturally they come with the browser provided to PhoneGap by the OS. Right now you need to look for external libraries to do that for you. You may add an extension to your

Adding chat and VOIP calls functionality? [closed]

戏子无情 提交于 2019-12-21 20:46:36
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 7 years ago . How can I create a chat-text/VOIP calls application using Android sdk? What are the available apis and sources? 回答1: It is part of the latest Android 2.3 release See http://developer.android.com/sdk/android-2.3

pjsip new-call error … Unable to find default audio device (PJMEDIA_EAUD_NODEFDEV)

馋奶兔 提交于 2019-12-21 20:39:19
问题 I get this error when I try to establish a new call from pjsip: pjsua_aud.c ..Error retrieving default audio device parameters: Unable to find default audio device (PJMEDIA_EAUD_NODEFDEV) [status=420006] Exception: Object: {Account <sip:192.168.0.2:54496>}, operation=make_call(), error=Unable to find default audio device (PJMEDIA_EAUD_NODEFDEV) I installed libasound2-dev : sudo apt-get install libasound2-dev , and recompiled pjsip, but still, it gives me the same result .. Am I missing

Failed to create SipSession; network unavailable and only reboot helps

折月煮酒 提交于 2019-12-21 20:12:43
问题 I am developing a simple application that allows user to initiate call using sip protocol. The problem is inability to create SipSession in some cases (e.g. deleting application with active sip-session, and installing it again). In this case, I am getting error: android.net.sip.SipException: Failed to create SipSession; network unavailable? And it works only after physical device reboot. My Sip class: public class SipDataManager { private Context context; private SipManager sipManager;