On Mon, Oct 31, 2011 at 8:53 AM, Vida Luz Arista <[email protected]> wrote:
> Hi all > > I have a Kannel working well with a telephone operator, Jan ste moment I > have set another operator, however I have a problem when the user send a > notification message, the SMSC-idmuchas sometimes comes with the correct > operator and the operator is otravs wrong, such as: > > I get the message of the operator A, it comes with the SMSC-id is correct > and sends the get-url string to an application that processes the request > and reply, the mensjae arrives Kannel operator A and send it to the > application as follows > > " > http://10.0.0.17:8005/SMS/Receiver.aspx?username=XXX&password=YYY&origin=%p&sender=%P&message=%a&smsc=%i > " > > > The processes and answers aplciacion like this: > > The problem is that when the Kannel received this request of the > application, the sms-id does not come with 55111 if that comes with the > SMSC-id from another operator and No we understand it's because are > explicitly in the url. > > I attached my configuration. > > > ## The core Group > group = core > admin-port = 13000 > smsbox-port = 13001 > admin-password = bar > log-file = "/var/log/kannel/bearerbox.log" > log-level = 1 > access-log = "/var/log/kannel/access.log" > log-file = "/var/log/kannel/kannel.log" > log-level = 1 > box-deny-ip = "*.*.*.*" > box-allow-ip = "127.0.0.1" > > ## Setting SMPP MOVISTAR > group = smsc > smsc = smpp > host = 10.216.26.35 > port = 5027 > smsc-id = "502150" > system-type = "" > smsc-username = "502150" > smsc-password = "NiRE" > connect-allow-ip = 127.0.0.1 > interface-version = 34 > source-addr-ton = 4 > source-addr-npi = 9 > dest-addr-ton = 1 > dest-addr-npi = 1 > bind-addr-ton = 1 > bind-addr-npi = 1 > address-range = "" > enquire-link-interval = 30 > max-pending-submits = 5 > reconnect-delay = 30 > transceiver-mode = 1 > #my-number = "1106;1107" > > ## Setting SMPP ENITEL > group = smsc > smsc = smpp > host = 10.148.68.22 > port = 8207 > smsc-id = "55111" > system-type = "smpp" > smsc-username = "hdenitrx" > smsc-password = "hdetic" > connect-allow-ip = 127.0.0.1 > interface-version = 34 > source-addr-ton = 5 > source-addr-npi = 0 > dest-addr-ton = 1 > dest-addr-npi = 1 > bind-addr-ton = 1 > bind-addr-npi = 1 > address-range = "" > enquire-link-interval = 30 > max-pending-submits = 5 > reconnect-delay = 30 > transceiver-mode = 1 > > > ##The smsbox Group > group = smsbox > smsbox-id = mysmsc > bearerbox-host = 127.0.0.1 > sendsms-port = 13013 > reply-couldnotfetch = "Lo sentimos el Servicio no esta disponible" > reply-requestfailed = "Error con la peticion, con el HTTP server" > reply-emptymessage = "Mensaje vacio" > #mo-recode = true > log-file = "/var/log/kannel/smsbox.log" > log-level = 1 > > ##The smsbox Group > group = smsbox > smsbox-id = mysmsc1 > bearerbox-host = 127.0.0.1 > sendsms-port = 13013 > reply-couldnotfetch = "Lo sentimos el Servicio no esta disponible" > reply-requestfailed = "Error con la peticion, con el HTTP server" > reply-emptymessage = "Mensaje vacio" > #mo-recode = true > log-file = "/var/log/kannel/smsbox.log" > > ##The smsbox Route > group = smsbox-route > smsbox-id = mysmsc > smsc-id = "502150" > shortcode = "1106;1107" > #shortcode = "1106;1107;5051106;5051107" > > ##The smsbox Route > group = smsbox-route > smsbox-id = mysmsc1 > smsc-id = "55111" > shortcode = "5051106;5051107" > > ##The Sendsms Group > group = sendsms-user > username = kanneluser > password = foo > concatenation= true > max-messages = 10 > > ##Getting the Messages to your application > group = sms-service > accepted-smsc = "55111;502150" > keyword = default > omit-empty = true > max-messages = 10 > get-url = " > http://10.0.0.17:8005/SMS/Receiver.aspx?username=XXX&password=YYY&origin=%p&sender=%P&message=%a&smsc=%i > " > > > I appreciate any suggestions > > Regards, > >
