Hi Rio,
Just notice your signature, are you from Indonesia? What telco are you trying 
to connect? I have a lot of experiences with Indonesian telcos.



On Nov 20, 2012, at 3:49 PM, [email protected] wrote:

> Ok I'll check the logs,
> Thank you Willy..
> 
> Rgds,
> -Rio Yotto
> Sent from my BlackBerry®
> powered by Sinyal Kuat INDOSAT
> From: Willy Mularto <[email protected]>
> Date: Tue, 20 Nov 2012 15:48:14 +0700
> To: Amin Mukhaimer<[email protected]>
> Cc: 'Rio Yotto'<[email protected]>; <[email protected]>
> Subject: Re: Step By Step DLR Kannel ?
> 
> The simplest way is having the log-level 0 to bearerbox and watch it. If 
> bearerbox receive the DLR then it will be the dlr-url is not set correctly.
> 
> 
> 
> On Nov 20, 2012, at 3:37 PM, Amin Mukhaimer wrote:
> 
>> Well it seems that you are inserting the SMS correctly but it’s status isn’t 
>> being updated ? kannel should call the URL to update the message status I 
>> suggest you start there, maybe call it manually and see if it works or not...
>>  
>>  
>> From: [email protected] [mailto:[email protected]] On Behalf 
>> Of Rio Yotto
>> Sent: Tuesday, November 20, 2012 10:31 AM
>> To: 'Willy Mularto'
>> Cc: [email protected]
>> Subject: RE: Step By Step DLR Kannel ?
>>  
>> the value of dlr-mask=31
>>  
>> thx
>>  
>> From: Willy Mularto [mailto:[email protected]] 
>> Sent: Tuesday, November 20, 2012 3:26 PM
>> To: Rio Yotto
>> Cc: [email protected]
>> Subject: Re: Step By Step DLR Kannel ?
>>  
>> What is your dlr-mask value? Please check user guide to set the proper value.
>>  
>>  
>>  
>> On Nov 20, 2012, at 2:22 PM, Rio Yotto wrote:
>>  
>> 
>> Dear bro and sis,
>>  
>> i have already configure delivery report, but i'm still stuck with the 
>> status, because i only receive the 8 status.
>> not 1(delivery success). How to receive the next status (1) ?
>>  
>> need some help from kannel experts,
>>  
>> thanks in advance and warm regards,
>> Rio Yotto - [email protected]
>>  
>> below my config :
>>  
>> smsbox.conf :
>> group = sendsms-user
>> dlr-url = "http://xxx.xxx.xxx.xxx/sms/ 
>> dlr.php?smsc=%A&ts=%T&destination=%p&source=%P&message_id=%F&service=%n&url=%R&mask=%d&isisms=%a"
>> username = xxxxx
>> password = xxxxx
>> forced-smsc = xxxxx
>> default-sender = 1234
>> max-messages = 20
>> concatenation = true
>>  
>> URL Hit :
>>   $url_path="http://xxx.xxx.xxx.xxx/sms 
>> /dlr.php?smsc=%i&dlr=%d&answer=%A&destination=%p&source=%P&ts=%T&smsID=12123&charset=%C&message_id=%I&status=%d";
>>  
>>    $hitpull = 
>> "http://xxx.xxx.xxx.xxx:13013/cgi-bin/sendsms?username=xxxx&smsc=xxxx&password=xxx&from=$dest&to=$src&text=".urlencode($reply)."&dlr-mask=31&dlr-url=".urlencode($url_path)."&meta-data=".urlencode("?smpp?shortname=$shortname&tx_id=$tx_id");
>>  
>> DLR.PHP :
>> <?
>> include("inc/config.inc.php");
>>  
>> $smsc = $_GET['smsc'];
>> $ts = $_GET['ts'];
>> $destination = $_GET['destination'];
>> $source = $_GET['source'];
>> $service = $_GET['service'];
>> $url = $_GET['url'];
>> $mask = $_GET['mask'];
>> $status = $_GET['status'];
>> $boxc = $_GET['boxc'];
>> $message_id = $_GET['message_id'];
>> $isisms = $_GET['isisms'];
>>  
>> $sql="insert into dlr 
>> (smsc,ts,destination,source,message_id,isisms,service,url,mask,status,boxc) 
>> values 
>> ('$smsc','$ts','$destination','$source','$message_id','$isisms','$service','$url','$mask','$status','$boxc')";
>> mysql_query($sql);
>>  
>> $query ="UPDATE dlr SET status='$status' WHERE message_id='$message_id'";
>> $result = mysql_query($query) or die("Query failed : " . mysql_error());
>>  
>> ?>
>>  
>>  
>>  
>> Willy Mularto
>> F300HD+MR18DE (NLC1725)
>>  
>>  
>>  
>>  
>>  
>>  
>>  
>> 
>>  
> 
> Willy Mularto
> F300HD+MR18DE (NLC1725)
> 
> 
> 
> 
> 
> 
> 
> 
> 

Willy Mularto
F300HD+MR18DE (NLC1725)









Reply via email to