Kannel is sending Arabic characters as question marks - sms

I connected my Ubuntu server to USB modem d-link
it works very fine in English but it sends sms in arabic characters as question marks
kannel send sms url that I use in my laravel code
http://192.168.1.30/cgi-bin/sendsms?username=nnn&password=nnn&to=mynumber&text=y&charset=utf-8&coding=2

add this to your link charset=UTF-8&coding=2&text=It%27s%20a%20miracle,%20it%20just%20work!

Related

Send and Read SMS through a GSM Modem using AT Commands from Websites

I working on a website which have function for sending SMS messages. What i know is the GSM modem use AT COMMAND to send/receive the message. I already have the modem but i can't find a way to sending the AT COMMAND from php script to the modem. Can someone give me a clear direction.
Many thanks.

send and receive SMS over PSTN

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.

Does CDMA support concatenation (long) SMS

Does CDMA support concatenated SMS?
If it is does which version of CDMA added support for it?
Which networks in the USA that use CDMA support concatenated SMS?
Thanks!
I wrote a blog post about this a while back:
https://www.smallbusinesstech.net/concatenated-sms/
Basically, Verizon only fully supports concatenated SMS within their own network. When sending out from Verizon to another network concatenated SMS works correctly. Concatenated SMS messages sent from another network to Verizon are delivered as individual SMS messages.
Sprint does not support concatenated SMS at all.
By "long" SMS, do you mean EMS? EMS is a series (varies by carrier), of SMS messages "stitched together". Your phone receives N messages and presents them to you as a single object.
However, as noted, this is both device and carrier specific. Your device is built to your carrier's specs for EMS. THe major US carriers support EMS, but the details vary.

Can Kannel use number extensions?

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

Receive SMS like a modem

I have an application which can only send SMS to a serial AT modem, but I want to send this SMS via an web service.
My idea is to connect a virtual software modem to the (virtual) serial port of the application and receive the SMS in software, then I would pass this SMS to the web API.
My problem is, that i nether find a software which can recieve SMS like a modem nor find a library which offers ability to act like a modem.
Any ideas?
Your existing application expects to connect to a serial port. That means you need some kind of virtual serial port. Google will give you perfectly usable hits for that term. Any of those libs should give you a character stream.
Parsing this stream should be fairly straightforward. You can toss out all modem initialization, and just focus on the SMS command. In theory, there's a "write" and a "send" command, but you can safely assume that a PC application will send any SMS that it writes. It's not like PC's make typo's. Hence, you just need to parse the AT+CMGW command; all other commands can get a standard OK response.
Grab the phone number and message from the AT+CMGW command, and pass it to the webservice. Done!

Resources