It is good idea! You can need to add the “Alpha Tags” function to convert the number to a word! What do you say to Anton about this proposal?
What is “Alpha Tags” ? Can you describe more about that.
anton
Alpha tags are a way for you to give your SMS messages a unique ‘sender’ name, which can include digits, text, and some special character
You meant “Alphanumeric sender ID” for outgoing SMS ? Its there since ages ago.
anton
Please tell me how to set it up! Thank you, Anton!
You need to use gateway that have the ability to use alphanumeric sender ID, gammu can’t do that
anton
With Dev Gateway I can use alphanumeric sender ID and what would you advise? Thank you very much!
It works on Kannel please check ton an npi setting with carrier.
Thanks for the tip, I will study
Hi Steven!
I specify in kannel.conf
source-addr-ton = 5
source-addr-npi = 0
directives in SMSC configuration field.
But can’t specify and not understand how configure carrier. Tell me, please. Thanks in advance.
Please share the kannel log.
Thanks for you reply Steven!
content of kannel.log:
2018-08-27 13:02:40 [2862] [0] INFO: Added logfile /var/log/kannel/kannel.log’ with level0’.
2018-08-27 13:02:40 [2862] [0] INFO: Started access logfile /var/log/kannel/access.log’. 2018-08-27 13:02:40 [2862] [0] INFO: HTTP: Opening server at port 13000. 2018-08-27 13:02:40 [2862] [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller) 2018-08-27 13:02:40 [2862] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to pid 2862. 2018-08-27 13:02:40 [2862] [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread) 2018-08-27 13:02:40 [2862] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run) maps to pid 2862. 2018-08-27 13:02:40 [2862] [0] DEBUG: Started thread 3 (gw/bb_http.c:httpadmin_run) 2018-08-27 13:02:40 [2862] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) maps to pid 2862. 2018-08-27 13:02:40 [2862] [2] DEBUG: HTTP: Including port 13000, fd 10 for polling in server thread 2018-08-27 13:02:40 [2862] [0] DEBUG: starting smsbox connection module 2018-08-27 13:02:40 [2862] [0] DEBUG: Adding smsbox routing to id for smsc id 2018-08-27 13:02:40 [2862] [0] DEBUG: Adding smsbox routing to id for smsc id 2018-08-27 13:02:40 [2862] [0] DEBUG: Started thread 4 (gw/bb_boxc.c:sms_to_smsboxes) 2018-08-27 13:02:40 [2862] [0] DEBUG: Started thread 5 (gw/bb_boxc.c:smsboxc_run) 2018-08-27 13:02:40 [2862] [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run) maps to pid 2862. 2018-08-27 13:02:40 [2862] [4] DEBUG: Thread 4 (gw/bb_boxc.c:sms_to_smsboxes) maps to pid 2862. 2018-08-27 13:02:40 [2862] [0] INFO: Set SMS resend frequency to 60 seconds. 2018-08-27 13:02:40 [2862] [0] INFO: SMS resend retry set to unlimited. 2018-08-27 13:02:40 [2862] [0] DEBUG: MO concatenated message handling enabled 2018-08-27 13:02:40 [2862] [0] INFO: DLR rerouting for smsc id disabled. 2018-08-27 13:02:40 [2862] [0] INFO: Added logfile/var/log/kannel/smsc-gsm1.log’ with level 0’. 2018-08-27 13:02:40 [2862] [0] INFO: AT2[gsm1]: configuration shows modemtype 2018-08-27 13:02:40 [2862] [0] DEBUG: AT2[gsm1]: Reading modem definitions from </etc/kannel/kannel.conf> 2018-08-27 13:02:40 [2862] [0] DEBUG: AT2[gsm1]: Found <1> modems in config 2018-08-27 13:02:40 [2862] [0] INFO: AT2[gsm1]: read modem definition for 2018-08-27 13:02:40 [2862] [0] DEBUG: Started thread 6 (gw/smsc/smsc_at.c:at2_device_thread) 2018-08-27 13:02:40 [2862] [6] DEBUG: Thread 6 (gw/smsc/smsc_at.c:at2_device_thread) maps to pid 2862. 2018-08-27 13:02:40 [2862] [6] INFO: Logging thread6’ to logfile /var/log/kannel/smsc-gsm1.log’ with level0’.
2018-08-27 13:02:40 [2862] [0] INFO: DLR rerouting for smsc id disabled.
2018-08-27 13:02:40 [2862] [0] INFO: Added logfile /var/log/kannel/smsc-gsm2.log’ with level0’.
2018-08-27 13:02:40 [2862] [0] INFO: AT2[gsm2]: configuration shows modemtype
2018-08-27 13:02:40 [2862] [0] DEBUG: AT2[gsm2]: Reading modem definitions from </etc/kannel/kannel.conf>
2018-08-27 13:02:40 [2862] [0] DEBUG: AT2[gsm2]: Found <1> modems in config
2018-08-27 13:02:40 [2862] [0] INFO: AT2[gsm2]: read modem definition for
2018-08-27 13:02:40 [2862] [0] DEBUG: Started thread 7 (gw/smsc/smsc_at.c:at2_device_thread)
2018-08-27 13:02:40 [2862] [0] DEBUG: Started thread 8 (gw/bb_smscconn.c:sms_router)
2018-08-27 13:02:40 [2862] [0] INFO: ----------------------------------------
2018-08-27 13:02:40 [2862] [7] DEBUG: Thread 7 (gw/smsc/smsc_at.c:at2_device_thread) maps to pid 2862.
2018-08-27 13:02:40 [2862] [0] INFO: Kannel bearerbox II version 1.4.4 starting
2018-08-27 13:02:40 [2862] [7] INFO: Logging thread 7’ to logfile/var/log/kannel/smsc-gsm2.log’ with level `0’.
2018-08-27 13:02:40 [2862] [8] DEBUG: Thread 8 (gw/bb_smscconn.c:sms_router) maps to pid 2862.
2018-08-27 13:02:40 [2862] [0] INFO: Loaded 0 messages from store.
2018-08-27 13:02:40 [2862] [0] INFO: MAIN: Start-up done, entering mainloop
2018-08-27 13:02:40 [2862] [0] DEBUG: AT2[gsm1]: start called
2018-08-27 13:02:40 [2862] [0] DEBUG: AT2[gsm2]: start called
2018-08-27 13:02:41 [2862] [5] INFO: Client connected from <127.0.0.1>
2018-08-27 13:02:41 [2862] [5] DEBUG: Started thread 9 (gw/bb_boxc.c:function)
2018-08-27 13:02:41 [2862] [9] DEBUG: Thread 9 (gw/bb_boxc.c:function) maps to pid 2862.
2018-08-27 13:02:41 [2862] [9] DEBUG: Started thread 10 (gw/bb_boxc.c:boxc_sender)
2018-08-27 13:02:41 [2862] [10] DEBUG: Thread 10 (gw/bb_boxc.c:boxc_sender) maps to pid 2862.
2018-08-27 13:02:41 [2862] [9] DEBUG: boxc_receiver: got boxc_id from <127.0.0.1>
What was done:
- After the TON/NPI respectively 5/0 directives were established, I changed the phone number of the modem (my-number) from the SMSC group to character set and it is shows in log file:
2018-08-28 08:00:44 Sent SMS [SMSC:gsm1] [SVC:foo] [ACT:admin] [BINF:] [FID:177] [META:] [from:SMSd] [to:+998935217698] [flags:-1:0:-1:-1:27] [msg:11:asdf @admin] [udh:0:]
2018-08-28 08:00:44 Receive DLR [SMSC:gsm1] [SVC:foo] [ACT:] [BINF:] [FID:177] [META:] [from:SMSd] [to:+998935217698] [flags:-1:-1:-1:-1:8] [msg:4:ACK/] [udh:0:]
-
In Kannel gateway config in PlaySMS configuration menu, where Additional URL parameter specify next equation from=SMSd;
-
Change the Default sender ID in PlaySMS main configuration from “1234” to “SMSd”.
All options did not yield results. SMS comes from modem number +99893xxxxxxxx instead, I would like to receive from “SMSd”. Are you have any ideas Steven?
Thanks in advance.
Sincerely,
Jamshid
As far as I know this can only be achieved if you have a SMSC connection to your upstream provider when using a modem you cannot change the sender ID.
Thanks for answering. Yes, you are right, I have a modem connection. It’s sad that it’s impossible to implement this via a modem. If it’s not difficult, can you give a direction, what are we talking about?
Thank you.
Regards,
Jamshid.