Syed Jahanzaib Personal Blog to Share Knowledge !

September 29, 2015

Sending SMS in URDU/ARABIC or other language via KANNEL

Filed under: Linux Related — Tags: , , — Syed Jahanzaib / Pinochio~:) @ 10:41 AM

u[OS = Ubuntu]

It is very easy to send SMS in URDU or ARABIC fonts using KANNEL as your gateway using &charset=UTF-8&coding=1  (in some cases its &charset=UTF-8&coding=2) code.

Just add the following in your /etc/kannel.conf file under SMSC section

 alt-charset= "UTF-8" 



Save & restart kannel service

service kannel stop
killall -9 bearerbox
service kannel start




To send SMS in URDU via browser / URL via KANNEL


Result Example:


You can get the urdu/arabic font by translating it via and copy paste the translated text.


To send SMS in URDU using Local FILE via KANNEL

Use any UTF converter tool /notepad /word etc, OR if you dont have one,  do it online via Converter TEXT to encoded

Paste your URDU text and hit Enter it will give you UTF8 encoded data,As showed here


Copy that data and paste it in any local file, example /temp/urdu.txt

Now use the below command from the Linux terminal to send this file contents via kannel in URDU ; )

curl "http://KANNELBOXIP:13013/cgi-bin/sendsms?username=kannel&password=KANNELPASS&to=03333021909&charset=UTF-8&coding=1" -G --data-urlencode text@/temp/urdu.txt

Result Example:file


Note: If you still receive SMS with ??? signs , then try with


جزاک اللہ

سید جہانزیب


  1. i have tried this, and it works well. but my problem lies using sqlbox, i am using sqlbox for send messages , so when i try to send message using my language using sqlbox it sends ????????????, some times when i change alt-charset under smsc in kannel configuration the results also change. so i need help o this


    Comment by kirubel — January 13, 2018 @ 3:49 PM

    • Have you get any solution for this


      Comment by SP — June 16, 2022 @ 4:57 PM

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: