sip

PJSUA2 sip android native app

百般思念 提交于 2019-11-29 11:20:58
Here I'm developing an application using native android in ubuntu 14.04LTS eclipse adt for android. Build, configure, and make everything went perfect. After that I imported pjsua2 sample app into eclipse, I then added native library support but when I run on emulator it throws an error. The error log, 10-25 06:12:09.489: E/AndroidRuntime(1571): FATAL EXCEPTION: main 10-25 06:12:09.489: E/AndroidRuntime(1571): Process: org.pjsip.pjsua2.app, PID: 1571 10-25 06:12:09.489: E/AndroidRuntime(1571): java.lang.UnsatisfiedLinkError: Couldn't load libpjsua2.so from loader dalvik.system.PathClassLoader

Use SIP in iPhone app

戏子无情 提交于 2019-11-29 10:29:48
问题 I want to build an iPhone app which has the option to make calls over SIP (VoIP) but at this moment I have no idea how to start. Does anyone have some information about this topic, or maybe a demo project which I can use to implement the SIP functionality? Thanks in advance! 回答1: You could check out siphon. 回答2: For this project you'll need a SIP server to handle SIP requests from the iPhone clients. Yes, not so simple is it? There are open source SIP implementations (like this one) which you

How to send instant message via SIP

随声附和 提交于 2019-11-29 06:18:02
I have a windows desktop application, made by my mobile network provider, that does all kind of things with SIP: call, send message, etc. Screenshot of how does this app successfully send MESSAGE (the last 4 lines): MESSAGE request, from desktop application, is sent as (4th line from behind) : MESSAGE sip:FROM@DOMAIN SIP/2.0 Via: SIP/2.0/UDP LOCALIP:2112;branch=z9hG4bK-d8754z-905183245f478c76-1---d8754z-;rport Max-Forwards: 70 To: "TO"<sip:TO@DOMAIN> From: "FROM"<sip:USERNAME@DOMAIN>;tag=63088d09 Call-ID: NGVhMDJhYzQwNmExOTQyNThmNjc5OGNmOTViNDUyYWM. CSeq: 2 MESSAGE Allow: INVITE, ACK, CANCEL,

MAC上安装Fuse for macOS以支持读取NTFS格式的移动硬盘

只愿长相守 提交于 2019-11-29 06:12:45
问题描述: Mac电脑出厂设置为只能读取但是不能写入NTFS格式的移动硬盘。使得在日常使用中存在很大的不便。 研究过程: 由于Mac不能写入NTFS格式的移动硬盘,为解决这个问题,在网上找了一些资料。有人说Mac本身可以支持写入,不过因为相关的版权问题。Mac在出厂时被设置为不能写入NTFS格式的硬盘。也有说后续版本可能直接设置为不支持写入NTFS格式了。 有些资料给出了指导方法,是通过终端使用命令行进行一些设置。不过看着方案中给出的步骤较为多,而且感觉里边的命令好像有点危险。所以没太敢照着做。 后来发现了有人推荐了收费软件比如 NTFS for Mac 、 Tuxera NTFS for Mac 、 Paragon NTFS for Mac 等。有段时间也考虑过花点钱买个软件省的操心了。后来在网上也看了一些人讲这几个软件好像也有点问题。然后又考虑到平时实际上使用移动硬盘的几率也不太高。买软件也不太便宜。所以最后没有买。 解决方案: 后来在网上搜索解决方案,发现了一个看起来比较靠谱的。照着这个进行了操作,最终取得了成功。 新买的移动硬盘该格式化为 NTFS 还是 exFAT? - Natumsol的回答 - 知乎 点击第一步回答中给出的网址链接 Fuse for macOS (开源免费的) 点击 Downloads 跳转到 Fuse for macOS 的下载链接,如图所示,选择

ios pjsip - play a sound during sip call

