voip

How to get all dialer events from Asterisk REST API (ARI)?

烂漫一生 提交于 2019-12-05 12:28:39
I'm making a web application which should be able to monitor calls on my Asterisk server. I can connect to ARI with Javascript WebSocket on URL ws://(host):8088/ari/events?app=dialer and it works. The problem is that I only get events from calls that are made over ARI. Calls made from other clients like Zoiper are not registered. On the other hand, Asterisk has AJAM which uses long polling on http://(host):8088/rawman?action=waitevent and it registers calls from all the clients, (ARI, Zoiper and others) but there's only information who is calling (caller), not whom (callee). So, my question is

SIP, asterisk, adhearson and VoIP

扶醉桌前 提交于 2019-12-05 08:07:21
问题 I'm trying to create a VoIP based IVR service that interacts with a web application. From what I understand, adhearson runs on top of asterisk. What else do I need to have on the server to satisfy the equation? I think I need a way for asterisk to connect to a voip account. I'd appreciate any help and/or phrases to google. 回答1: If you want to build your IVR quickly and easily you'd be better off looking at something like tropo.com (tropo's parent, voxeo, own adhearsion) or twilio.com, they've

Compile PJSIP 2.5 Library for all architectures

℡╲_俬逩灬. 提交于 2019-12-05 04:50:06
问题 To compile PJSIP library for iPhone device, I am using this code make distclean && make clean ARCH='-arch arm64' ./configure-iphone --enable-opus-codec make dep make This code allows me to install my app for single architecture only. To compile pjsip for all the architectures (armv7, armv7s, arm64, i386, x86_64), Which command or tool I can use 回答1: Steps to compile for all devices. compile for all devices separately merge with lipo eg. -create /libsrtp-arm64-apple-darwin_ios.a /libsrtp-i386

How to show double height green statusbar (In-Call) in foreground app on device?

我怕爱的太早我们不能终老 提交于 2019-12-05 04:03:41
There's a lot of questions here asking for displaying a red recording bar while in background. It's totally clear I should use AVAudioSession category AVAudioSessionCategoryPlayAndRecord for that. My question is how can I display a green In-Call bar (or at least red bar) in a foreground app when having an active VOIP call in my app? So I could return to call UI tapping a statusbar area, just like Whatsapp or Skype does. What I've already tried: voip and audio modes in UIBackgroundModes key in Info.plist + setCategory:AVAudioSessionCategoryPlayAndRecord + setActive as suggested in this SO

Error: No resource found that matches the given name (at 'theme' with value '@style/AppTheme')

大憨熊 提交于 2019-12-05 03:24:06
![give me error : ( ] i tryed every thing ... [2014-11-15 17:56:06 - LoginActivity] C:\Users\Different\workspace\LoginActivity\AndroidManifest.xml:15: error: Error: No resource found that matches the given name (at 'theme' with value '@style/AppTheme'). [2014-11-15 17:56:06 - LoginActivity] [2014-11-15 17:56:07 - LoginActivity] C:\Users\Different\workspace\LoginActivity\AndroidManifest.xml:15: error: Error: No resource found that matches the given name (at 'theme' with value '@style/AppTheme'). [2014-11-15 17:56:07 - LoginActivity] [2014-11-15 17:56:10 - LoginActivity] C:\Users\Different

java SDK for SIP softphone client

北城以北 提交于 2019-12-05 02:46:30
问题 I want to build a SIP client in java. A java class that will register with a SIP registrar and will be able to call another sip client. Any suggestions? 回答1: you can try my softphone if you want, it provides a very simple api. It's called peers: http://peers.sourceforge.net/ 回答2: Jsip is a good Java SIP client library. It is stable, RFC-conformant and follows JAIN SIP specification. http://java.net/projects/jsip 回答3: Try MjSip. I've played around with it, but never ended up with a final

Cancel Banner Notification in iOS8 Not Working

☆樱花仙子☆ 提交于 2019-12-05 02:22:08
问题 My title might not accurately depict my question, so I apologize. I have looked for a solution to creating this level of functionality but I am unable to find it. I am creating a VoIP application for iOS 8. When a user receives a call I am displaying a notification with a 12 second ringtone. While this notification is in progress if the call disconnects I want the Incoming Call notification to disappear and display a Missed Call notification immediately. This level of functionality is

Running a VOIP (PJSIP) service in the background

☆樱花仙子☆ 提交于 2019-12-05 02:08:47
问题 My app has just been rejected by Apple as it does not properly implement background running and it is a VOIP app using iOS. My odd code that kept it running was [self performSelectorOnMainThread:@selector(keepAlive) withObject:nil waitUntilDone:YES]; [application setKeepAliveTimeout:KEEP_ALIVE_INTERVAL handler: ^{ [self performSelectorOnMainThread:@selector(keepAlive) withObject:nil waitUntilDone:YES]; }]; Which I know is wrong I then followed the http://blog.dkaminsky.info/2013/01/27/keep

Abnormal behavior of speaker button on system provided call screen

喜夏-厌秋 提交于 2019-12-05 00:50:45
问题 We write VoIP application using CallKit and PortSIP and here is a problem is reproduced only on iOS 11.2.x. When user taps speaker button on CallKit provided screen system enables speaker but icon remains in disabled state. If user taps again system also turns speaker on and forgets about button. To disable speaker user should tap button twice. Has anybody met this bug? And what was your solution? (: Thanks. 回答1: The same issue has been experienced in the previous versions as well. So this is

Apple PushKit didUpdatePushCredentials is never called on iOS 9+

泪湿孤枕 提交于 2019-12-05 00:28:37
I am developing a VoIP app for iPhone. To receive calls, Apple developed PushKit so developers can send VoIP notifications using APNS. Everything was working fine on iOS 8. When I updated to iOS 9, the PKRegistryDelegate does not fire the method didUpdatePushCredentials after registration. Any ideas/suggestions? Enabling the "Push notification" flag from Project->Capabilities solved my issue. It's strange because it was working without it earlier. This reply maybe late but hopefully this helps someone. I had a hard time figuring this out. If you're running a newer xcode (I'm on xcode 9) then