Thank you for the reply, I just found out that the parameter is global-sender to be configured in the ppg group.
De: Cedar Jet [mailto:mecedar...@gmail.com] Enviado el: viernes, 19 de octubre de 2018 12:36 p. m. Para: raf...@hacom-tech.com CC: users@kannel.org Asunto: Re: Setting source address SMPP I don't have any idea about the wap push, I'm currently using sms service as below group = smsbox bearerbox-host = localhost bearerbox-port = 18001 sendsms-port = 18301 # your countries code global-sender = xxx sendsms-chars = "0123456789+ " mo-recode = true http-request-retry = 10 http-queue-delay = 60 immediate-sendsms-reply = false log-level = 0 log-file = /var/log/kannel/smsbox.log access-log = /var/log/kannel/access-smsbox.log group = sendsms-user default-smsc = my-id username = user password = pass max-messages = 1000 concatenation = true Then try to send sms via the below linux command: curl "http://localhost:18301/cgi-bin/sendsms?username=user <http://localhost:18301/cgi-bin/sendsms?username=user&password=pass&from=Cedar&to=xxxxx&text=Test> &password=pass&from=Cedar&to=xxxxx&text=Test" On Fri, Oct 19, 2018 at 8:15 PM Rafael Cerna <raf...@hacom-tech.com <mailto:raf...@hacom-tech.com> > wrote: I am using WAP Push to send the SMS De: Cedar Jet [mailto:mecedar...@gmail.com <mailto:mecedar...@gmail.com> ] Enviado el: viernes, 19 de octubre de 2018 12:09 p. m. Para: raf...@hacom-tech.com <mailto:raf...@hacom-tech.com> CC: users@kannel.org <mailto:users@kannel.org> Asunto: Re: Setting source address SMPP How you are sending the SMS to your phone? On Fri, Oct 19, 2018 at 8:07 PM Rafael Cerna <raf...@hacom-tech.com <mailto:raf...@hacom-tech.com> > wrote: I am not sure if sender ID is the parameter. When I send an SMS to a phone, I see that it was sent by the number 1234. So it needs to be changed to 672. In the bearerbox logs, I can see that the SMPP message shows source_address as 1234 2018-10-18 17:22:01 [14779] [7] DEBUG: SMPP PDU 0xad402f00 dump: 2018-10-18 17:22:01 [14779] [7] DEBUG: type_name: submit_sm 2018-10-18 17:22:01 [14779] [7] DEBUG: command_id: 4 = 0x00000004 2018-10-18 17:22:01 [14779] [7] DEBUG: command_status: 0 = 0x00000000 2018-10-18 17:22:01 [14779] [7] DEBUG: sequence_number: 4770 = 0x000012a2 2018-10-18 17:22:01 [14779] [7] DEBUG: service_type: NULL 2018-10-18 17:22:01 [14779] [7] DEBUG: source_addr_ton: 2 = 0x00000002 2018-10-18 17:22:01 [14779] [7] DEBUG: source_addr_npi: 1 = 0x00000001 2018-10-18 17:22:01 [14779] [7] DEBUG: source_addr: "1234" ß This is the patameter that needs to be changed to 672 2018-10-18 17:22:01 [14779] [7] DEBUG: dest_addr_ton: 1 = 0x00000001 2018-10-18 17:22:01 [14779] [7] DEBUG: dest_addr_npi: 1 = 0x00000001 I haven’t configured 1234 in Kannel so that is why I am confused Thanks for your answer De: Cedar Jet [mailto:mecedar...@gmail.com <mailto:mecedar...@gmail.com> ] Enviado el: viernes, 19 de octubre de 2018 12:01 p. m. Para: raf...@hacom-tech.com <mailto:raf...@hacom-tech.com> CC: users@kannel.org <mailto:users@kannel.org> Asunto: Re: Setting source address SMPP what do you mean by source address? Is it Sender ID? On Fri, Oct 19, 2018 at 8:00 PM Rafael Cerna <raf...@hacom-tech.com <mailto:raf...@hacom-tech.com> > wrote: One last question. In the smsbox configuration, which parameter would be the one to change so I can set source address 672? De: Cedar Jet [mailto:mecedar...@gmail.com <mailto:mecedar...@gmail.com> ] Enviado el: viernes, 19 de octubre de 2018 11:25 a. m. Para: raf...@hacom-tech.com <mailto:raf...@hacom-tech.com> CC: users@kannel.org <mailto:users@kannel.org> Asunto: Re: Setting source address SMPP Yes, that is correct. After you configure your smsbox Send SMS via HTTP command sendsms?username=kannel&password=kannel&to=xxxxxxxxxx&text=test_msg Respectfully, On Fri, Oct 19, 2018 at 7:17 PM Rafael Cerna <raf...@hacom-tech.com <mailto:raf...@hacom-tech.com> > wrote: So the configuration for SMPP source_addr is set in the smsbox configuration? 2018-10-18 17:22:01 [14779] [7] DEBUG: SMPP PDU 0xad402f00 dump: 2018-10-18 17:22:01 [14779] [7] DEBUG: type_name: submit_sm 2018-10-18 17:22:01 [14779] [7] DEBUG: command_id: 4 = 0x00000004 2018-10-18 17:22:01 [14779] [7] DEBUG: command_status: 0 = 0x00000000 2018-10-18 17:22:01 [14779] [7] DEBUG: sequence_number: 4770 = 0x000012a2 2018-10-18 17:22:01 [14779] [7] DEBUG: service_type: NULL 2018-10-18 17:22:01 [14779] [7] DEBUG: source_addr_ton: 2 = 0x00000002 2018-10-18 17:22:01 [14779] [7] DEBUG: source_addr_npi: 1 = 0x00000001 2018-10-18 17:22:01 [14779] [7] DEBUG: source_addr: "1234" ß This is the patameter that needs to be changed 2018-10-18 17:22:01 [14779] [7] DEBUG: dest_addr_ton: 1 = 0x00000001 2018-10-18 17:22:01 [14779] [7] DEBUG: dest_addr_npi: 1 = 0x00000001 Thank you for the reply De: Cedar Jet [mailto:mecedar...@gmail.com <mailto:mecedar...@gmail.com> ] Enviado el: viernes, 19 de octubre de 2018 11:07 a. m. Para: raf...@hacom-tech.com <mailto:raf...@hacom-tech.com> CC: users@kannel.org <mailto:users@kannel.org> Asunto: Re: Setting source address SMPP If you mean the source address by sender ID, that option will be handle via the smsbox not from the SMSC by passing the sender Id and recipient with the message Below is my SMSC setup, you can match with yours group = smsc smsc = smpp smsc-id = my-id allowed-smsc-id = my-id preferred-smsc-id = my-id interface-version = 34 host = xxx.xxx.xxx.xxx port = 6456 receive-port = 0 smsc-username = user smsc-password = pass system-type = VMA source-addr-ton = 5 source-addr-npi = 1 dest-addr-ton = 0 dest-addr-npi = 0 keepalive = 600 reconnect-delay = 3 enquire-link-interval = 30 esm-class = 0 log-level = 0 log-file = /var/log/kannel/smsc.log On Fri, Oct 19, 2018 at 6:59 PM Rafael Cerna <raf...@hacom-tech.com <mailto:raf...@hacom-tech.com> > wrote: Hello, I am trying to change the source address to 672 for SMPP connection to SMS, however the message is being set with source address 1234 which I have not configured. How would I change the address? According to documentation there is an option for my-number but it is not being changed. This is my configuration group = smsc smsc = smpp smsc-id = SMSC1 host = x.x.x.x port = 21000 smsc-username = xxxxxx smsc-password = xxxxxx system-type = "WAP" address-range = "" my-number = 672 source-addr-ton = 4 source-addr-npi = 9 source-addr-autodetect = no Thanks for the reply in advance