Try this:

group = smsbox-route
smsbox-id = mainbox
smsc-id = OpOne;OpTwo;OpThree;OpFour;OpFive

On Sun, Nov 1, 2015 at 1:57 PM, Artem Chekulaev <slon...@gmail.com> wrote:

> My complete working config (change IPs and passwords only)
>
> -----
>
> group = core
> admin-port = 13000
> admin-password = passwd
> admin-deny-ip = ""
> admin-allow-ip = "*.*.*.*"
> wdp-interface-name = "*"
> log-file = "/var/log/kannel/bearerbox.log"
> log-level = 2
> access-log = "/var/log/kannel/access_kannel.log"
> store-type = file
> store-location = "/var/log/kannel/store_sms"
> smsbox-port = 13001
> dlr-storage = internal
> sms-resend-retry = 10
> box-deny-ip = ""
> box-allow-ip = "*.*.*.*"
>
> group = smsbox
> sendsms-port = 13003
> log-file = "/var/log/kannel/smsbox.log"
> log-level = 2
> access-log = "/var/log/kannel/access_smsbox.log"
> http-request-retry = 5
> mo-recode = true
>
> group = smsc
> smsc-id = OpOne
> smsc = smpp
> host = 11.22.33.44
> port = 3333
> smsc-username = "user1"
> smsc-password = "pass1"
> source-addr-ton = 0
> source-addr-npi = 1
> dest-addr-ton = 1
> dest-addr-npi = 1
> system-type = VMA
> throughput = 100
> reconnect-delay = 10
> connection-timeout = 30
> msg-id-type = 0x00
> transceiver-mode = true
> allowed-smsc-id = OpOne
> preferred-smsc-id = OpOne
> alt-charset = utf8
> max-pending-submits = 100
>
> group = smsc
> smsc-id = OpTwo
> smsc = smpp
> host = 11.33.22.44
> port = 8018
> smsc-username = "user2"
> smsc-password = "pass2"
> source-addr-ton = 0
> source-addr-npi = 1
> dest-addr-ton = 1
> dest-addr-npi = 1
> system-type = VMA
> throughput = 20
> reconnect-delay = 5
> connection-timeout = 60
> transceiver-mode = true
> allowed-smsc-id = OpTwo
> preferred-smsc-id = OpTwo
> alt-charset = utf8
>
> group = smsc
> smsc-id = OpThree
> smsc = smpp
> host = 11.33.44.22
> port = 3333
> smsc-username = "user3"
> smsc-password = "pass3"
> source-addr-ton = 0
> source-addr-npi = 1
> dest-addr-ton = 3
> dest-addr-npi = 1
> system-type = VMA
> throughput = 125
> reconnect-delay = 10
> connection-timeout = 30
> msg-id-type = 0x00
> transceiver-mode = true
> allowed-smsc-id = OpThree
> preferred-smsc-id = OpThree
> alt-charset = utf8
> max-pending-submits = 100
>
> group = smsc
> smsc-id = OpFour
> smsc = smpp
> host = 11.44.22.33
> port = 3736
> smsc-username = "user4"
> smsc-password = "pass4"
> source-addr-ton = 0
> source-addr-npi = 1
> dest-addr-ton = 1
> dest-addr-npi = 1
> system-type = VMA
> throughput = 20
> reconnect-delay = 5
> connection-timeout = 60
> transceiver-mode = true
> allowed-smsc-id = OpFour
> preferred-smsc-id = OpFour
> alt-charset = utf8
>
> group = smsc
> smsc-id = OpFive
> smsc = smpp
> host = 11.44.33.22
> port = 2775
> smsc-username = "user5"
> smsc-password = "pass5"
> source-addr-ton = 1
> source-addr-npi = 1
> dest-addr-ton = 1
> dest-addr-npi = 1
> system-type = VMA
> throughput = 5
> reconnect-delay = 10
> connection-timeout = 30
> transceiver-mode = true
> allowed-smsc-id = OpFive
> preferred-smsc-id = OpFive
> alt-charset = utf8
> esm-class = 0
> service-type = USSD
>
> group = sendsms-user
> username = "smsend"
> password = "smsend"
> concatenation = true
> max-messages = 20
>
> group = sms-service
> keyword = default
> get-url = "
> http://11.11.11.11/sms/nowsms.php?text=%a&phone=%p&network=%i&shortcode=%P&meta-data=%D
> "
> concatenation = true
> omit-empty = true
> max-messages = 0
> accept-x-kannel-headers = true
>
> group = smpp-tlv
> name = MessagePayload
> tag = 0x0424
> type = octetstring
> length = 8196
> smsc-id = OpOne;OpTwo;OpThree;OpFour;OpFive
>
> group = smpp-tlv
> name = ServOpUssd
> tag = 0x0501
> type = octetstring
> length = 2
> smsc-id = OpFive
>
> group = smpp-tlv
> name = UssdSessId
> tag = 0x1501
> type = integer
> length = 4
> smsc-id = OpFive
>
> group = smpp-tlv
> name = Imsi
> tag = 0x1502
> type = octetstring
> length = 16
> smsc-id = OpFive
>
> group = smpp-tlv
> name = LangInd
> tag = 0x020d
> type = octetstring
> length = 1
> smsc-id = OpFive
>
> group = smpp-tlv
> name = MsgState
> tag = 0x0427
> type = octetstring
> length = 1
> smsc-id = OpFive
>
> group = smpp-tlv
> name = RcpdMsdId
> tag = 0x001e
> type = octetstring
> length = 8
> smsc-id = OpFive
>
> ----
>
> Everything works
>
> But I add to group = smsbox
>
> ...
> smsbox-id = mainbox
> ...
>
> and
>
> group = smsbox-route
> smsbox-id = mainbox
>
> Error occurs.
>
> Must I add every SMSC to smsbox-route group directly in such case?
>
>
>
> 2015-10-30 15:25 GMT+03:00 ha...@aeon.pk <ha...@aeon.pk>:
>
>> Then your routing is not OK. Share complete config.
>>
>> On Fri, Oct 30, 2015 at 12:42 PM, Artem Chekulaev <slon...@gmail.com>
>> wrote:
>>
>>> We have smsbox connected - this is checked.
>>>
>>> 2015-10-29 23:08 GMT+03:00 ha...@aeon.pk <ha...@aeon.pk>:
>>>
>>>> This error comes when bearerbox is unable to pass on the received MO
>>>> messages to smsbox. Are you connecting your smsbox?
>>>>
>>>> On Wed, Oct 28, 2015 at 6:28 PM, Artem Chekulaev <slon...@gmail.com>
>>>> wrote:
>>>>
>>>>> Hi!
>>>>>
>>>>> Tried to add smsbox route to config and received warning "smsbox_list
>>>>> empty".
>>>>>
>>>>> I added to config
>>>>>
>>>>> ***
>>>>> group = smsbox
>>>>> ...
>>>>> smsbox-id = main
>>>>> ...
>>>>>
>>>>> group = smsbox-route
>>>>> smsbox-id = main
>>>>> ...
>>>>> ***
>>>>> and received this warning.
>>>>>
>>>>> When I disabled smsbox-id in smsbox group and disabled full
>>>>> smsbox-route group - everything is ok.
>>>>>
>>>>> But when I enable smsbox-id parts, the warning appears and incoming
>>>>> messages stuck in queue.
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>
>

Reply via email to