How do you configure kannel to handle multiple ussd codes and sms shortcodes, how do you use them after the configuration?
Related
I use Kannel as SMS gateway - It works fine for me. I am connnected one operator and I provide SMPP COnnections to my clients. All works fine.
But now I need to filter the traffic based on the recipient number ie I need to be able to set a REGEX for the receipient and reject the SMS if it's supposed to be sent to those recipients.
Is this possible in Kannel? Any idea of how this can be done?
Thank you.
Core group configuration (i.e. bearerbox configuration) has parameters for white-list-receiver-regex and black-list-receiver-regex, those should do what you're looking for. That is, however, a system-wide setting, not a per-SMSC setting so it applies to all numbers through all SMSC connections.
I successfully installed JasminSMS on Ubuntu, added SMS provider informations such as hostname, port, user and password, but failed to receive test SMS using HTTP API:
http://127.0.0.1:1401/send?username=foo&password=bar&to=*********&content=hello
I'm writing my own number, but I don't receive it. What other configuration do I need to do?
In this scenario (you want to terminate an SMS message by using Jasmin's HTTP API) you need:
Jasmin SMS Gateway installed
An HTTP user configured in Jasmin SMS (this can be done in the included CLI)
An SMPP connector configured in Jasmin SMS to connect to an SMS service provider. The credentials will be supplied by your SMS vendor of choice.
A routing rule in Jasmin SMS Gateway to decide which SMPP connector to use
This is all well-documented here https://docs.jasminsms.com/en/latest/installation/index.html#sending-your-first-sms
If your HTTP API call is successful you'll receive an HTTP success code (200) and a GUID. Jasmin SMS then tries to deliver the SMS message via the SMPP connector (according to the routing rule configured). If your SMS message was not received you need to look into the used SMPP-connector to troubleshoot further. If the message has been accepted by the SMPP connector of choice you'll have to contact your SMPP vendor and ask them to look into the possible delivery issues.
An SMS vendor is basically a company with agreements to various operators & aggregators around the world specializing in delivering SMS messages globally (or locally of course depending on their focus) for a price.
make sure u enter the smsc creditntials on the smpp connector and mae sure it is started(smppccm -1 cid) and check its sessision if it is bound smppccm -l
I want to know how to send and receive SMS via PC modem over PSTN? Is there any application to do this for me or what's the protocol of this process?
If you are just trying to send SMS via your PC try Google Voice. It is free and it lets you send and receive SMS from a web browser.
You need an operator who supports fixed line SMS and you need a modem that can send the SMS such as:
http://www.ntstelecom.co.uk/SMSmodem.htm
An application which can send SMS's using a GSM modem and AT commands will probably be able to use the above, in place of the GSM modem, to send the SMS over the PSTN.
I may set up an SMS gateway using Kannel and a Huawei E220 GSM modem.
Now, my question is, is it possible for Kannel to detect extensions appended to the server's phone number in incoming messages (e.g. someone texts 12345#28 instead of 12345) and/or to send outgoing messages with such extensions appended?
Kannel supports deliver to recipient addresses with a '#' in them, but not by default.
By default Kannel's smsbox (HTTP I/F) has "0123456789 +-" as valid recipient characters. These can be extended to support '#' but setting
group = smsbox
...
sendsms-chars="0123456789 +-#"
That's all well and good but the key is does the underlying messaging layer you use for delivery support it also. For example when testing with a modem (kannel 'at' driver) - the modem returned an ERROR on the send command so it may also perform some addressing validation. Also when testing with kannel 'SMPP' connection to a provider the submit_sm request also returned an error. So Yes Kannel supports delivery to/from recipient/destination addresses formatted in that way - but that may be a moot point.
HTHs
Cheers,
Alan
Is it possible to get all the SMS forwarded to a mobile number? Is there any web service provider you know of?
Some (near) duplicates:
SMS API Suggestions
How do I design sms service ?
Receive SMS messages by web application
Free SMS API
What is the best way to handle incoming SMS messages?
plus others, if you search for SMS and incoming or receiving.