How to add text to sender ID in kannel -
i sending sms using (http:/ myip:13013/cgi-bin/sendsms?from=xxxx&username=kannel&password=kannel&text=testsms&to=9122222288) in kannel
i able send sms successfully. receive sms
sender : - xxxx
sms body :- testsms
in case sender id xxxx.
now want add own text sender id eg. xxxx - welcome kannel
so changes need in kannel configuration.
expected sms:
sender : - xxxx - welcome kannel
sms body : - testsms
your sender id you've specified in from
parameter in sendsms url, i.e., here: [...]from=xxxx&username=[...]
you don't need change kannel configuration change sender text, change value in url. have take account that:
- the value should url-encoded.
- it must between 3-11 alphanumeric characters (letters, numbers , underscore according gsm standard.) in practice other characters work 99% of time. in practice shorter sender ids work depends on sms gateway, recipient operator, , recipient phone.
- or can 15 digits if it's numeric, kannel treat phone number in international format (i.e., if it's phone number country code added in front.)
Comments
Post a Comment