Hamza, i think you are right but i could not achieve what you are saying I am working as an intermediate SMSC and getting Messages from My SMPP clients and i rout messages to SMSCs here is what is my current setup.
SMPP -- SQLBox --> bearerbox --> SMSBox In my current setup i am really not sure how messages are forwarded from bearerbox to SMSBox. I read the documentation and it says SMSBox inherits smsbox-port from Core, so does this mean that bearerbox and SMSBox both run on same port ? here are my current configs (i think i just need to rerout using smsbox-port so only showing my current ports) Can you please suggest how to achieve your suggested architecture which is SMPP BOX --> BearerBox --> SQL BOX --> SMSBox --> SMSC ================================ SMPP BOX ================================ group = opensmppbox opensmppbox-id = smppbox1 opensmppbox-port = 9000 bearerbox-host = 127.0.0.1 bearerbox-port = 14002 ================================ SQLBOX ================================ group = sqlbox id = sqlbox-db smsbox-id = sqlbox #global-sender = "" bearerbox-host = localhost bearerbox-port = 14001 smsbox-port = 14002 ================================ MAIN KANNEL ================================ group = core admin-port = 14000 admin-password = smsbox-port = 14001 group = smsbox bearerbox-host = 127.0.0.1 sendsms-port = 14141 ================================ On Wed, Jun 11, 2014 at 3:14 PM, [email protected] <[email protected]> wrote: > SQLBOX box sits between Bearerbox and SMSbox like this: > > Operator SMSC > BEARERBOX > SQLBOX > SMSBOX > > With correct config, it is able to relay the whole traffic MO,MT,DLR in > both directions and logs everything. > > Please try to setup SQLBOX. It will solve all your problems. > > > On Mon, Jun 9, 2014 at 11:22 PM, Ali Kashif <[email protected]> > wrote: > >> I have seen sqlbox my configurations are like this >> >> SMPP --> SQLBOX --> KANNEL --> SMSC >> >> so sqlbox do not have information about outgoing SMSC, it do have all >> incoming SMS details which i am already using for my client billing. >> In sqlbox there are DLRs which do have the outgoing SMSc, but that is not >> reliable, as i never receive all DLRs, and some time DLR is not even >> requested. >> >> >> i can understand the i can process the log file daily at at certain time >> and get all smsc like >> >> 2014-06-06 12:09:38 Sent SMS [SMSC:XXXX]. >> >> but still I would like to experiment with moding kannel, and try saving >> count at time of sending SMS. (no offline processing, live statics ;) ) >> >> so any idea where should i be modifing . >> >> >> Thanks >> Ali >> >> >> >> >> >> >> >> On Mon, Jun 9, 2014 at 6:11 PM, Alvaro Cornejo <[email protected]> >> wrote: >> >>> You can also run wc command on your log files >>> >>> |-----------------------------------------------------------------------------------------------------------------| >>> 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 Mon, Jun 9, 2014 at 9:42 AM, spameden <[email protected]> wrote: >>> > >>> > >>> > >>> > 2014-06-09 17:46 GMT+04:00 [email protected] <[email protected]>: >>> > >>> >> 'Grep' the date, message status (Sent) and then SMSC id in the >>> access.log >>> >> file from Linux command prompt. >>> >> >>> >> Alternatively, you can run MySQL query over sentsms table if you are >>> using >>> >> sqlbox (which is the best way). >>> >> >>> >> >>> >> On Sun, Jun 1, 2014 at 1:22 PM, Ali Kashif <[email protected]> >>> >> wrote: >>> >>> >>> >>> Dear Users, >>> >>> >>> >>> I have multiple SMSCs connected, and Kannel is doing some prefix >>> based >>> >>> routing of messages, >>> >>> >>> >>> At end of month i need to count how many messages has been sent from >>> each >>> >>> SMSc, >>> >>> >>> >>> I can see the access.log for kannel and there is >>> >>> >>> >>> 2014-06-01 08:04:59 Sent SMS [SMSC:nahsms] >>> >>> >>> >>> i was thinking if i can add a mysql query in place where the above >>> log is >>> >>> being writen, >>> >>> which just update number in mysql table against SMSC, >>> >>> >>> >>> >>> >>> Can anyone me tell me which file i should look and modify. >>> >>> >>> >>> >>> >>> and Will that be a good idea, considering that i am sending 100,000 >>> SMS >>> >>> per day. >>> > >>> > >>> > Check sqlbox it might suit all your needs if you tweak it a bit. >>> > >>> >>> >>> >>> >>> >>> >>> >>> Thanks >>> >>> Ali >>> >> >>> >> >>> > >>> >>> >> >
