Gsm delivery

Gsm delivery SearchSearch
Author Message
massi massi
New member
Username: Massi

Post Number: 4
Registered: 12-2005
Posted on Wednesday, November 08, 2006 - 01:08 pm:   

Hello
i have nowsms 2006 with latest patch (2006/10/30) and I try to send a message with delivery request but I don't reveive the delivery report.
I use this url to send the message:
http://127.0.0.1:8800/?PhoneNumber=xxxxxxxx&Text=test&ReceiptRequested=Yes
my smsdebug
13:31:48:965 [0] main: Now SMS/MMS Gateway v2006.10.30 Web server started on port number 8800
13:31:51:008 [0] main: preferred sender = xxxxxxx,COM4:
13:31:51:028 [2] ThreadProcessModem: SDKLINK - VirtualSMSC
13:31:51:028 [3] ThreadProcessModem: COM4:
13:31:51:028 [2] SenderAddressOverride: Yes
13:31:56:065 [3] ThreadProcessModem: Before ModemAllocate - COM4:
13:31:56:065 [3] ThreadProcessModem: After ModemAllocate - COM4: - OK
13:31:56:065 [3] ThreadProcessModem: Re-initializing modem: COM4: ...
13:31:59:921 [3] TestModemSpeed: Initialised modem at 115200 bps
13:32:01:593 [3] ThreadProcessModem: AT+CPMS?
13:32:02:004 [3] ThreadProcessModem:
+CPMS: "SM",8,10,"SM",8,10,"ME",3,70

OK

13:32:02:004 [3] ThreadProcessModem: AT+CNMI=,,,1
13:32:02:254 [3] ThreadProcessModem:
+CMS ERROR: 303

13:32:02:254 [3] ThreadProcessModem: AT+CNMI?
13:32:02:614 [3] ThreadProcessModem:
+CNMI: 2,0,0,0,0

OK

13:32:02:614 [3] ThreadProcessModem: AT+CPMS=?
13:32:03:025 [3] ThreadProcessModem:
+CPMS: ("ME","SM"),("ME","SM"),("ME")

OK

13:32:03:325 [3] ThreadProcessModem: Modem initialization complete: COM4:
13:32:49:602 [8] ThreadProcessConnection: Processing connection from 127.0.0.1...

13:32:49:612 [8] ThreadProcessConnection: Processing request /?PhoneNumber=xxxxx&Text=test&ReceiptRequested=Yes
13:32:49:612 [8] Debug: 1 recipient entries
13:32:49:612 [8] ThreadProcessConnection: Before message loop
13:32:49:612 [8] ThreadProcessConnection: Before message loop
13:32:49:612 [8] ThreadProcessConnection: Begin message loop
13:32:49:612 [8] ThreadProcessConnection: End message loop
13:32:49:612 [8] ThreadProcessConnection: Request processing complete
13:32:50:133 [3] ThreadProcessModem: Processing 4551CE71.req...
13:32:50:133 [3] ThreadProcessModem: OUT: AT+CMGS=15

13:32:50:433 [3] ThreadProcessModem: IN:
>
13:32:50:433 [3] ThreadProcessModem: OUT: 002101088112710361000004F4F29C0E
13:32:55:100 [3] ThreadProcessModem: +CMGS: 0

OK
I use a T610 Sony Ericsson phone with bluetooth
please where is the error???
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 6814
Registered: 10-2002
Posted on Thursday, November 09, 2006 - 09:03 pm:   

Not all modems, and not all networks support delivery reports.

The fact that the debug log shows "AT+CNMI=,,,1" returning an error of "CMS ERROR: 303" (not supported) suggests that the device's modem interface does not support delivery reports.

I have seen that the SonyEricsson K700, K750 and W800 support delivery reports, but it looks like the earlier model T610 did not.

I would be curious ... if you edit SMSGW.INI, under the [Modem - COM4:] section header, add CommandPostInit1=AT+CNMI=?

When NowSMS starts up, it should show it sending the command "AT+CNMI=?" to the modem. I would be curious what the modem responds back with?

-bn
massi massi
New member
Username: Massi

Post Number: 5
Registered: 12-2005
Posted on Friday, November 10, 2006 - 12:52 pm:   

