Hi, 
he need URLENCODE the text parameter. I test with curl 
 
curl "http://localhost/service?sender=9999999999&from=3333&text=its+a+good+game";


 
 

________________________________

From: [email protected] [mailto:[email protected]] On Behalf Of 
Nikos Balkanas
Sent: Wednesday, February 18, 2009 2:14 PM
To: narendra reddy; [email protected]
Subject: Re: URL


Hi,
 
I don't quite make out your request, but I can infer that smt is wrong from 
your logs.
You have a typo in your get-url. Try:
 
get-url = "http://localhost/service?sender=9999999999&from=3333&text=its 
<http://localhost/service?sender=9999999999&from=3333&text=its>  a good game"

BR,
Nikos

        ----- Original Message ----- 
        From: narendra reddy <mailto:[email protected]>  
        To: [email protected] 
        Sent: Wednesday, February 18, 2009 5:45 PM
        Subject: URL

        HI,
        
            how we can set  answer for cricket is  a keyword 
        
          group = sms-service
        keyword = cricket
        get-url = 
"http://localhosthost/service?sender=9999999999&from=3333&text=its a good game"
        accept-x-kannel-headers = true
        max-messages = 3
        concatenation = true    
        
        but in the smsbox file it is showing below error
        2009-02-18 21:06:25 [28265] [9] ERROR: Couldn't send request to 
<http://host/service?sender=9958167784&text=>
        2009-02-18 21:06:25 [28265] [9] ERROR: Error while gw_gethostbyname 
occurs.
        2009-02-18 21:06:25 [28265] [9] ERROR: System error 1: Operation not 
permitted
        2009-02-18 21:06:25 [28265] [9] ERROR: gethostbyname failed
        2009-02-18 21:06:25 [28265] [9] ERROR: System error 2: No such file or 
directory
        
        
        in the smsboxacceess log file also it is showing  like below.
        2009-02-18 21:03:07 SMS HTTP-request sender:9958167784 request: 'Could 
not fetch content, sorry.' url: '' reply: -1 ''
        2009-02-18 21:03:07 SMS HTTP-request sender:9958167784 request: 'Could 
not fetch content, sorry.' url: '' reply: -1 '
         
        --        wat is wrong in this issue.and wat is post-url and get-url .i 
kept the config file as above but it is showing so many errors.
        Best Regards,
        
        
        


  • URL narendra reddy
    • Re: URL Nikos Balkanas
      • RE: URL Villada, Gustavo
    • url narendra reddy

Reply via email to