pjsip

VoIP using PjSIP : pjsua_acc.c SIP registration failed, status=408 (Request Timeout)

蓝咒 提交于 2019-12-08 12:32:56
问题 I am trying to run test VoIP program as given in http://www.pjsip.org/pjsip/docs/html/page_pjsip_sample_simple_pjsuaua_c.htm I am trying public SIP servers present at http://www1.cs.columbia.edu/sip/servers.html But I always get error message as 14:33:25.515 pjsua_acc.c SIP registration failed, status=408 (Request Timeout) I never used SIP before, I am not able to guess where the problem is. Is there any simple way to test SIP servers? Does anybody know public free SIP server that works?

error while building pjsip in linux

China☆狼群 提交于 2019-12-08 09:01:40
问题 I am getting following error while building pjsip as mentioned in this link. When I run the make command: In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/errno.h:28:0, from ../include/pj/compat/socket.h:131, from ../src/pj/ioqueue_select.c:38: ../src/pj/ioqueue_common_abs.c: In function ‘pj_ioqueue_recv’: ../include/pj/compat/os_auto.h:149:31: error: ‘EAGAIN’ undeclared (first use in this function) #define PJ_BLOCKING_ERROR_VAL EAGAIN ^ Edit: OS Name: Ubuntu 16.04 LTS && 64 bit

pjsua custom sdp

≡放荡痞女 提交于 2019-12-08 06:24:00
问题 I'm using pjsua to create simple SIP UA. I need to insert custom body (SDP) in outgoing INVITE requests. As far as I know, pjsua does not support custom SDP, and I need to use more low-level API to do it. But for now I have to find any rude trick/hack/hotfix to insert custom SDP in pjsua-generated INVITE. So that's the question: how could I do it? 回答1: The seemingly simple solution is to modify the pjsua source. The key is to create a pjmedia_session out of your custom SDP on code paths of

ios10 iphone5s voip siphon pjsip2.5.5 Error opening sound device

若如初见. 提交于 2019-12-08 01:44:43
问题 Someone could tell me why this happen? iOS10, iPhone5s, VOIP Siphon pjsip2.5.5. These issue was not appear every time,it came sometimes when you want to make call or answer call (add at:20161226). Error opening sound device: 14:06:03.137742 pjsua_aud.c ....Set sound device: capture=-1, playback=-2 14:06:03.137775 pjsua_aud.c .....Opening sound device (speaker + mic) PCM@16000/1/20ms 14:06:03.137837 coreaudio_dev. ......Using VoiceProcessingIO audio unit 14:06:03.147404 acquire_call enter,call

pjsip receive sms

北城以北 提交于 2019-12-07 04:42:44
问题 Anyone know any good examples on how to setup a pjsip client to receive messages. I can send messages from the client using: pjsua_im_send(sip_acc_id, &to, NULL, &msgbody, NULL, NULL); to any number. But I have no idea what to do to receive messages into the already registered sip account. Any info would be greatly appreciated. Note: I can only use pjsip and no other library. Edit: Some new stuff I found: http://trac.pjsip.org/repos/ticket/1070 http://www.pjsip.org/release/0.5.4/PJSIP-Dev

Two pjsua application at the same time on Android

我们两清 提交于 2019-12-07 03:04:26
I have two application, that uses pjsua. But I can not run both at the same time on a single android device. After running second application it crashes with exception: java.lang.Exception: Title: pjsua_transport_create(type, &tcfg, &tid) 06-26 14:49:56.355 Code: 120098 06-26 14:49:56.355 Description: Address already in use 06-26 14:49:56.355 Location: ../src/pjsua2/endpoint.cpp:1519 06-26 14:49:56.355 14:49:56.361 pjsua_core.c PJSUA state changed: INIT --> STARTING 06-26 14:49:56.355 14:49:56.362 sip_endpoint.c .Module "mod-unsolicited-mwi" registered 06-26 14:49:56.360 28512-28512/com

pjsip 2.5.5 build error

荒凉一梦 提交于 2019-12-06 22:30:50
问题 I'm trying to build pjsip for android with NDK r13b . Standard build like ./configure-android --with-opus=/home/user/pjsip/pjproject/opus-dev-lib works perfect. But i need several TARGET_ABI and all my tries to do it ends with configure-android error: compiler not found, please check environment settings (TARGET_ABI, etc) Commands as TARGET_ABI=armeabi-v7a ./configure-android --use-ndk-cflags --with-opus=/home/user/pjsip/pjproject/opus-dev-lib TARGET_ABI=armeabi-v7a APP_PLATFORM=android-21 .

Cocoapods : target has transitive dependencies that include static binaries when installing 'VialerSIPLib'

ⅰ亾dé卋堺 提交于 2019-12-06 20:24:55
问题 I'm trying to install an objective-c Wrapper for Jsip 'VialerSIPLib' and use it in my swift project here is my pod platform :ios, ’10.0’ use_frameworks! target 'EMedicalAdmin' do pod 'ObjectMapper', '~> 2.1' pod 'Alamofire', '~> 4.3' pod 'SwiftyAvatar', '~> 1.0' pod 'AlamofireImage', '~> 3.1' pod 'Eureka', '~> 2.0.0-beta.1' pod 'JSQMessagesViewController', :git => 'https://github.com/jessesquires/JSQMessagesViewController.git', :branch => 'develop' pod 'PKHUD', '~> 4.0' pod 'Firebase/Core'

ios10 iphone5s voip siphon pjsip2.5.5 Error opening sound device

陌路散爱 提交于 2019-12-06 10:52:22
Someone could tell me why this happen? iOS10, iPhone5s, VOIP Siphon pjsip2.5.5. These issue was not appear every time,it came sometimes when you want to make call or answer call (add at:20161226). Error opening sound device: 14:06:03.137742 pjsua_aud.c ....Set sound device: capture=-1, playback=-2 14:06:03.137775 pjsua_aud.c .....Opening sound device (speaker + mic) PCM@16000/1/20ms 14:06:03.137837 coreaudio_dev. ......Using VoiceProcessingIO audio unit 14:06:03.147404 acquire_call enter,call_id:2 14:06:03.233365 level:4,msg:14:06:03.233 pjsua_aud.c .....Opening sound device (speaker + mic)

VoIP calls doesn't work in different networks (Using PJSIP and Kamailio server)

旧城冷巷雨未停 提交于 2019-12-06 10:48:12
I have setup kamailio 4.2 on an azure instance as server and for client I am using PJSIP library for Android and iOS applications. The voice calls seem to work well when both the devices are connected to the same network, however, either of the device connects to a different network (or when both the devices are in different networks), they are able to register on SIP server, and even call can be triggered and accepted between both the devices but there is no audio heard on either end. * I have even setup rtpproxy. Can anyone please help me? Thanks in advance. Please check your IP address you