Hi,

1) Try this:

([tT][iI][mM][eE]|[dD][aA][tT][aA])

Or make 2 services 1 for time the other for data

2) Try "accepted-accounts" and "accepted-accounts-regex" in sms-service 
configuration.

BR,
Nikos
  ----- Original Message ----- 
  From: Roberto Salvatierra 
  To: [email protected] 
  Sent: Sunday, April 19, 2009 12:13 PM
  Subject: hello and a quick question :)


  Hi I have managed to configure kannel mostly on my own however I need help 
doing the last part, when I make the changes I can't get it to work 
  basically I have 2 problems:


  1-When on a service I use a regex for instance ^(time|data)$ it has a problem 
with the case, so ti will only process time lowercase, and data lowercase, if
  I send Time or TiMe or DATA, it does not gets recognized and forwarded to the 
"get-url" i am using, however if I use a a simple keyword it works.


  2-Routing, I have been trying to set a route based on the short numbers for 
the system basically I need this:




  Short Number1------>Service 1
  Short Number2------>Service 2 


  But I do  not want Short Number2 to go to Service1 or Short Number to go to 
service2 however I can allow this:


  Short Number1---->Service1,Service3 ( only)
  Short Number2---> Service2 ( only ) 


  But I am clueless how to do it so another example ( I have only one SMSC they 
change the short number they send me ) 


  so


  1111-----> sms_service1,sms_service3
  2222----->sms_service2, sms_service3


  I have tried with routes but at the end, I see that the only parameter at the 
end for the sms-service to route is the accepted-smsc
  and as I said I only have one smsc... so I am clueless




  group = sms-service
  keyword = test
  text = "test"
  accepted-smsc = A <---- only A is accepted 


  so if I create another sms-service at the end I have to put the same 
acepted-smsc
  so how do I do this ? should I try with allowed-prefix-regex, but if  I use 
that
  I can set the whole short message as a prefix ? 


  Thank you all for your time !







Reply via email to