Do you mean that you have SMPP connection and forward the incoming messages to 
your PHP script? If yes then your configuration is wrong. You need SMS-Service 
Group, check it in the user guide.



On Dec 19, 2012, at 1:54 PM, Ali Kashif wrote:

> 
> according to documentation max-messages        applies to service and send 
> sms user.
> 
> i am receiving SMPP incomming messages, which i an  passing through the PHP 
> using send-url. 
> 
> ###########################
> here is my smsc
> -----
> 
> group = smsc
> smsc = http
> system-type = generic
> smsc-id = localpars
> log-file = "/var/log/kannel/httpsmsc.log"
> port = 8998
> send-url = 
> "http://localhost/kannel/localparser.php?date=%t&unified_sender=%Q&unified_receiver=%q&message=%a&localsmsc=%i&dlr-mask=%d&service=%n&binfo=%B&sender=%P&receiver=%p&mid=%I&dlr-url=%R&coding=%c&charset=%C&FID=%F&mclass=%m";
> connect-allow-ip = "*.*.*.*"
> reroute-dlr = true
> smsc-username = muser
> smsc-password = mpass
> status-success-regex = ""
> status-permfail-regex = "failure"
> status-tempfail-regex = "retry later"
> 
> ###########################
> 
> i am really not sure setting max-messages will help me,
> 
> 
> Thanks 
> Ali
> 
> 
> On Tue, Dec 18, 2012 at 8:33 PM, Rene Kluwen <[email protected]> wrote:
> Try to set max-messages in your config. See the users manual.
> 
>  
> 
> From: [email protected] [mailto:[email protected]] On 
> Behalf Of Ali Kashif
> Sent: dinsdag 18 december 2012 18:14
> To: [email protected]
> Subject: Multipart SMS and http send-url blank dlr-url
> 
>  
> 
> Dear friends,
> 
>  
> 
> using kannel 1.5;
> 
> using opensmpp;
> 
> using sqlbox;
> 
>  
> 
> i have created an http smsc which is receiving messages from SMPP like 
> 
>  
> 
> openSMPP --> SQLBOX --> kannel httpsmsc--> sends data to my php file
> 
>  
> 
> now when ever a multi part message is received, the Data received by php is 
> not good.
> 
>  
> 
> ##############################
> 
> here is my http send data url
> 
> ##############################
> 
> http://localhost/kannel/localparser.php?date=%t&unified_sender=%Q&unified_receiver=%q&message=%a&localsmsc=%i&dlr-mask=%d&service=%n&binfo=%B&sender=%P&receiver=%p&mid=%I&dlr-url=%R&coding=%c&charset=%C&FID=%F&mclass=%m
> 
>  
> 
>  
> 
> and here is what i am getting for a multipart message 
> 
> ##############################
> 
>  
> 
> Array
> 
> (
> 
>     [date] => 2012-12-18 16:48:18
> 
>     [unified_sender] => 9XXXXXXXXXXX
> 
>     [unified_receiver] => +9XXXXXXXXXXX
> 
>     [message] => []
> 
>     [localsmsc] => localpars
> 
>     [dlr-mask] => 0
> 
>     [service] => XXXX
> 
>     [binfo] =>
> 
>     [sender] => 9XXXXXXXXXX
> 
>     [receiver] => +9XXXXXXXXXXX
> 
>     [mid] => 56b4d632-4389-41d4-8b79-c0b7eb44d105
> 
>     [dlr-url] =>
> 
>     [coding] => 0
> 
>     [charset] => UTF-8
> 
>     [FID] => 56b4d632
> 
>     [mclass] => -1
> 
> )
> 
>  
> 
> ##############################
> 
> just to let you know that in sqlbox sent_sms table the dlr_url field has data 
> and it is like this for above SMS
> 
>  
> 
> 56b4d632;56b4d632;2c2ba548;45ab6181
> 
>  
> 
>  
> 
>  
> 
>  
> 
>  
> 
> if a normal message is received the data received is like this 
> 
>  
> 
> ##############################
> 
> Array
> 
> (
> 
>     [date] => 2012-12-18 16:49:25
> 
>     [unified_sender] => 9XXXXXXXXXX
> 
>     [unified_receiver] => +9XXXXXXXXXX
> 
>     [message] => []
> 
>     [localsmsc] => localpars
> 
>     [dlr-mask] => 19
> 
>     [service] => XXXX
> 
>     [binfo] =>
> 
>     [sender] => 9XXXXXXXXXXX
> 
>     [receiver] => +9XXXXXXXXXXX
> 
>     [mid] => f6585627-0cde-4f3b-84e7-9d73ca041043
> 
>     [dlr-url] => f6585627
> 
>     [coding] => 0
> 
>     [charset] => UTF-8
> 
>     [FID] => f6585627
> 
>     [mclass] => -1
> 
> )
> 
>  
> 
> ##############################
> 
>  
> 
>  
> 
> can you please some one advise me what wrong i am doing 
> 
>  
> 
> Thanks 
> 
> Ali
> 
> 

Willy Mularto
F300HD+MR18DE (NLC1725)









Reply via email to