Next time please post relevant configuration parts from the start, to avoid 
needless mail.

Read user's guide, there is a whole chapter with examples devoted to sms 
routing. I am not going to repeat it here.

BR,
Nikos
  ----- Original Message ----- 
  From: LoLoVioLo 
  To: [email protected] 
  Sent: Sunday, February 28, 2010 2:13 PM
  Subject: Re: forced-smsc


  Well you confused me. If you look at configuration file I joined you will see 
where I am using forced-smsc.


  Moreover When looking at "SendSMS-user configurations" chapter in userguide 
there is no "allowed-smsc-id" nor "denied-smsc-id" options.
  I am afraid I am not getting the logic of kannel routing. Hope you can help.


  Once again, my aim is to have 2 users : lolo01 that all sms are routed to 
smsc1 and lolo02 that sms are routed to smsc2
  that is why I proceed as follow :


      # SEND-SMS USERS



      group = sendsms-user

      username = lolo01

      password = pass01

      forced-smsc = mysmsc1



      group = sendsms-user

      username = lolo02

      password = pass02

      forced-smsc = mysmsc2


  Now I see that "allowed-smsc-id" and "denied-smsc-id" parameters apply to 
group smsc and not sendsms-user - that is confusing me more again. 
  I already defined 2 smsc with smsc-id (mysmsc1 and mysmsc2).
  I can't understand how "allowed-smsc-id" and "denied-smsc-id" could apply to 
smsc itself.


  Thanks for your help.




  On Feb 28, 2010, at 7:56 AM, Nikos Balkanas wrote:


    Hi,

    You talk about something, forced-smsc, and do not post it. You might as 
well not mention it at all.

    Read user's guide about allowed-smsc-id and denied-smsc-id.

    BR,
    Nikos
    ----- Original Message ----- From: "LoLoVioLo" <[email protected]>
    To: <[email protected]>
    Sent: Sunday, February 28, 2010 3:33 AM
    Subject: forced-smsc



      Hi,



      I am willing to restrict one user to use only one specific SMSC.

      I though that the "forced-smsc" will do it but it doesn't work.

      Please look at the configuration below.

      Thanks for your help.



      # SMSC CONNECTIONS



      group = smsc

      smsc = smpp

      smsc-id = mysmsc1

      host = smpp1.mydomain.com

      port = 123123

      receive-port = 0

      system-type = "smpp"

      smsc-username = "user1"

      smsc-password = "pass1"

      transceiver-mode = 1



      group = smsc

      smsc = smpp

      smsc-id = mysmsc2

      host = smpp1.mydomain.com

      port = 123123

      receive-port = 0

      system-type = "smpp"

      smsc-username = "user2"

      smsc-password = "pass2"

      transceiver-mode = 1



      # SEND-SMS USERS



      group = sendsms-user

      username = lolo01

      password = pass01

      forced-smsc = mysmsc1



      group = sendsms-user

      username = lolo02

      password = pass02

      forced-smsc = mysmsc2







Reply via email to