How you are sending the SMS to your phone?

On Fri, Oct 19, 2018 at 8:07 PM Rafael Cerna <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]
> *Enviado el:* viernes, 19 de octubre de 2018 12:01 p. m.
> *Para:* raf...@hacom-tech.com
> *CC:* 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>
> 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]
> *Enviado el:* viernes, 19 de octubre de 2018 11:25 a. m.
> *Para:* raf...@hacom-tech.com
> *CC:* 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>
> 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]
> *Enviado el:* viernes, 19 de octubre de 2018 11:07 a. m.
> *Para:* raf...@hacom-tech.com
> *CC:* 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>
> 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
>
>

Reply via email to