Kannel Monthly Report for Sent SMS - kannel

I have kannel installed in Ubuntu.
Is there any way i can get report for number of sms sent via kannel? (preferably successful sent sms, because sometimes it shows GENERIC error in some sms, so i need to see report how much sms was sent on last or current month?)

You can use SQLBOX in between BEARERBOX and SMSBOX, then all sms (MO,MT,DLR)will be logged in database with timestamp
<smsc>-----<bearerbox>-----<SQLBOX>------<smsbox>

If you want to see the rate that Kannel sends msgs per minute you can use the following:
cat /var/log/kannel/access.log|grep "send-SMS request added"|cut -d ":" -f 1,2|sort|uniq -c

Related

SMS Delivery Reports

If you sent out an SMS message from a SMS Gateway, will send it to the mobile network so how we get the perfect result for SMS delivery..? they send us the number of successfully send message but not in detail like sent Successful on this numbers and for this number are failure
It totally depends on what SMS gateway you use, what destinations you send to (even within a country there are differences between operators)
You have 3 options really, and these are country/SMS route dependant:
No DLR support
Network DLR (so you get updates if the NETWORK has received the SMS)
Handset DLR (you will get updates if the HANDSET has received the SMS)
The handset DLR is the most reliable, but in general, depending on DLR for delivery stats is not something you want to do too much. Operators fake these (antispam measures), SMS route suppliers sometimes fake them to be able to offer lower pricing (by not submitting 10% of the messages for example), etc.
Only way to be sure if an SMS is delivered is by using testing services.
There are a number of them around. If you use services like Messagebird or BudgetSMS.net, you can get the DLR updates pushed to your server, for further processing on your end (they are linked to the sent SMS itself)

Clickatell tells that SMS a successfully sent to gateway but messages are not delivered

I'm trying to establish SMS sending with Node.js via Clickatell.
I've already tried the way described here: https://www.clickatell.com/developers/api-documentation/nodejs/
And both REST and HTTP requests from here (topics "How do I test my HTTP integration?" and "How do I test my REST API integration?"): https://www.clickatell.com/faqs/product-specific-faqs/platform/integration-testing/
In "SMS integration" area for both HTTP and REST APIs delivery type been set to: "Time critical delivery".
And i'm sending messages to number, that is in "test phones" list.
All the messages, I've sent to the server, are visible in "Reporting" area. But all them are stuck in "Delivered_to_gateway" status.
What i'm doing wrong?
UPD:
So, first message is finaly delivered to cell phone. After almost one and half hour of waiting.
I've also tried to send message to another phone with another cell operator ("Mobile network: Beeline (KB Impuls, VimpelCom)"), and it delivered in a minute or two.
So, detailing my question: it seems Clickatell have some kind of problems with delivering messages to "Mobile network: MTS (Sistema, Prim Telefon)". Can it be fixed somehow?

Need to send sms alerts for services monitored in xymon monitoring tool

I have a xymon server as a monitoring tool. I want to send sms alerts for any process check fails for eg: if disk utilisation is higher than 90% then it should send a alert in sms to the recipient .
I already have a sms gateway which can send sms alerts.But i need to integrate it with the xymon. To use sms gateway we can use something like:
curl http://url=sms&api_key=key&format=json&to=contact_numsender=sender_name&unicode=1 --data-urlencode message=msg_to_be_sent
so here in message i need to add the message which xymon detects as in color yellow or red and it should send sms after recovery of the alert as well.
Its working fine with the emails. And the server on which xymon server is installed is on the cloud.
To send SMS alerts with your Xymon server, you could use our program PageGate. PageGate allows you to send SMS by TAP, Internet (SMTP, WCTP and SNPP) and cellular hardware (cellular modems, routers and gateways) and can be easily integrated with Xymon Monitor with the following steps:
https://www.notepage.net/xymon/how-to-integrate.htm
Our documentation can be found here:
https://www.notepage.net/manuals/pg/v8/server/html/index.html
The steps to install PageGate can be found in the 'Installation' section.
Information on how PageGate can be configured to deliver SMS can be found in the 'How PageGate Sends Messages' section.

Can I Show The Source SMS Phone Number?

Is it possible to send an SMS or MMS message from a server through a service such as Twilio and set the source 10 digit number as desired?
For example, a delayed message system where someone wants to send a text at a scheduled time, they would enter their phone number, the message, destination number and target delivery date & time.
That information is stored on the server, then, at the specified time, sent through a service such as Twilio. The desire is the recipient should receive the message just as they would have if it was just sent by the sender direct.
The desire is to allow the recipient to respond back to the originator of the scheduled message directly as if it was live in real time and not delayed.
Twilio developer evangelist here.
With Twilio it is only possible to send SMS messages using a Twilio number that you've bought or an alphanumeric sender ID, that is a string up to 11 characters long that starts with a letter.
Spoofing numbers or business names is not allowed.

Stateful SMS Gateway Utility

I have installed Kannel as my SMS gateway service on my Server.
And it's running at a long time ago.
Basically, the default sms long text is 140 chars.
And i want to make it two step sending message, i mean i can send text message twice and sms gateway hold my first session (Stateful).
It impossible to replace production with the newest technology.
Cause right now, it just stateless. I send message and sms gateway just pass through it.
I think i need third party engine that can hold and manage sms sending session.
But i don't know, what that engine is. Cause it send as SMS message.
Any idea?
Thank you very much :)

Resources