| Author | Post | 
		
			|  | #1 Tue Jul 14, 2009 10:24, 198 months ago. | 
		
			| Member Registered:Jul 2009
 Location: NCR, Philippines | Hi,
 Please help.
 
 I tried to use the smstest.php but i got an error
 
 charset: UNICODE
 text: This is a test message
 FAILED!
 
 
 Please help
 
 Thanks
 Dexter
 
 
 | 
		
			|  | #2 Tue Jul 14, 2009 11:39, 198 months ago. | 
		
			| Administrator Registered:May 2009
 Location: Jyväskylä, Finland | You web server account ( www-data ? ) cannot write files to the /var/spool/sms/outgoing folder. You should adjust priviledges, but easiest and fastest way is making outgoing world-writable: chmod 777 /var/spool/sms/outgoing.
 
 | 
		
			|  | #3 Wed Jul 15, 2009 01:29, 198 months ago. | 
		
			| Member Registered:Jul 2009
 Location: NCR, Philippines Topic owner | it can now write to the folder and no error. However, its stuck there. 
 Usually, I notice before, it creates a file then create another file that is .LOCK
 
 But now, its just a file .LOCK and it wont move to the Modem que folder.
 
 Please help
 
 Thanks
 Dexter
 
 
 | 
		
			|  | #4 Wed Jul 15, 2009 01:36, 198 months ago. | 
		
			| Member Registered:Jul 2009
 Location: NCR, Philippines Topic owner | To: 639228986912Alphabet: UCS
 Fail_reason: No text or data
 
 ============
 That is the error when i open the file using notepad
 
 
 | 
		
			|  | #5 Wed Jul 15, 2009 03:10, 198 months ago. | 
		
			| Member Registered:Jul 2009
 Location: NCR, Philippines Topic owner | I managed to make it work now.
 Thanks!!!
 
 For other fellows, please make sure php mbstring is installed
 
 BUT I GOT ANOTHER ERROR WHEN SENDING 160 characters
 ============================================
 To: 639228986931
 Alphabet: UCS
 Modem: SAMSUNG1
 IMSI: 515050310587262
 Fail_reason: ERROR
 PDU:
 
 
 | 
		
			|  | #6 Wed Jul 15, 2009 03:28, 198 months ago. | 
		
			| Member Registered:Jul 2009
 Location: NCR, Philippines Topic owner | I noticed
 When i am sending thru the server console using the command sendsms, I can send 160 Characters
 
 But when I use the PHP file to send sms, I cannot sent more than approx 60 char.
 
 Help please.
 
 Thanks
 Dexter
 
 
 | 
		
			|  | #7 Wed Jul 15, 2009 07:10, 198 months ago. | 
		
			| Member Registered:Jul 2009
 Location: NCR, Philippines Topic owner | I fixed it. 
 For longer messages, just use ISO type
 
 Thanks!
 
 Dexter
 
 
 | 
		
			|  | #8 Wed Jul 15, 2009 08:13, 198 months ago. | 
		
			| Administrator Registered:May 2009
 Location: Jyväskylä, Finland | You are using smsd version 3.1.3 and it is capable to split Unicode messages too. Probably you device does not support concatenated Unicode messages?
 From the log, you could check that smsd says "I have to send 2 short message for <filename>". Then, if device answers "ERROR" right after the first PDU is sent, you can start searching a new device...
 
 
 |