I guess that if your problem is solved, then it is okay. ----- Oorspronkelijk bericht ----- Van: Denilson Silva <[email protected]> Verzonden: vrijdag 27 mei 2011 19:06 Aan: [email protected] Onderwerp: Re: Route sms to different ESME's
Hi again. For now i think i have solved my problem, at least for my needs right now. What i did was just put an smsbox-id on the smsgroup of kannel conf file. So, when there is request from a subscriber to a number specified the routing is done by the smsbox-route configuration. And if the ESME client is not online, it is stored to be sent later. This way i start smsbox and it works well. Below you can see the configuration file. Please refer to me if the configuration is really ok. Thank you. # CORE group = core admin-port = 13000 smsbox-port = 13001 admin-password = bar log-file = "/kannel_logs/core.log" log-level = 0 box-deny-ip = "*.*.*.*" box-allow-ip = "127.0.0.1" access-log = "/kannel_logs/core_access.log" store-type = file store-location = "/kannel_store/kannel.store" # SMSC CONNECTIONS group = smsc smsc = smpp host = x.x.x.x port = xxxx receive-port = xxxx smsc-username = "username" smsc-password = system-type = "YYYYY" address-range = "" source-addr-ton = 0 source-addr-npi = 0 dest-addr-ton = 1 dest-addr-npi = 1 allowed-prefix = "+238910;+238912;+238915" # SMSBOX SETUP group = smsbox smsbox-id = my_smsbox bearerbox-host = 127.0.0.1 sendsms-port = 13013 log-file = "/kannel_logs/smsbox.log" log-level = 0 access-log = "/kannel_logs/smsbox_access.log" group = smsbox-route smsbox-id = esme1 shortcode = "777" group = smsbox-route smsbox-id = esme2 shortcode = "789" # SEND-SMS USERS group = sendsms-user username = tester password = foobar max-messages = 4 concatenation = true # SERVICES group = sms-service keyword = nop text = "You asked nothing and I did it!" # There should be always a 'default' service. This service is used when no # other 'sms-service' is applied. group = sms-service keyword = default text = "No service specified" Nikos Balkanas wrote: > > Actually bearerbox doesn't need an smsbox group or a connected one to > start. > Let's not forget that for historical reasons it was first created for [Het originele bericht is niet volledig opgenomen]