試著忘記壹切 提交于 2019-11-29 05:22:17
When I am on sip call, sometimes I want to send dtmf digits. To do this I created a custom dial pad which when a key is pressed should play a sound of that key, but it is not playing that sound during a sip call (when there is no call, sound is played). These sounds are played with functions from AudioToolbox.h library ( AudioServicesPlaySystemSound(soundID) ). Is there some property that I need to set up in pjsip (pjsua) or in AudioToolbox library to enable a sound be played during a sip call? I know this is possible ( Bria has this, Groundwire also, not sure if they are using pjsip to

iOS 直播类APP开发流程解析

纵然是瞬间 提交于 2019-11-29 03:42:21
1 . 音视频处理的一般流程: 数据采集→数据编码→数据传输(流媒体服务器) →解码数据→播放显示 1、数据采集: 摄像机及拾音器收集视频及音频数据,此时得到的为原始数据 涉及技术或协议: 摄像机:CCD、CMOS 拾音器:声电转换装置(咪头)、音频放大电路 2、数据编码: 使用相关硬件或软件对音视频原始数据进行编码处理(数字化)及加工(如音视频混合、打包封装等),得到可用的音视频数据 涉及技术或协议: 编码方式:CBR、VBR 编码格式 视频:H.265、H.264、MPEG-4等,封装容器有TS、MKV、AVI、MP4等 音频:G.711μ、AAC、Opus等,封装有MP3、OGG、AAC等 3、数据传输: 将编码完成后的音视频数据进行传输,早期的音视频通过同轴电缆之类的线缆进行传输,IP网络发展后,使用IP网络优传输 涉及技术或协议: 传输协议:RTP与RTCP、RTSP、RTMP、HTTP、HLS(HTTP Live Streaming)等 控制信令:SIP和SDP、SNMP等 4、解码数据: 使用相关硬件或软件对接收到的编码后的音视频数据进行解码,得到可以直接显示的图像/声音 涉及技术或协议: 一般对应的编码器都会带有相应的解码器,也有一些第三方解码插件等 5、播放显示: 在显示器(电视、监视屏等)或扬声器(耳机、喇叭等)里,显示相应的图像画面或声音 涉及技术或协议:

How to fragment H264 Packets in RTP compliant with RFC3984

橙三吉。 提交于 2019-11-29 02:52:28
问题 I have the FFMPEG streaming baseline h264 video, which I have to encapsulate in RTP and send to SIP phones for their decoding. I am using Linphone with the h264 plugin for Windows and Mirial for the decoding progress. However, sometimes I get a huge frame size (3Kb ~ 9Kb) from the FFMPEG, which obviously doesn't fit in the MTU. If I send these frames "as is" and trusting IP fragmentation feature, some phones are able to play it well enough, but others choke and can't decode the stream. I

Python SIP library [closed]

依然范特西╮ 提交于 2019-11-29 00:44:47
问题 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 months ago . I need to write python application connect to trixbox that run as SIP server. But I not found any library that implement in python. I found SIP SKD at http://www.vaxvoip.com/ but it not support python. Can anyone suggest me an alternative to VaxVoip? Thank you. 回答1: There are Python bindings for the PJSUA API.

NGN学习笔记5——IMS技术

大城市里の小女人 提交于 2019-11-28 23:56:05
1.移动网络的发展--引子 20世纪80年代,商业性移动通信网络得到发展 第一代移动通信系统:TACS、NMT等模拟系统 第二代移动通信系统:GSM、IS-95、DECT、IS-136等数字系统,目前建设的2G移动网络使用两种主要技术,GSM网络使用TDMA技术,大约占70%,IS-95网络基于CDMA技术,大约占25%。 1992年开始对3G移动通信系统进行研究:R99、R4、R5、R6、R7、R8、R9…… 2G (GSM), 基于电路交换 2.5G (GPRS), 引入分组交换 3G时代的到来 1992年ETSI发起对即将到来的3G移动通信系统进行研究。采用2GHz附近的频率,支持多种空中接口: WCDMA——使用2GHz频谱的宽带码分多址接入 EDGE——用于GSM演进的增强数据传输速率 CDMA2000(1xRTT)——多载波SCDMA系统,用于在与IS-95相同的频带上建设CDMA网络 TD-SCDMA——由中国提出 支持分组数据业务,采用通用体系结构——UMTS(由3GPP负责制定),已有6个版本: 3GPP R99、R4、R5、R6、R7和R8 具体的: 3G (R99), 引入全新的UTRAN 3G (R4),电路域采用移动软交换 3G (R5), 引入IMS域 3G (R6),引入WLAN接入 3G (R7), 功能增强: CSI (Combination of

Python SIP library

淺唱寂寞╮ 提交于 2019-11-28 20:25:02
I need to write python application connect to trixbox that run as SIP server. But I not found any library that implement in python. I found SIP SKD at http://www.vaxvoip.com/ but it not support python. Can anyone suggest me an alternative to VaxVoip? Thank you. Jermiajab There are Python bindings for the PJSUA API. Twisted supports SIP. That's really cool You might want to have a look at Sippy . It's a B2BUA with a complete SIP stack implementation underneath (you could use just that). It's written entirely in Python, so it's pretty hackable. Sippy is implemented with Twisted but uses none of