On Sat, 2011-01-22 at 17:09, Bob O'Souna wrote:
> > Set the get-url in sms-service group over which you receive sms to
> > point to your script.
> > Do whatever you want with the received sms and then send it to the
> > Kannel via (default, or change it if you prefer) sendsms-url
> > (/cgi-bin/sendsms).
> I have read these lines at least 1000 times and I am about to scream!! lol
> 
> This is my sms-service
> 
> group=sms-service
> keyword=default
> name=mytrap
> catch-all=true
> accepted-smsc=mySMSC
> omit-empty=true
> max-messages=0
> concatenation=true
> get-url="http://xxxx/sms_apis/sendctrlsms.php?from=%P&to=%p&msg=%a&drlurl=xxx";
> 
> 
> From a browser,
> http://xxxx/sms_apis/sendctrlsms.php?from=%P&to=%p&msg=%a&drlurl=xxx sends my
> desired SMS to the desired target if I substitute %P, %p and %a.
> 
> However, when sent a message from another SMSC, I just DONT get the SMS!! I 
> have
> no other sms-service definations.

You should check Kannel log files to see if the message arrived to
Kannel and does Kannel tried to send it to your web server.

Then, if it is there does the Kannel connects to your web server or does
your server accepts HTTP request from Kannel, or the access from Kannel
is blocked by web server configuration or firewall.

> Can anyone point me to what I am doing wrong??

You should read *carefully* userguide. There you will find answers to
all your questions. And (as I suggested to you earlier) read
*carefully* the
http://www.catb.org/~esr/faqs/smart-questions.html
if you didn't already.

This advice would be useful for most subscribers to users@kannel.org
list.

-- 
Kind regards,  Milan
--------------------------------------------------
Arvanta, IT Security        http://www.arvanta.net
Please do not send me e-mail containing HTML code.

Reply via email to