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 > wapbox. > > The reason you are loosing your sms when connecting to an smsbox is > probably > because you haven't configured correctly smsbox-route group. Read in UG > about it. Otherwise you use smsbox if you need to terminate MOs, or DLRs, > or > push MT's via its web interface. > > BR, > Nikos > ----- Original Message ----- > From: "Rene Kluwen" <rene.klu...@chimit.nl> > To: "Denilson Silva" <deny...@hotmail.com> > Cc: <users@kannel.org> > Sent: Friday, May 27, 2011 12:06 AM > Subject: Re: Route sms to different ESME's > > > If you don't need smsbox, you might just as well not start it. > However, as far as I remember you do need to group = smsbox in your > kannel.conf or else bearerbox won't start. > > About your other question: I don't know, maybe somebody else does. > > == Rene > >> >> Ok. Well, in my tests bearerbox can store the messages and send it later >> when >> the esme is connected again. I hope i'm not bothering you too much, but i >> have one more question. It's something i noticed, maybe is a concept >> about >> opensmppbox that i'm not aware. It's like this: i have my smpp server >> with >> bearerbox initiated and opensmppbox initiated, if the esme is down, >> bearerbox stores the messages sent to the esme, and send it later when >> the >> esme is up. But if i start smsbox in my smpp server with bearerbox and >> opensmppbox when the esme is down, than bearerbox doesn't store the >> messages, it just send request failed to the subscriber. So, if i only >> use >> it as a smppbox server, do i need smsbox or not? And why if smsbox is >> started it won't store the messages? Well, i really apreciated all your >> help >> you've given me. >> Best regards >> Denilson >> >> >> Nikos Balkanas wrote: >>> >>> You can always check kannel's web site under authors. There you can find >>> 2 >>> mails for Stipe. I am sure he won't mind you getting in touch with him. >>> >>> BR, >>> Nikos >>> ----- Original Message ----- >>> From: "Denilson Silva" <deny...@hotmail.com> >>> To: <users@kannel.org> >>> Sent: Thursday, May 26, 2011 6:30 PM >>> Subject: Re: Route sms to different ESME's >>> >>> >>>> >>>> Ok. I would like to know how can i contact Stipe? I tried once some >>>> time >>>> ago >>>> to know about his commercial version with no success, because i could >>>> be >>>> interested in the commercial version. Well, Thanks a lot. >>>> >>>> Denilson >>>> >>>> >>>> Nikos Balkanas wrote: >>>>> >>>>> Hi, >>>>> >>>>> Opensmppbox doesn't have permanent storage, so it can't store SMS. >>>>> There >>>>> is >>>>> a commercial version by Stipe that does that. Having said that, your >>>>> SMS >>>>> will be stored in bb's storage, until the ESME comes back on line. >>>>> This >>>>> will >>>>> work most of the time, but I am not sure if it is 100% reliable, >>>>> though, >>>>> openssmppbox have had some issues with its ACKs in the past. >>>>> >>>>> BR, >>>>> Nikos >>>>> ----- Original Message ----- >>>>> From: "Denilson Silva" <deny...@hotmail.com> >>>>> To: <users@kannel.org> >>>>> Sent: Thursday, May 26, 2011 4:36 PM >>>>> Subject: Re: Route sms to different ESME's >>>>> >>>>> >>>>>> >>>>>> Hi, thanks for the response. It works with smsbox-route. There is >>>>>> another >>>>>> question i have, i don't know if i should make another thread. Well, >>>>>> here >>>>>> it >>>>>> is: does opensmppbox support storing messages destined to an esme if >>>>>> this >>>>>> esme is offline, and send it later to this esme when it's connected? >>>>>> How >>>>>> can >>>>>> it be done? Or do i have to create a solution for this kind of >>>>>> situation? >>>>>> Thanks. >>>>>> >>>>>> Denilson >>>>>> >>>>>> >>>>>> Nikos Balkanas wrote: >>>>>>> >>>>>>> Hi, >>>>>>> >>>>>>> Yes you should. You are talking about MOs. There is no reason you >>>>>>> shouldn't >>>>>>> be able to do it, but I have never tried it. Read about group >>>>>>> smsbox-route >>>>>>> in UG. >>>>>>> >>>>>>> BR, >>>>>>> Nikos >>>>>>> ----- Original Message ----- >>>>>>> From: "Denilson Silva" <deny...@hotmail.com> >>>>>>> To: <users@kannel.org> >>>>>>> Sent: Tuesday, May 17, 2011 9:07 PM >>>>>>> Subject: Route sms to different ESME's >>>>>>> >>>>>>> >>>>>>>> >>>>>>>> Greetings to all. I would be very thankfull if i can have an >>>>>>>> information. >>>>>>>> I >>>>>>>> woukd like to know if there is a way of routing SMS's from >>>>>>>> subscribers >>>>>>>> to >>>>>>>> an >>>>>>>> ESME client with opensmppbox or kannel. For example, i am connected >>>>>>>> with >>>>>>>> two >>>>>>>> different ESME's, and if a subscriber send an SMS to a number >>>>>>>> configured >>>>>>>> in >>>>>>>> my SMSC, then i route it to ESME 1, if it is to other number i >>>>>>>> route >>>>>>>> it >>>>>>>> to >>>>>>>> ESME 2. What i can do now is connect an ESME to my opensmppbox >>>>>>>> which >>>>>>>> is >>>>>>>> connected to bearerbox->SMSC. >>>>>>>> Hope i explained well. >>>>>>>> Thank you in advance. >>>>>>>> Denilson Silva >>>>>>>> -- >>>>>>>> View this message in context: >>>>>>>> http://old.nabble.com/Route-sms-to-different-ESME%27s-tp31640431p31640431.html >>>>>>>> Sent from the Kannel - User mailing list archive at Nabble.com. >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> -- >>>>>> View this message in context: >>>>>> http://old.nabble.com/Route-sms-to-different-ESME%27s-tp31640431p31708102.html >>>>>> Sent from the Kannel - User mailing list archive at Nabble.com. >>>>>> >>>>>> >>>>> >>>>> >>>>> >>>>> >>>> >>>> -- >>>> View this message in context: >>>> http://old.nabble.com/Route-sms-to-different-ESME%27s-tp31640431p31709160.html >>>> Sent from the Kannel - User mailing list archive at Nabble.com. >>>> >>>> >>> >>> >>> >>> >> >> -- >> View this message in context: >> http://old.nabble.com/Route-sms-to-different-ESME%27s-tp31640431p31711287.html >> Sent from the Kannel - User mailing list archive at Nabble.com. >> >> >> >> > > > > > -- View this message in context: http://old.nabble.com/Route-sms-to-different-ESME%27s-tp31640431p31717659.html Sent from the Kannel - User mailing list archive at Nabble.com.