As you could see from my configuration. There are two SMSCs. One works with GSM modem, and one works as SMPP client. I write my own application, and a SMPP server. My application and Kannel will connect to that SMPP server. When my application send message to client mobile, I want the GSM modem will do that job. So in the get-url, I point to the cgi to send SMS message. This configuration could send message to client but it also sends the "0: Accepted for delivery" message. Anyway, I will try to work around with the drl-url as you mention.
Thanks a lot. Will keep you update if I can solve this problem. Thanks again --- On Fri, 9/1/09, Nikos Balkanas <[email protected]> wrote: > From: Nikos Balkanas <[email protected]> > Subject: Re: Problem with delivery report message about "0: Accepted for > delivery" > To: [email protected], "Kannel" <[email protected]> > Date: Friday, 9 January, 2009, 5:22 PM > Hi, > > Well, you need to tell Kannel what to do with the DLR > report it got. Have you tried specifying a dlr-url in your > sms-service group? > > I iamgine you talk about MOs. > > BR, > Nikos > ----- Original Message ----- From: "Pham Ngoc > Khanh" <[email protected]> > To: "Kannel" <[email protected]> > Sent: Friday, January 09, 2009 11:56 AM > Subject: Problem with delivery report message about > "0: Accepted for delivery" > > > Hi all, > > I got a problem with the delivery report message about > "0: Accepted for delivery". Below is my > configuration > > group = core > admin-port = 13000 > smsbox-port = 13001 > admin-password = bar > log-file = "/tmp/kannel.log" > log-level = 0 > box-allow-ip = "127.0.0.1" > > group = modems > id = nokiaphone > name = "Nokia" > detect-string = "Nokia" > detect-string2 = "E51" > need-sleep = true > init-string = "AT+CPMS=?" > > group = smsc > smsc = at > smsc-id=nokia > modemtype = nokiaphone > device=/dev/ttyACM0 > my-number = xxxxxxxxx > sms-center = xxxxxxxxx > speed = 0 > > group = smsc > smsc = smpp > smsc-id = smpp > port = 2775 > connect-allow-ip = *.*.*.* > host = localhost > smsc-username = smsc > smsc-password = smsc > system-type = "VMA" > address-range = "" > denied-smsc-id = smpp;nokia > > group = smsbox > bearerbox-host = 127.0.0.1 > sendsms-port = 13013 > global-sender = xxxxxxxx > log-level = 0 > > group = sendsms-user > username = user > password = user > concatenation= true > > group = sms-service > keyword = default > text = "No action specified" > > group = sms-service > keyword = mibento > get-url = > "http://localhost:13013/cgi-bin/sendsms?username=user&password=user&from=%p&to=%P&text=%S&smsc=nokia" > max-messages = 1 > accepted-smsc = smpp > > The problem is that after Kannel sent message to client it > then sends the message "0: Accepted for delivery" > to client as well. I read somewhere on th internet that set: > max-messages=0 will prevent sending reply message. But if I > do that, Kannel does not send any message to client. > So could someone tell me what i was wrong, and help me out? > > Thank in advance > K
