Re: Setting source address SMPP

Cedar Jet <[email protected]>
Newsgroups gmane.comp.mobile.kannel.user
Message-ID <CAB=bB0PPV0aN_4ZUy_EfZS4=H5S75qL3d_yPG_=2-C_H9ELn-Q@mail.gmail.com>
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 <[email protected]> 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:[email protected]]
> *Enviado el:* viernes, 19 de octubre de 2018 11:07 a. m.
> *Para:* [email protected]
> *CC:* [email protected]
> *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 <[email protected]>
> 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
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.