Hello
I insert CommandPostInit1=AT+CNMI=? in my config file and this is my debug
13:28:28:786 [0] main: Now SMS/MMS Gateway v2006.10.30 Web server started on port number 8800
13:28:30:789 [0] main: preferred sender = xxxxxx,COM5:
13:28:30:789 [2] ThreadProcessModem: SDKLINK - VirtualSMSC
13:28:30:789 [2] SenderAddressOverride: Yes
13:28:30:789 [3] ThreadProcessModem: COM5:
13:28:35:806 [3] ThreadProcessModem: Before ModemAllocate - COM5:
13:28:35:806 [3] ThreadProcessModem: After ModemAllocate - COM5: - OK
13:28:35:806 [3] ThreadProcessModem: Re-initializing modem: COM5: ...
13:28:41:784 [3] TestModemSpeed: Initialised modem at 115200 bps
13:28:43:397 [3] ThreadProcessModem: AT+CPMS?
13:28:43:727 [3] ThreadProcessModem:
+CPMS: "SM",0,30,"SM",0,30,"ME",0,70

OK

13:28:43:727 [3] ThreadProcessModem: AT+CNMI=2,2,2,1,0
13:28:43:938 [3] ThreadProcessModem:
+CMS ERROR: 303

13:28:43:938 [3] ThreadProcessModem: AT+CNMI=2,2
13:28:44:188 [3] ThreadProcessModem:
+CMS ERROR: 303

13:28:44:188 [3] ThreadProcessModem: AT+CNMI=,,,1
13:28:44:438 [3] ThreadProcessModem:
+CMS ERROR: 303

13:28:44:438 [3] ThreadProcessModem: AT+CNMI?
13:28:44:849 [3] ThreadProcessModem:
+CNMI: 2,0,0,0,0

OK

13:28:44:849 [3] ThreadProcessModem: AT+CPMS=?
13:28:45:159 [3] ThreadProcessModem:
+CPMS: ("ME","SM"),("ME","SM"),("ME")

OK

13:28:45:390 [3] ThreadProcessModem: AT+CNMI=?
13:28:45:780 [3] ThreadProcessModem:
+CNMI: (2),(0,1,3),(0,2),(0),(0)

OK

13:28:45:780 [3] ThreadProcessModem: Modem initialization complete: COM5:
13:31:56:344 [8] ThreadProcessConnection: Processing connection from 127.0.0.1...

13:31:56:344 [8] ThreadProcessConnection: Processing request /?PhoneNumber=xxxxxx&Text=test&ReceiptRequested=Yes
13:31:56:344 [8] Debug: 1 recipient entries
13:31:56:364 [8] ThreadProcessConnection: Before message loop
13:31:56:364 [8] ThreadProcessConnection: Before message loop
13:31:56:364 [8] ThreadProcessConnection: Begin message loop
13:31:56:364 [8] ThreadProcessConnection: End message loop
13:31:56:424 [8] ThreadProcessConnection: Request processing complete
13:31:57:205 [3] ThreadProcessModem: Processing 4554713C.req...
13:31:57:205 [3] ThreadProcessModem: OUT: AT+CMGS=15

13:31:57:456 [3] ThreadProcessModem: IN:
>
13:31:57:456 [3] ThreadProcessModem: OUT: 002101088112710361000004F4F29C0E
13:32:01:462 [3] ThreadProcessModem: +CMGS: 0

OK

Thanks
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 6819
Registered: 10-2002
Posted on Friday, November 10, 2006 - 04:04 pm:   

Thanks.

Unfortunately, this seems to confirm my suspicion. I don't think the modem interface of this particular device supports delivery receipts.

Unfortunately, there is no test to be certain. But most modems that support delivery receipts will support a parameter of 1 and/or 2 in the 4th setting for the AT+CNMI command. NowSMS can still support delivery reports even if the modem doesn't support this particular parameter, it's just been our experience that when this parameter is not supported, the modem itself does not support delivery receipts.

I don't have a T610 to test with, but I do have a T68i and T630 ... the related models that came just before and just after the T610, so I'm going to do a test on those devices to see what their level of support is. Unfortunately, I doubt that I will be able to do this test until next week.

-bn
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 6828
Registered: 10-2002
Posted on Tuesday, November 14, 2006 - 06:56 pm:   

Follow-up ...

I tested with the SonyEricsson T68i and T630 ... the GSM modem interface on these models will not support delivery receipts. So I would not expect the T610 to support delivery receipts ... consistent with what you have observed.

The K700 model, which for all intents was the successor to the T630, did introduce support for delivery receipts on the GSM modem interface.

-bn