hi
I want to configure my kannel so that after send sms using cgi-bin/sendsms i
want to return to another page known as smsAlert.php i found on google that
if i can use dlr-url and define my path in that variable it might work, but
the problem is when i place dlr-url in kannel.conf it give the below error
as the smsAlert.php file is not there while i have placed the file in that
path

r...@steven-laptop:/home/steven# bearerbox -v 1 /etc/kannel/kannel.conf
2010-06-16 15:59:53 [4908] [0] INFO: Debug_lvl = 1, log_file = <none>,
log_lvl = 0
2010-06-16 15:59:53 [4908] [0] ERROR: fopen failed: couldn't open `
http://127.0.0.1/ams/includes/smsAlert.php?type=%d'
2010-06-16 15:59:53 [4908] [0] ERROR: System error 2: No such file or
directory
2010-06-16 15:59:53 [4908] [0] PANIC: Failed to load whole configuration.
Aborting!
2010-06-16 15:59:53 [4908] [0] PANIC: bearerbox(gw_panic+0xd4) [0x80d4674]
2010-06-16 15:59:53 [4908] [0] PANIC: bearerbox(cfg_read+0x6cf) [0x80bfd4f]
2010-06-16 15:59:53 [4908] [0] PANIC: bearerbox(main+0xeb) [0x8054b3b]
2010-06-16 15:59:53 [4908] [0] PANIC:
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6) [0x5b7b56]
2010-06-16 15:59:53 [4908] [0] PANIC: bearerbox [0x8053f31]

and when i try to pass dlr-url on a url it did not redirect me to my path
after sending the message it only display okay sms 0: Accepted for delivery

$url = "http://";. "localhost" . ":"
           . "13013"
       . "/cgi-bin/sendsms?username=" . "steven"
           . "&password=" . "123456"
           . "&to=" . $in_phoneNumber
           . "&text=" . $msg
       . "&dlr-mask=31&drl-url='
http://localhost/ams/includes/smsAlert.php?type=%d&;'";

PLEASE CAN ANY ONE HELP ME OR IF YOU KNOW ANY OTHER WAY OF CALLING ANOTHER
PAGE AFTER SEND A MESSAGE USING CGI OR I CAN I SEND MULTIPLE SMS WHIT
DIFFERENT CONTENT

Reply via email to