Add username=xxx&password=yyy to your dlr http request.

These parameters should be defined in kannel.conf:

group = smsc
...other parameters
generic-param-username = xxx
generic-param-password = yyy

== Rene


-----Original Message-----
From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of doctin
Sent: Sunday, 29 April, 2012 10:39
To: users@kannel.org
Subject: DLR inject


Hi


SMPP Client<---->opensmppbox<----->sqlbox<---->kannel gateway<----> HTTP
SMSC


group = smsc
smsc = http
smsc-id = http1
system-type = generic
port = 9100
connect-allow-ip = "*.*.*.*"
send-url = "http://www.xxxxxx.biz/sms/test.php?from=%P&to=%p&text=%b";
status-success-regex = "ok"
status-permfail-regex = "failure"
status-tempfail-regex = "retry later"
generic-foreign-id-regex = "<id>(.+)</id>"
generic-message-sent = "Message sent with ID: %I"
generic-status-sent = 200
generic-status-error = 404
log-file = "/var/log/kannel/http1.log"

how can i inject dlr in the port 9100? i tried
http://xxx.xxx.xxx.xxx:9100/sms?dlr-mask=1&dlr-mid=e18c5ff9-3186-4fe9-bfd5-2
ef3bb783e9a

I am getting Authorization failed for sendsms

please help me with sample configuration

Thanks in advance 
-- 
View this message in context:
http://old.nabble.com/DLR-inject-tp33763276p33763276.html
Sent from the Kannel - User mailing list archive at Nabble.com.





Reply via email to