I want to develop an app with VoIP and sip. I have found a good example from Microsoft sample is ChatterBox VoIP sample app
From this app we can receive or make audio or video call to some one.But I can not call to another number.
In this document VoIP apps for Windows Phone 8
the incoming call is possible through Microsoft Cloud server. It will push a notification to our phone.
I have also found some third party SIP clients for Windows Phone 8 like LinPhone and PJSIP but they are not providing how to use that thing
Now my questions are :
1) How can I integrate SIP client to this ChatterBox example or How can I call to another number?
2) Can it is possible to user other that Microsoft Cloud server means can I use my own server to push call to my app?
3) In ChatterBox example there is a default incoming call. How can I call from another to my number / my app ?
Thank You.
ChatterBox is just a framework for what a SIP App could be, it shows you Background Process code and also Scheduling Tasks and Push notifications.
If you want to be able to make SIP calls, you need to download the src code of a sip library like PJSIP which works very well.
Just run the code and call pjsua methods, they encapsulate the functionality quite well.
Related
Is it possible to send notifications(toast, tiles, raw) from a server and receive it from Windows Phone 8.1 not using Azure Account(Notification Hub). I saw examples using 8.1 silverlight but I could not implement within WP 8.1.
If yes, can you explain simply how, or suggest a document?
Yes it is possible you can create your own web service desktop app to do this.
Here is an article from MSDN that explains how...
https://msdn.microsoft.com/en-us/library/windows/desktop/hh868252.aspx
There are quite a few things you need to setup such as WNS etc.
It is not necessary to using Azure. You can implement your own notifications server but you should understand how it works first, it's a little bit complicated :) - there is an overview for WP8.1 (Windows Runtime).
In short:
Your server must be authenticated with Windows Notification Service (WNS): How to here
Your WP8.1 app must obtain notification channel (Uri) from Windows Notification Service (WNS) and send it to your server.
Your server should send REST request (POST) with special xml content to channel (Uri) received from your app (WNS mediates in communication).
In last step WP app handles notification.
More info about communication with WNS on your server side: https://msdn.microsoft.com/en-us/library/windows/apps/hh465435.aspx
It's your decision in which technology/platform you'll code it.
But there are several solutions provided by third-party push notifications providers. Eg. Parse - you can send some notifications for free. You'll avoid the problem of creating your own service.
I am attempting to create a hardware device that sends data to the windows phone via headphone audio jack.
I have researched this and found that the Core.Audio api on the msdn site offers what I need however I don't think / cant find this in the windows phone API's
Is this available to developers?
Obviously someone has access to this because I have seen some companies use it for credit card processors.
The audio APIs you'd need to do this are not included in the standard Windows Phone 8 SDK.
Other apps that are using functionality like this must be using other 3rdy party libraries or have [re]written the functionality themselves.
I have a WCF service which exposes SOAP and REST endpoints and we have WPF,Android,Windows Phone(in future),ASP.NET applications on top of our WCF service, so many users can use many apps from different parts of the world.
Right now we have a big issues with the freshness of data we are using some old school polling techniques to look for the updated data, is there a way to create a system which push data to the connected apps regardless of the platform and location if any data update occurs on the server from any application.
I have already looked into the Duplex Callbacks but that is not possible with android and has some other limitations.i also know about the GCM for android but dont know how to make it working with other platforms apps.
GCM only works for Android devices. There are similar push notification services for Windows Phone and iOS. There are several solutions such as PushSharp and Windows Azure Mobile Services, which allow you to push notifications to several devices.
As for what to use the push notifications for. I strongly suggest not to use them to push data, as you cannot always be 100% sure if the notifications ever reach the device. Hence only use them to notify the client about new data is available, and then fetch it. Use push notifications along with polling.
It is not entirely clear what your application does, hence I do not know when and how often you need the new data. Just keep in mind that iOS for instance does not allow using a permanent background service, like Android and Windows Phone does, however the WP one does only allow for updates every 30 minutes.
I have a project wherein i have to create a windows mobile app which synchronize files between two windows phone, provided that the connectivity between two phone should be through WiFi.
Being new to this app development field , i have no idea on where to start and where to look. Is there any sample application present to sync data between two phones without involving any database. And what API should i use. i referred to some tutorials on this website.
This won't be possible without a server between both phones. Microsoft is very restrictive and won't let you access the WiFi connection. Actually you would have to use one of the phones as a WiFi hotspot and the other one as client and this is definitely not possible with an WP app.
I would recommend to write a Windows Service (have a look at WCF) which both phones connect to. This service would have to do all the work which would be:
Wait for phone requests to work with them
Handle the request when a phone wants to synchronize data
Let the second phone know that there are new data to receive
Transfer data to the second phone
Actually there will be more requirements for such a service (e.g. security) you will have to deal with.
Yet, there is a solution because Rudy Huyn connected several Windows phone using the connection Wifi without server http://www.youtube.com/watch?feature=player_embedded&v=rl0VHkoOHTA
But I don't know how..
I want to make a desktop application trigger an event on a Windows Mobile 6 standard device (smartphone).
How can I make the smartphone and desktop communicate?
Where can I find some code examples of this? I'm using C#...
To clarify:
It will not be docked with USB. I would like to use WLAN.
I want to trigger an event within my application that is already running on the smartphone.
One solution is to use RAPI. If you do so, then have a look at RAPI communication library at OpenNETCF. This is a C# wrapper for the SDK functions.
With RAPI you can do the following:
Copy files from desktop to mobile device and vice versa
Initiate a process at the mobile device from the desktop
I suppose it would be difficult to have a message exchange mechanism using RAPI. It would be easier to use Bluetooth or Wi-Fi communication for this purpose. A nice example is this article at Code Project.
Is the smartphone docked via USB into this desktop? If so, look at RAPI (the 'Windows Mobile Remote API') which lets software on the desktop invoke APIs on the device. RAPI is documented in the Windows Mobile SDK.
You can use the RAPI APIs from the desktop. There is no direct "fire this event" type of call, but you can always create your own RAPI extension that would do it and call CeRapiInvoke. There is a free, open-source managed wrapper for the RAPI calls here.