Yes, both would connect to bearerbox on the same port, but since sqlbox has and smsbox-id it would only receive traffic if you put a specific mo-route to it.
Regards, Alejandro On Fri, Jun 13, 2014 at 8:21 PM, Alvaro Cornejo <[email protected]> wrote: > Hi Alejandro > > Is this what you mean? > > sqlbox < --[13001]--> bearerbox < --[13001]--> smsbox > > kannel.conf (to use with bearerbox): > group = core > smsbox-port = 13001 > ... > > sqlbox.conf: > group = sqlbox > bearerbox-host = localhost > bearerbox-port = 13001 > #smsbox-port = 13005 (No smsbox-port since no need to connect to smsbox) > smsbox-id = sqlbox (This way all MO will go directly to smsbox) > ... > > smsbox.conf: > group = core > smsbox-port = 13001 > #smsbox-id = sqlbox (No smsbox-id) > ... > > |-----------------------------------------------------------------------------------------------------------------| > Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier > celular y Nextel > en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via > SMS y GPRS online > Visitenos en www.perusms.com > > > On Thu, Jun 12, 2014 at 7:30 PM, Alejandro Guerrieri > <[email protected]> wrote: > > Yes, indeed. For mt, both will be able to send. To avoid sqlbox from > receiving mo's, assign it an smsbox-id. If you want to route specific > traffic to it you can add an smsbox-route, all the other traffic will go to > the smsbox without smsbox-id. > > > > Check the user guide for more details. > > -- > > Alex Guerrieri > > > >> On Jun 12, 2014, at 20:24, Alvaro Cornejo <[email protected]> > wrote: > >> > >> Hi > >> > >> Is it possible to have sqlbox and smsbox connected to the same > >> bearerbox at the same time? > >> > >> This is what we need: > >> > >> A) FOR MT > >> > >> I want to handle different services independently through each service. > >> > >> sqlbox <-----\ > >> ----> bearerbox <---> smsc > >> smsbox <-----/ > >> > >> B) FOR MO: > >> > >> I want to route everything to smsbox > >> > >> > >> my config files: > >> > >> SQLBOX FILE: > >> > >> group = sqlbox > >> id = sqlbox-db > >> smsbox-id = sqlbox > >> bearerbox-host = localhost > >> bearerbox-port = 13001 > >> # smsbox-port = 13005 not configured since I dont want sqlbox to go > through it > >> > >> KANNEL CONFIG FILE: > >> group = core > >> admin-port = 13000 > >> smsbox-port = 13001 > >> #wapbox-port = 13002 > >> dlr-storage = mysql > >> > >> group = smsbox > >> bearerbox-host = 127.0.0.1 > >> sendsms-chars = "0123456789 +" > >> sendsms-port = 13013 > >> > >> # SEND-SMS USERS > >> group = sendsms-user > >> username = user > >> password = pass > >> name = send_der > >> > >> > >> # SMS SERVICE > >> group = sms-service > >> keyword = default > >> # concatenation = true > >> get-url = "http://localhost/sms/geturl.php?t=%t&q=%q&a=%a&inc_smsc=%i > >> max-messages = 0 > >> concatenation = true > >> > >> Regards > >> > >> Alvaro > >> > >> > >> > |-----------------------------------------------------------------------------------------------------------------| > >> Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier > >> celular y Nextel > >> en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via > >> SMS y GPRS online > >> Visitenos en www.perusms.com > >> >
