Thanks Tapan for replying.
     
               There can be messages of which are starting with set of
predefined "Text values" & according to them messages stored in their
respective database & get their reply according the "Text values" in the
message.

               Please also suggest me about how could I enhance the
performance so that it can handle Thousands or Lakhs of messages at a
time.(Hardware suggestion to if required).

Thanks.

  
                  


Tapan Kumar Thapa wrote:
> 
> Hello,
> 
> Can you please elaborate what do you mean by perticular type of message?
> 
> Thanks
> Tapan Thapa
> On Oct 4, 2012 6:40 PM, "suneetsaini" <[email protected]> wrote:
> 
>>
>> Thanks in advance.
>>
>>      In my kannel when I am sending nay message to my modem number then a
>> reply is generated. But I want a system so that when a particular type of
>> message is received only than it reply to that number else discard the
>> number.
>>
>> Here is my *.conf file:
>>
>> #CORE
>> group = core
>> admin-port = 13000
>> admin-password = playsms
>> status-password = playsms
>> log-file = "/var/log/kannel/kannel.log"
>> log-level = 0
>> access-log = "/var/log/kannel/access.log"
>> smsbox-port = 13001
>> unified-prefix = "+91,0091,0;+,00"
>> store-type = file
>> store-file = "/var/log/kannel/kannel.store"
>> sms-resend-retry = 1
>> dlr-storage = internal
>> box-deny-ip = "*.*.*.*"
>> box-allow-ip = "127.0.0.1;192.168.1.*"
>> sms-incoming-queue-limit = -1
>>
>> #SMSC MODEM GSM
>> group = smsc
>> smsc = at
>> port = 13013
>> host = "localhost"
>> smsc-id = SAMSUNG
>> modemtype = auto
>> device = /dev/ttyACM1
>> speed = 9600
>> #sms-center = "Hello it is there"
>> connect-allow-ip = "127.0.0.1"
>> my-number = "9953937874"  #(this must be the number of the SMS center of
>> your mobile provider)
>> sim-buffering = true
>> address-range=""
>> send-url = "http://localhost:13013/cgi-bin/sendsms";
>>
>>
>> group = modems
>> id = SAMSUNG
>> name = "SAMSUNG GT-C3303i"
>> detect-string = "GT-C3303i"
>> init-string = "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
>> enable-mms = true
>> message-storage = sm
>> need-sleep = true
>>
>> #SMSBOX SETUP
>> group = smsbox
>> #smsbox-id = sqlbox
>> bearerbox-host = localhost
>> bearerbox-port = 13001
>> sendsms-port = 13131
>> sendsms-chars = "0123456789+"
>> global-sender = "isi dengan sms center"
>> log-file = "/var/log/kannel/smsbox.log"
>> log-level = 0
>> access-log = "/var/log/kannel/access.log"
>>
>> #SEND-SMS USERS
>>
>> group = sendsms-user
>> username = admin
>> password = playsms
>> #concatenation = false
>> max-messages = 5
>> split-chars = "#"
>> forced-smsc = B
>> #user-deny-ip = ""
>> #user-allow-ip = ""
>> #dlr-url="http://localhost/playsms/plugin/gateway/kannel/dlr.php?d=%d";
>>
>> group = sms-service
>> keyword = default
>> #keyword-regex = .*
>> catch-all = true
>> max-messages = 1
>> text = "Hello Your message is recieved"
>>
>>
>> --
>> View this message in context:
>> http://old.nabble.com/On-Certain-Message%3A-reply-sent-to-particular-number-tp34512272p34512272.html
>> Sent from the Kannel - User mailing list archive at Nabble.com.
>>
>>
>>
> 
> 

-- 
View this message in context: 
http://old.nabble.com/On-Certain-Message%3A-reply-sent-to-particular-number-tp34512272p34517123.html
Sent from the Kannel - User mailing list archive at Nabble.com.


Reply via email to