I am developing a project where I need to initiate a phone call to the given no. If the contact doesn't receives the call I need to initiate another call for another user. So, how can I achieve this in J2me. Here I am using Lwuit's Display.getInstance().execute("tel:"+) method to initiate a call.
Thank you.
You cannot do anything other than initiate a call to the number at which point your application loses control of the phone. E.g. in Codename One we have Display.getInstance().dial(phone) in LWUIT you will need to use Display.getInstance().execute("tel://" + phone);.
Related
I'm creating a tool that can automatically call someone when I click a button.
So far, I've tested three solutions: The first one was using the rest API call, the second one was using node js SDK that is available in the Twilio console using the function & assets feature, and the last one was using Twilio Studio feature.
All of them are not giving me the satisfaction of creating something that can be used in production.
The main problem is the call status given to the StatusCallback url parameter.
For example:
if you set a timeout value by default or something higher than the duration of the ringing time, it will send you a completed status. The timeout value needs to be smaller than the maximum number of ringtone that your carrier set by default if you want to receive a no-answered status.
If your phone is on "airplane mode" and you make a call to it using Twilio, the statusCallback will be sent to the URL as "completed".
If you make the same phone call and imagine that the user rejects the call by clicking on the red phone instead of the green phone, the statusCallback will send you a completed status.
So it's been a week since I've coded a NodeJS solution using Twilio Functions, making POST requests using Postman, and also creating a flow to test it using Twilio Studio. Every time that I've tried those three solutions, with the three same scenarios described above, I've never been able to obtain a real valuable/informative status that can help me to resend the call until someone answers or, based on the status, send an SMS to the person to inform him that we have tried to call him and that he either was not available or rejected the call.
Has one of you already tested that and maybe succeeded in having anything else than a "completed" status? That is no use in case you need to handle those cases.
Thank you for your help.
How do I get access to the phone call log via c# in monoTouch? I want to be able to help my legal clients bill for calls received or made. So I need to be able to see the details of a call and institute a billing procedure soon after the call is made.
Any sample code out there? THANKS!
You can't. Apple doesn't expose any APIs for accessing the Phone logs.
As you can't access the phone logs through the SDK, one thing you could do is recreate the iOS phone app's functionality in your app as well, and have your client use that instead.
1) Your app would show contacts
2) Tap a contact to call
3) (Your app logs the contact and call time)
4) Pass the call off to the actual phone app
For this client project though, it might be easier to have them buy Android phones, and use Xamarin.Android. How do I access call log for android?
I'm trying to implement some click to dial functionality as follows:
A user finds a number on a webpage (say employee extension)
Clicking that extension will dial a phone number that I've picked
Upon answering that call, I am immediately "conferenced" into
calling the number I actualy wanted to dial.
I've done something very similar using a Twilio API but want to use our corporate Cisco Call Manager capabilities instead of paying per minute for this functionality.
The WebDialerSOAP doesn't seem to be able to give me this functionality. I think doing a conference would work but can't find anything to do that. Possibly an open source call manager wrapper?
why not a FreeSWITCH server alongside the CUCM? It can set up conferences, and it's one of themost programmable products with as much control over API as you want.
It has also an RTMP module, so you can actually run a Flash-based softphone out of your browser
Use TAPI3 or JTAPI
Connect the code using TSP, and Application user
use CreateCall function to the number from HTML page with implementing the trigger.
use CreateCall to the other phone.
use Finish(FINISH_MODE.FM_ASCONFERENCE) to complete conference.
I want to send direct message to more than one person with a single call
I am using MGTwitterEngine
and calling function like this
[requestDict setObject:#"direct_message" forKey:[twitterObj sendDirectMessage:#"this is test from iphone app" to:#"user_id"]];
this is sending ok
but am not able to send it to multiple people , how can I do this
I tried it with comma separated user_ids but not works
Thanks
Amit Battan
Regardless of whether MGTwitterEngine supports a call that looks like it allows you to send a direct message (DM) to more than one user, the Twitter API doesn't support a call like that.
The API method behind the scenes (direct_messages/new) only allows the authenticating user to send a DM to one user only. So, if the single call is working for you, just iterate over your list of Twitter users and send them the DM with the call you specified.
Also, you don't have to worry about rate limiting when sending a DM.
My idea is to make an application start automatically when a message from a specific user reaches the inbox of the mobile . For example if my friend sends some numbers to my mobile, the sms has to be read and validated first and then calculator ( inbuilt mobile application) has to be triggered and process the numbers from the message. Please help me with the above query.
I am far from convinced you will be able to give the phone user access to the same sms you use to launch your MIDlet.
You may need to use native development on the phones that support it if J2ME can't give you exactly what you need.
In any case, you probably want to try with J2ME first so you need to read the specifications for JSR-118 and its PushRegistry API, along with JSR-120, which interfaces with SMS.
Most current J2ME-enabled phones will support static SMS Push but you will need to send the SMS to a particular port, much like you would data over a standard library socket.
I don't think you can trigger on just any old SMS message arriving.
This is the class you want to look at, in any case:
javax.microedition.io.PushRegistry