Hi, to answer your second question there are a lot of smscs around which always send the delivery notification, even if it is not requested. But if you want to build a reliable service and check the invoice you get from your smsc in the end of the month (I made the experience that you REALLY should do that!) you better save the notification somewhere. (And yes, ACK is Acknowledge).
Regards Falko 2008/6/19 Monchanin Eric <[EMAIL PROTECTED]>: > Little update. > > I was able to replicate this problem in a pretty reliable way. > I just send myself an SMS to a number, and I get this weird msg to which my > SMSC replies "Request Failed" > > > Sent SMS [SMSC:my-smsc] [SVC:my-user] [ACT:] [BINF:] [from:27*********25] > [to:27*******62] [flags:1:0:-1:-1:31] [msg:90:(Hello) This is a test, how > are you ?] [udh:0:] > DLR SMS [SMSC:my-smsc] [SVC:my-user] [ACT:] [BINF:] [from:27*********25] > [to:27*******62] [flags:-1:-1:-1:-1:8] [msg:4:ACK/] [udh:0:] > Receive SMS [SMSC:my-smsc] [SVC:] [ACT:] [BINF:] [from:+27*********25] > [to:+27*******62] [flags:-1:0:-1:0:-1] [msg:107:id:0002099065 sub:001 > dlvrd:001 submit date:080619225822 done date:080619225829 stat:DELIVRD > err:001 text:.] [udh:0:] > Sent SMS [SMSC:my-smsc] [SVC:] [ACT:] [BINF:] [from:+27*******62] > [to:+27*********25] [flags:-1:0:-1:-1:-1] [msg:14:Request Failed] [udh:0:] > > > 1st send this SMS, then I get an ACK (not sure what it is, but it sounds > like acknowledgement > 2nd I get a DLR SMS so I can update my sending status. > 3rd I get, from the phone, to the longcode, some sort of delivery report > (here, DELIVRD) > 4th My SMSC replies with Request Failed > > I was advised to set max-messages to 0, after a few tests, it appears the > values of max-messages had to be carefully set. > > group = sms-service > accepted-smsc = my-smsc > get-url = > "http://localhost/kannel_delivery.php?sender=%p&text=%r&smsc=%i" > keyword = complex > max-messages = 0 > > group = smsc > smsc-id = my-smsc > smsc = smpp > host = xxx.xxx.xxx.xxx > port = 1234 > transceiver-mode = true > smsc-username = foo > smsc-password = bar > throughput = 10 > system-type = "" > dest-addr-ton = 1 > dest-addr-npi = 1 > source-addr-ton = 0 > source-addr-npi = 0 > denied-smsc-id = second-smsc > > group = sendsms-user > username = foo2 > password = bar2 > user-allow-ip = 127.0.0.1; > concatenation = true > max-messages = 5 > forced-smsc = my-smsc > > Using THIS setting, I am still getting the DELIVRD message and still sending > the Request Failed. > > Is there any way to request the phone not to send this delivery receipt, by > changing the mclass for instance ? > If not, is there any way to avoid my smsc to reply this message ? > > Thank you for your help, > > Eric > > > Monchanin Eric a écrit : >> >> Hello, >> >> I currently have a little problem, apparently coming from incoming >> messages. >> >> Here is an extract of my access.log file: >> >> 2008-06-18 18:17:18 Log begins >> 2008-06-18 18:49:41 Receive SMS [SMSC:test-smsc] [SVC:] [ACT:] [BINF:] >> [from:+27*********19] [to:+27*******00] [flags:-1:0:-1:0:-1] >> [msg:107:id:0002057734 sub:001 dlvrd:001 submit date:080617234901 done >> date:080617234901 stat:EXPIRED err:001 text:.] [udh:0:] >> 2008-06-18 18:49:41 Receive SMS [SMSC:test-smsc] [SVC:] [ACT:] [BINF:] >> [from:+27*********25] [to:+27*******62] [flags:-1:0:-1:0:-1] >> [msg:107:id:0002057735 sub:001 dlvrd:001 submit date:080617234907 done >> date:080617234907 stat:EXPIRED err:001 text:.] [udh:0:] >> 2008-06-18 18:49:42 Sent SMS [SMSC:test-smsc] [SVC:] [ACT:] [BINF:] >> [from:+27*******00] [to:+27*********19] [flags:-1:0:-1:-1:-1] >> [msg:14:Request Failed] [udh:0:] >> 2008-06-18 18:49:42 Sent SMS [SMSC:test-smsc] [SVC:] [ACT:] [BINF:] >> [from:+27*******62] [to:+27*********25] [flags:-1:0:-1:-1:-1] >> [msg:14:Request Failed] [udh:0:] >> >> >> So, I am apparently receiving some weird messages, from an unknown phone >> number, to another unknown phone number. And my kannel apparently replies >> with an SMS containing "Request Failed". >> >> Is there any way for me to get kannel to accept these "incoming" messages >> and not reply with a Request Failed message ? >> Also, has anyone any idea what these messages could be ? delivery receipt >> for sent SMS ? >> >> thanks for your time, >> >> Eric >> >> >> > > > >
