Dear all,
 
I try to use T68 as SMSC.
I use sample modem conf from latest Kannel CVS.
 
The Bearerbox succesfully initiate the phone (on /dev/ttySx) and resulting this debug message:
--------------------------------------------------------------------------------------------------------
2002-06-27 20:56:39 [0] INFO: MAIN: Start-up done, entering mainloop
2002-06-27 20:56:39 [0] DEBUG: AT2[/dev/ttyS0]: start called
2002-06-27 20:56:39 [8] DEBUG: sms_router: list_len = 0
2002-06-27 20:56:41 [7] DEBUG: AT2[/dev/ttyS0]: --> AT^M
2002-06-27 20:56:41 [7] DEBUG: AT2[/dev/ttyS0]: <-- AT
2002-06-27 20:56:41 [7] DEBUG: AT2[/dev/ttyS0]: <-- OK
2002-06-27 20:56:41 [7] INFO: AT2[/dev/ttyS0]: closing device
2002-06-27 20:56:41 [7] INFO: AT2[/dev/ttyS0]: speed is 9600
2002-06-27 20:56:41 [7] INFO: AT2[/dev/ttyS0]: opening device
2002-06-27 20:56:41 [7] DEBUG: AT2[/dev/ttyS0]: device opened
2002-06-27 20:56:41 [7] DEBUG: AT2[/dev/ttyS0]: device opened
2002-06-27 20:56:41 [7] INFO: AT2[/dev/ttyS0]: init device
2002-06-27 20:56:41 [7] INFO: AT2[/dev/ttyS0]: speed set to 9600
2002-06-27 20:56:41 [7] DEBUG: AT2[/dev/ttyS0]: --> AT^M
2002-06-27 20:56:41 [7] DEBUG: AT2[/dev/ttyS0]: <-- AT
2002-06-27 20:56:41 [7] DEBUG: AT2[/dev/ttyS0]: <-- OK
2002-06-27 20:56:41 [7] DEBUG: AT2[/dev/ttyS0]: --> AT&F^M
2002-06-27 20:56:41 [7] DEBUG: AT2[/dev/ttyS0]: <-- AT&F
2002-06-27 20:56:41 [7] DEBUG: AT2[/dev/ttyS0]: <-- OK
2002-06-27 20:56:41 [7] DEBUG: AT2[/dev/ttyS0]: --> ATE0^M
2002-06-27 20:56:41 [7] DEBUG: AT2[/dev/ttyS0]: <-- ATE0
2002-06-27 20:56:41 [7] DEBUG: AT2[/dev/ttyS0]: <-- OK
2002-06-27 20:56:41 [7] DEBUG: AT2[/dev/ttyS0]: --> AT+IFC=2,2^M
2002-06-27 20:56:41 [7] DEBUG: AT2[/dev/ttyS0]: <-- OK
2002-06-27 20:56:41 [7] DEBUG: AT2[/dev/ttyS0]: --> AT+CPIN?^M
2002-06-27 20:56:41 [7] DEBUG: AT2[/dev/ttyS0]: <-- +CPIN: READY
2002-06-27 20:56:42 [7] DEBUG: AT2[/dev/ttyS0]: <-- OK
2002-06-27 20:56:42 [7] DEBUG: AT2[/dev/ttyS0]: --> AT+CSCA="0855000000"^M
2002-06-27 20:56:42 [7] DEBUG: AT2[/dev/ttyS0]: <-- OK
2002-06-27 20:56:42 [7] DEBUG: AT2[/dev/ttyS0]: --> AT+CMGF=0^M
2002-06-27 20:56:42 [7] DEBUG: AT2[/dev/ttyS0]: <-- OK
2002-06-27 20:56:42 [7] DEBUG: AT2[/dev/ttyS0]: --> AT+CSMS=?^M
2002-06-27 20:56:42 [7] DEBUG: AT2[/dev/ttyS0]: <-- +CSMS: (0)
2002-06-27 20:56:42 [7] DEBUG: AT2[/dev/ttyS0]: <-- OK
2002-06-27 20:56:42 [7] DEBUG: AT2[/dev/ttyS0]: --> AT+CNMI=3,3^M
2002-06-27 20:56:43 [7] DEBUG: AT2[/dev/ttyS0]: <-- OK
2002-06-27 20:56:43 [7] DEBUG: AT2[/dev/ttyS0]: --> AT+CPMS="SM"^M
2002-06-27 20:56:43 [7] DEBUG: AT2[/dev/ttyS0]: <-- +CPMS: 0,20,0,20,2,70
2002-06-27 20:56:43 [7] DEBUG: AT2[/dev/ttyS0]: <-- OK
2002-06-27 20:56:43 [7] INFO: AT2[/dev/ttyS0]: AT SMSC successfully opened.
2002-06-27 20:56:45 [7] DEBUG: AT2[/dev/ttyS0]: --> AT+CBC;+CSQ^M
2002-06-27 20:56:45 [7] DEBUG: AT2[/dev/ttyS0]: <-- +CBC: 0,42
2002-06-27 20:56:45 [7] DEBUG: AT2[/dev/ttyS0]: <-- +CSQ: 20,99
2002-06-27 20:56:45 [7] DEBUG: AT2[/dev/ttyS0]: <-- OK
2002-06-27 20:56:45 [7] DEBUG: AT2[/dev/ttyS0]: --> AT+CPMS?^M
2002-06-27 20:56:45 [7] DEBUG: AT2[/dev/ttyS0]: <-- +CPMS: "SM",0,20,"SM",0,20,"ME",2,70
2002-06-27 20:56:45 [7] DEBUG: AT2[/dev/ttyS0]: <-- OK
--------------------------------------------------------------------------------------------------------
 
 
 
 
This is good indication , I think.
But when I tried to send sms via http interface,
 
