OK. This is a bit clearer. You are pushing an sms through kannel's web 
interface to a recipient. He reads it off his mobile. He cannot reply to that, 
unless he sends another sms manually.

Maybe you can do something more dynamic with wap. There you can push a PPG 
message which contains a url, which the user can respond to (the url). The 
response will be in the web server and the url.

Finally, why don't you keep things simple? Just send from you mobile an sms to 
the receiver, and he can reply back if he wants to. You don't need kannel for 
that.

BR,
Nikos


----- Original Message ----- 
  From: RogerCong 
  To: [email protected] 
  Cc: [email protected] 
  Sent: Wednesday, September 16, 2009 6:59 AM
  Subject: RE: help with receiving message


  Sorry for the mis-understanding.  what I was trying to say is that: we are 
trying to use this gateway web interface to send out internal message out to 
our co-worker(which is working), what happen if they receiver replys a message 
back to the system, is this replied message stay in Kannel, if so, how can we 
read it?  we are not trying to read other people's message whom use this system.
   

------------------------------------------------------------------------------
  From: [email protected]
  To: [email protected]
  CC: [email protected]
  Subject: Re: help with receiving message
  Date: Wed, 16 Sep 2009 06:47:15 +0300


  OK, there seems to be a language barrier here. For people to help, they need 
first to understand you.

  1) "When people reply a message back to kannel"

  Sorry, i don't get it. People never reply anything to kannel. It is a 
gateway. People send a keyword and expect a (text, ringtone, logo) back. They 
never actually reply to the received object.

  "is my "get-url" will be triggered and automatically reply a message back to 
the sender again?"

  Yes. That's exactly what happens with sms-service. You can even select a 
specific section of the returned object as the returned text. I.e. 
  ALCOA: $12.32 (stock quote)

  Read the User guide on how to configure sms-service.

  2) You don't need to do anything. Kannel has a parser and will do it 
automatically for you. If you actually want to eavesdrop on sms traffic 
(unethical), you can find everything you need in the access logs.

  BR,
  Nikos
    ----- Original Message ----- 
    From: RogerCong 
    To: [email protected] ; [email protected] 
    Cc: [email protected] 
    Sent: Wednesday, September 16, 2009 6:06 AM
    Subject: RE: help with receiving message


    Ok, let me clarify this, when people reply a message back to kannel, kannel 
did receive it as I saw it on log, is my "get-url" will be triggered and 
automaticlly reply a message back to the sender again (i.e. test.php)?  Second 
question, for the contents of reply the message, do I need a script to read it 
from Kannel or do I need a script to listen the serial port and capture it when 
it is coming to the Kannel? 

    roger 
     

----------------------------------------------------------------------------
    From: [email protected]
    To: [email protected]; [email protected]
    CC: [email protected]
    Subject: Re: help with receiving message
    Date: Tue, 15 Sep 2009 09:00:06 +0300


    Hi,

    You are correct, but no biggie. If the url reponds, response is returned, 
and text is ignored.

    BR,
    Nikos
      ----- Original Message ----- 
      From: Michael Bochkaryov 
      To: rcong 
      Cc: [email protected] 
      Sent: Tuesday, September 15, 2009 7:10 AM
      Subject: Re: help with receiving message


      Hi!

      Do not mix "get-url" and "text" in sms-service group.
      If you want to forward MO message to HTTP service, you need only 
"get-url".



      2009/9/15 rcong <[email protected]>

      [skip] 

        group = sms-service
        keyword = default
        catch-all = yes
        get-url =
        "http://192.168.10.173/test.php?smsvendor=kannel&from=%P&to=%p&text=%b";
        assume-plain-text = true
        max-messages = 3
        text = "No service specified"


      In this section you need to remove "text" parameter.

      -- 
      Regards,
      Michael Bochkaryov
      www.rattler.kiev.ua



----------------------------------------------------------------------------
    �ΉΣΓΠΒ»΄� Windows Live Messenger 
ΗαΛΙ½»Αχ��Ή²�ν£΅ ΑΆ���ΒΤΨ£΅ 


------------------------------------------------------------------------------
  MessengerδΏ�ζ�¤η›Ύ2.0οΌ�更安全ε�―ι� η�„Messengerθ��天οΌ� 
��就下载� 

Reply via email to