Triggering USSD menu on receiving sms - ussd

Is there any way to send USSD menu on receiving sms from user mobile?.
When i am search in google i got following reference
https://github.com/Mobicents/ussdgateway
My question is
Whether i need to buy any api from mobile operator for sending USSD menu? or the software from mobicents is enough for delivering USSD menu. I know network operator support needed when i am dialing any USSD code like *123# to get USSD menu. here i am planning to send USSD menu on receiving sms form user mobile.

You will need an USSD Gateway (i.e: above mobicents ussdgw) to interrogate with the HLRs of mobile operators.
In your case, the USSDGW must have USSD terminating features to push push ussd menu to mobile phone.
The procedure shall be:
1. Receive the sms, then you know the MSISDN and sms content which help to know which service was required.
2. Based on MSIDN, you will retrieve the mobile's IMSI from network
3. Push ussd menu to mobile IMSI network.
The ussdgw will do steps 2,3 for you.

A lot of n/w components comes into picture.
You should have SMSC which can recieve the SMS from the user.
A application which will get this SMS and then wants to send a USSD Menu
A USSD Gateway capable of doing a USSD push.
The application after recieving the SMS, will have the MSC,IMSI,MSISDN of the subscriber
and hence push the USSD menu for the same using USSD Gateway.

A similar question has already been asked and answered on Stack Overflow. Though the solution is for C#, it can be easily replicated on other platforms too.
Some help could be found on this post too.
If you could provide more information, like target geography, type of service - then you might get better help.

Related

How send SMS without iMessage

I see how to send SMS with MessageUI ans it's work fine but I need send sms with an iPad cellular but it can't send without iMessage. Someone know if it's possible to send sms for all my phone numbers ?
You can't do it without MFMessageComposeViewController. Apple won't allow to send SMS without user interaction.
As per document
You must not modify the view hierarchy presented by this view controller. You can, however, customize the appearance of the interface using the UIAppearance protocol.
I've alternate solution of this, Alternative way can be Using web service API. Create a web service at server side that send a message to specific number(s) that accept numbers as parameters with request.(according to your requirement)
As using Web server or external sms provider can do it.
http://www.twilio.com/
http://www.nexmo.com/
https://www.tropo.com/

Sending text message SMS without user intervention

Is it possible to send sms via iphone without user intervention? I already know about MessageUI framework and MFMessageComposeViewController class, but this option requires user to click Send button when MGMessageComposeViewController is presented. I would like the device to automatically, without my help send a text message when certain conditions are met. (I have some sensors connected to the device)
No. You can only open a message ready to send but you cannot send it automatically.
If you want to be able to send sms without user's interaction, consider using some third party gateway. TextMagic provides nice api to send sms, but it is not free. At some point it charges you money. But, they have nice and simple api to use.
Look at this,
http://api.textmagic.com/https-api/textmagic-api-commands#send

How to receive sms on my ios app (workaround)?

I know i can't access the sms database of a ios device, but there's no workaround to achieve the same task using other tools?
My app must send an sms (which i do presenting the regular view of the ui message framework and asking the user to send it) and then receive a reply sms.
There's no way to receive this sms? There are online service or whatever can help me to do this?
No, the situation has not changed in recent years: there is no way to read any SMS (except if you're on a jailbroken device).
But one thing you can do is embed an URL in your reply SMS that the user needs to tap. You can then use an URL handler in your app to handle these. Like:
myapp://smsreceived?id=123&result=456
There's plenty of documentation on how to implement URL handlers.

Track whether iPhone user dialled USSD code

I am working on a app which requires call forwarding. As we know we can't dial USSD code programmatically in iOS, can we track whether a user dialled USSD code through iPhone or if possible, Is der a way to check whether SIM is used to dial USSD code?
Update1: M nt trying to call ussd programmatically but want to check whether user dialled it or not.For example, if we call USSD codes manually, can we check any logs or any class object variable which can help in finding out whether user dialled a specific USSD code
I don't think there is a way to do that on your app without using the private API.
To prevent users from maliciously redirecting phone calls or changing
the behavior of a phone or account, the Phone application supports
most, but not all, of the special characters in the tel scheme.
Specifically, if a URL contains the * or # characters, the Phone
application does not attempt to dial the corresponding phone number.
If your project is intended to be deployed outside of the App Store, you could use the CoreTelephony framework:
CTCallDialWithID(#"*100#", -1);
refer this link may be helpful you
dial USSD code from iphone programatically
Updated:
Sadly, Apple have disable the use of USSD codes from within the (legitimate) iPhone sandbox available to developers (via the open URL methods, passing in a tel://xxxxxx URL). This means that there won’t be any applications from your operators that will make it easy to retrieve and change network settings that can be released thru the app store – at least not until Apple change their mind about interactions with USSD codes.
referanced by ussd-codes-on-iphone

blackberry - need to receive sms within my application without notifying inbox (silently)

I'm developing a blackberry SMS appication.
Which needs to filter all incoming messages which have only with a specific keyword (ex - Starts with ABC).
The messages with this keywords will not allow goto the inbox.
Is it possible with messageListner ?
I got to know that this may be possible by invoke class. But i don't have a clear idea on this. Could anyboday help me on this ?
I don't think it's possible. RIM doesn't provide such function.
But there is another way to achieve this: turn on firewall in the system's option and filter all the sms, now system can't recieve notifications of sms while your application can. This is used in most sms firewall apps.

Resources