I got this error message:
--------------------------------------------------------------------------------------------------------
2002-06-27 20:58:43 [16] DEBUG: boxc_receiver: sms received
2002-06-27 20:58:45 [7] DEBUG: AT2[/dev/ttyS0]: TP-Validity-Period: 24.0 hours
2002-06-27 20:58:45 [7] DEBUG: AT2[/dev/ttyS0]: --> AT+CMGS=18^M
2002-06-27 20:58:45 [7] DEBUG: AT2[/dev/ttyS0]: <-- >
2002-06-27 20:58:45 [7] DEBUG: AT2[/dev/ttyS0]: send command status: 1
2002-06-27 20:58:45 [7] DEBUG: AT2[/dev/ttyS0]: --> 0011000C812618650053560000A704EEF71B0E
2002-06-27 20:58:45 [7] DEBUG: AT2[/dev/ttyS0]: --> ^Z
2002-06-27 20:58:48 [7] DEBUG: AT2[/dev/ttyS0]: <-- >
2002-06-27 20:58:48 [7] DEBUG: AT2[/dev/ttyS0]: <-- +CMS ERROR: 500
2002-06-27 20:58:48 [7] ERROR: AT2[/dev/ttyS0]: CMS ERROR: +CMS ERROR: 500
2002-06-27 20:58:48 [7] DEBUG: AT2[/dev/ttyS0]: send command status: 1
2002-06-27 20:58:48 [7] DEBUG: AT2[/dev/ttyS0]: --> AT+CMGS=18^M
2002-06-27 20:58:48 [7] DEBUG: AT2[/dev/ttyS0]: <-- >
2002-06-27 20:58:48 [7] DEBUG: AT2[/dev/ttyS0]: send command status: 1
2002-06-27 20:58:48 [7] DEBUG: AT2[/dev/ttyS0]: --> 0011000C812618650053560000A704EEF71B0E
2002-06-27 20:58:48 [7] DEBUG: AT2[/dev/ttyS0]: --> ^Z
2002-06-27 20:58:55 [7] DEBUG: AT2[/dev/ttyS0]: <-- >
2002-06-27 20:58:55 [7] DEBUG: AT2[/dev/ttyS0]: <-- +CMS ERROR: 500
2002-06-27 20:58:55 [7] ERROR: AT2[/dev/ttyS0]: CMS ERROR: +CMS ERROR: 500
2002-06-27 20:58:55 [7] DEBUG: AT2[/dev/ttyS0]: send command status: 1
2002-06-27 20:58:55 [7] DEBUG: AT2[/dev/ttyS0]: --> AT+CMGS=18^M
2002-06-27 20:58:55 [7] DEBUG: AT2[/dev/ttyS0]: <-- >
2002-06-27 20:58:55 [7] DEBUG: AT2[/dev/ttyS0]: send command status: 1
2002-06-27 20:58:55 [7] DEBUG: AT2[/dev/ttyS0]: --> 0011000C812618650053560000A704EEF71B0E
2002-06-27 20:58:55 [7] DEBUG: AT2[/dev/ttyS0]: --> ^Z
2002-06-27 20:59:00 [7] DEBUG: AT2[/dev/ttyS0]: <-- >
2002-06-27 20:59:00 [7] DEBUG: AT2[/dev/ttyS0]: <-- +CMS ERROR: 500
2002-06-27 20:59:00 [7] ERROR: AT2[/dev/ttyS0]: CMS ERROR: +CMS ERROR: 500
2002-06-27 20:59:00 [7] DEBUG: AT2[/dev/ttyS0]: send command status: 1
2002-06-27 20:59:00 [7] DEBUG: AT2[/dev/ttyS0]: --> AT+CPMS?^M
2002-06-27 20:59:01 [7] DEBUG: AT2[/dev/ttyS0]: <-- +CPMS: "SM",0,20,"SM",0,20,"ME",2,70
2002-06-27 20:59:01 [7] DEBUG: AT2[/dev/ttyS0]: <-- OK
--------------------------------------------------------------------------------------------------------
 
I do not know what CMS ERROR:500 means. Can anyone help me with this ?
 
Best Regards,

 
 
Eko Apriandi Yanuar
C/C++ Application Developer
Email : [EMAIL PROTECTED]
Phone : +62-21-5211500
PT INFRACELL NUSATAMA / 3WSI
World Trade Centre 12th Floor
Sudirman Street, Kav 29-31
Jakarta 12920 - Indonesia

Reply via email to