SMS Server Tools 3
 Menu
Basic information:
Additional information:
Support:
Get SMS Server Tools 3:
Additional Options

 Sponsored links

 Search
Custom Search

 Visitor locations
 
 SMS Server Tools 3 Community
Welcome, Guest. The forum is currently read-only, but will open soon. Thu Mar 13, 2025 16:58
SMSTools3 Community » Search Bottom

Page:  1

Keywords:
Mode: All keywords (AND)
maboo23: Hi, Here is my php file. Its not creating a file. Please help <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> <body> <?php if (!empty($_POST)) { $charset = $_POST['charset']; $text = $_POST['text']; $to = $_POST['to']; if ($to != '' && $charset != "" && $text != "") { $arrPhoneNumbers = explode(';', $to); if (!empty($arrPhoneNumbers)) { foreach ($arrPhoneNumbers as $phoneNumber) { print " charset: $charset<br /> text: $text<br/> <br /> "; $filename = "/var/spool/sms/outgoing/$phoneNumber-" . time(); $handle = fopen($filename .".LOCK", "w"); if ($handle != false) { fwrite($handle, "To: $phoneNumber\n"); if ($charset == "UNICODE") { fwrite($handle, "Alphabet: UCS\n"); $text = mb_convert_encoding($text, "UCS-2BE", "UTF-8"); } else { $text = mb_convert_encoding($text, "ISO-8859-15", "UTF-8"); } if ($_POST['flash'] != "") { fwrite($handle, "Flash: yes\n"); } fwrite($handle, "\n"); fwrite($handle, $text); fclose($handle); if (rename($filename .".LOCK", $filename) == true) { print "Message placed to the spooler,<br />filename: $filename<br />"; } else { print "FAILED!<br />"; } } else { print "FAILED!<br>"; } $result = ''; if (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') { $result = 'https://'; } else { $result = 'http://'; } $result .= $_SERVER['HTTP_HOST']; $result .= $_SERVER['PHP_SELF']; print "<br /><a href='$result'>Back</a>"; } } } } else { ?> <form name='test' id='test' method='post' accept-charset='UTF-8'> <p>SMS Gateway 1.01</p> <table width="322" height="278" border="1" cellpadding="3" cellspacing="0"> <tr> <td width="79" height="43"><p>TO:</p></td> <td width="225" align="center"> <label> <textarea name="to" cols="32" rows="2" id="to"></textarea> </label> </td> </tr> <tr> <td height="27">Example</td> <td align="center"> <p> 639187776655; 639228661133<br /></p> </td> </tr> <tr> <td height="27">TYPE:</td> <td align="left"> <label> <span id="RadioGroup1_0"> <input type="radio" name="charset" value="ISO" id="RadioGroup1_0" />UNICODE </span> </label> <br /> <label> <span id="RadioGroup1_0"> <input type="radio" name="charset" value="UNICODE" id="RadioGroup1_1" />ISO </span> </label> </td> </tr> <tr> <td height="30">&nbsp;</td> <td align="left"> <input name="flash" type="checkbox" id="flash" value="'f'" />Use Flash Message </td> </tr> <tr> <td height="33">MESSAGE:</td> <td align="center"><textarea name="message" cols="32" rows="5" id="message"></textarea></td> </tr> <tr> <td height="33">&nbsp;</td> <td align="right"><input type="submit" name="submit" id="submit" value="Submit" /></td> </tr> </table> </form> <?php } ?> </body> </html>
maboo23: Hi, Here is my php file. Its not creating a file. Please help ...
maboo23: Do you have full details how did you do it or setup? Please help Thanks Dexter
maboo23: I fixed it. For longer messages, just use ISO type Thanks! Dexter
maboo23: 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
maboo23: 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:
maboo23: To: 639228986912 Alphabet: UCS Fail_reason: No text or data ============ That is the error when i open the file using notepad
maboo23: 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
maboo23: Thanks! but i am getting ERROR1. Do i need to have the script before the web_sendsms.php? Thanks Ke!
maboo23: Thanks Keke! By the way, do you have a PHP format for multiple recipients too? Thanks and more power!!!
maboo23: Sorry for the question. I like to ask, how to create a script? I want to automate sending using the script you provide. Is it possible to use smsd to get data from MYSQL data base? Hoping for your answers. Thanks Dexter
maboo23: 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
maboo23: Thanks. Got it now, after simulating with open folders. got it using outgoing Thanks Dexter
maboo23: Hi, I will build a web client interface, but i dont know where to put the 'file'. I have configured that my sms3 server will do the sorting for me based on the provider. Its doing its job so far when I am using the 'sendsms' command. I want to know what folder first is the intial? is it 'checked' or 'outgoing'? before it goes to the specific que folder of the modem. Thanks Dex
maboo23: Hi, I have tought of this also, but when I read and read all of the stuff here, its mentioned, its only1 to 1 sending. if you want multiple, you must create a script that will automate the whole process.
maboo23: Samsung SGH e250I works baud 115200
maboo23: Samsung SGH e250I works!
maboo23: Hi, Thanks Keke for the help. I manage to make it working but not for SAMSUNG SGH - e590 I used another phone SAMSUNG SGH-e250i Thanks again. Dexter
maboo23: i setup as you said. But still does not work. help! Its my first time to setup an SMS gateway. I have not tried to use other devices as well. Some of the devices mentioned are old, dont know if there are still cable for that? Please help Thanks Dexter HERE IS THE LOG 2009-07-13 16:12:55,2, smsd: Smsd v3.1.3 started. 2009-07-13 16:12:55,2, smsd: Running as root:root. 2009-07-13 16:12:55,6, smsd: File mode creation mask: 022 (0644, rw-r--r--). 2009-07-13 16:12:55,6, SAMSUNG: Modem handler 0 has started. PID: 19223. Will only send messages. 2009-07-13 16:12:55,6, smsd: Outgoing file checker has started. PID: 19222. 2009-07-13 16:12:55,6, SAMSUNG: Checking if modem is ready 2009-07-13 16:12:55,7, SAMSUNG: -> AT 2009-07-13 16:12:55,7, SAMSUNG: Command is sent, waiting for the answer 2009-07-13 16:12:56,7, SAMSUNG: <- OK 2009-07-13 16:12:56,6, SAMSUNG: Pre-initializing modem 2009-07-13 16:12:56,7, SAMSUNG: -> ATE0+CMEE=1 2009-07-13 16:12:56,7, SAMSUNG: Command is sent, waiting for the answer 2009-07-13 16:12:56,7, SAMSUNG: <- OK 2009-07-13 16:12:56,6, SAMSUNG: Checking if modem needs PIN 2009-07-13 16:12:56,7, SAMSUNG: -> AT+CPIN? 2009-07-13 16:12:56,7, SAMSUNG: Command is sent, waiting for the answer 2009-07-13 16:12:56,7, SAMSUNG: <- +CPIN: READY OK 2009-07-13 16:12:56,6, SAMSUNG: Initializing modem 2009-07-13 16:12:56,7, SAMSUNG: -> ATE0+CPMS="SM"+CNMI=2,0,0,2,1 2009-07-13 16:12:56,7, SAMSUNG: Command is sent, waiting for the answer 2009-07-13 16:12:57,7, SAMSUNG: <- +CPMS: 2,35,2,35,2,35 OK 2009-07-13 16:12:57,6, SAMSUNG: Checking if Modem is registered to the network 2009-07-13 16:12:57,7, SAMSUNG: -> AT+CREG? 2009-07-13 16:12:57,7, SAMSUNG: Command is sent, waiting for the answer 2009-07-13 16:12:57,7, SAMSUNG: <- +CREG: 0,1 OK 2009-07-13 16:12:57,6, SAMSUNG: Modem is registered to the network 2009-07-13 16:12:57,6, SAMSUNG: Selecting PDU mode 2009-07-13 16:12:57,7, SAMSUNG: -> AT+CMGF=0 2009-07-13 16:12:57,7, SAMSUNG: Command is sent, waiting for the answer 2009-07-13 16:12:57,7, SAMSUNG: <- OK 2009-07-13 16:12:57,6, SAMSUNG: Changing SMSC 2009-07-13 16:12:57,7, SAMSUNG: -> AT+CSCA="+639180000101" 2009-07-13 16:12:57,7, SAMSUNG: Command is sent, waiting for the answer 2009-07-13 16:12:58,7, SAMSUNG: <- OK 2009-07-13 16:12:58,7, SAMSUNG: -> AT+CIMI 2009-07-13 16:12:58,7, SAMSUNG: Command is sent, waiting for the answer 2009-07-13 16:12:58,7, SAMSUNG: <- 515033400491775 OK 2009-07-13 16:12:58,6, SAMSUNG: IMSI: 515033400491775 2009-07-13 16:12:58,6, SAMSUNG: Waiting for messages to send... 2009-07-13 16:13:16,6, smsd: Moved file /var/spool/sms/outgoing/send_x19231 to /var/spool/sms/OTHER 2009-07-13 16:13:17,6, SAMSUNG: I have to send 1 short message for /var/spool/sms/OTHER/send_x19231 2009-07-13 16:13:17,6, SAMSUNG: Sending SMS from to 639189632181 2009-07-13 16:13:17,6, SAMSUNG: Checking if modem is ready 2009-07-13 16:13:17,7, SAMSUNG: -> AT 2009-07-13 16:13:17,7, SAMSUNG: Command is sent, waiting for the answer 2009-07-13 16:13:18,7, SAMSUNG: <- OK 2009-07-13 16:13:18,6, SAMSUNG: Pre-initializing modem 2009-07-13 16:13:18,7, SAMSUNG: -> ATE0+CMEE=1 2009-07-13 16:13:18,7, SAMSUNG: Command is sent, waiting for the answer 2009-07-13 16:13:18,7, SAMSUNG: <- OK 2009-07-13 16:13:18,6, SAMSUNG: Initializing modem 2009-07-13 16:13:18,7, SAMSUNG: -> ATE0+CPMS="SM"+CNMI=2,0,0,2,1 2009-07-13 16:13:18,7, SAMSUNG: Command is sent, waiting for the answer 2009-07-13 16:13:18,7, SAMSUNG: <- +CPMS: 2,35,2,35,2,35 OK 2009-07-13 16:13:18,6, SAMSUNG: Checking if Modem is registered to the network 2009-07-13 16:13:18,7, SAMSUNG: -> AT+CREG? 2009-07-13 16:13:18,7, SAMSUNG: Command is sent, waiting for the answer 2009-07-13 16:13:19,7, SAMSUNG: <- +CREG: 0,1 OK 2009-07-13 16:13:19,6, SAMSUNG: Modem is registered to the network 2009-07-13 16:13:19,6, SAMSUNG: Selecting PDU mode 2009-07-13 16:13:19,7, SAMSUNG: -> AT+CMGF=0 2009-07-13 16:13:19,7, SAMSUNG: Command is sent, waiting for the answer 2009-07-13 16:13:19,7, SAMSUNG: <- OK 2009-07-13 16:13:19,6, SAMSUNG: Changing SMSC 2009-07-13 16:13:19,7, SAMSUNG: -> AT+CSCA="+639180000101" 2009-07-13 16:13:19,7, SAMSUNG: Command is sent, waiting for the answer 2009-07-13 16:13:19,7, SAMSUNG: <- OK 2009-07-13 16:13:19,7, SAMSUNG: -> AT+CMGS=19 2009-07-13 16:13:19,7, SAMSUNG: Command is sent, waiting for the answer 2009-07-13 16:13:20,7, SAMSUNG: <- > 2009-07-13 16:13:20,7, SAMSUNG: -> 0011000C913619983612180000FF05D4E2942A03. 2009-07-13 16:13:20,7, SAMSUNG: Command is sent, waiting for the answer 2009-07-13 16:13:50,7, SAMSUNG: put_command expected (OK)|(ERROR), timeout occurred. 2009-07-13 16:13:50,7, SAMSUNG: <- 2009-07-13 16:13:50,3, SAMSUNG: The modem said ERROR or did not answer. 2009-07-13 16:13:50,5, SAMSUNG: Waiting 10 sec. before retrying 2009-07-13 16:14:00,6, SAMSUNG: Checking if modem is ready 2009-07-13 16:14:00,7, SAMSUNG: -> AT 2009-07-13 16:14:00,7, SAMSUNG: Command is sent, waiting for the answer 2009-07-13 16:14:05,7, SAMSUNG: put_command expected (OK)|(ERROR), timeout occurred. 2009-07-13 16:14:05,7, SAMSUNG: <- 2009-07-13 16:14:05,7, SAMSUNG: -> . 2009-07-13 16:14:05,7, SAMSUNG: Command is sent, waiting for the answer 2009-07-13 16:14:10,7, SAMSUNG: put_command expected (OK)|(ERROR), timeout occurred. 2009-07-13 16:14:10,7, SAMSUNG: <- 2009-07-13 16:14:10,7, SAMSUNG: -> AT 2009-07-13 16:14:10,7, SAMSUNG: Command is sent, waiting for the answer 2009-07-13 16:14:15,7, SAMSUNG: put_command expected (OK)|(ERROR), timeout occurred. 2009-07-13 16:14:15,7, SAMSUNG: <- 2009-07-13 16:14:15,7, SAMSUNG: -> . 2009-07-13 16:14:15,7, SAMSUNG: Command is sent, waiting for the answer 2009-07-13 16:14:20,7, SAMSUNG: put_command expected (OK)|(ERROR), timeout occurred. 2009-07-13 16:14:20,7, SAMSUNG: <- 2009-07-13 16:14:20,7, SAMSUNG: -> AT 2009-07-13 16:14:20,7, SAMSUNG: Command is sent, waiting for the answer 2009-07-13 16:14:25,7, SAMSUNG: put_command expected (OK)|(ERROR), timeout occurred. 2009-07-13 16:14:25,7, SAMSUNG: <- 2009-07-13 16:14:25,7, SAMSUNG: -> . 2009-07-13 16:14:26,7, SAMSUNG: Command is sent, waiting for the answer 2009-07-13 16:14:31,7, SAMSUNG: put_command expected (OK)|(ERROR), timeout occurred. 2009-07-13 16:14:31,7, SAMSUNG: <- 2009-07-13 16:14:31,7, SAMSUNG: -> AT 2009-07-13 16:14:31,7, SAMSUNG: Command is sent, waiting for the answer 2009-07-13 16:14:36,7, SAMSUNG: put_command expected (OK)|(ERROR), timeout occurred. 2009-07-13 16:14:36,7, SAMSUNG: <- 2009-07-13 16:14:36,7, SAMSUNG: -> . 2009-07-13 16:14:36,7, SAMSUNG: Command is sent, waiting for the answer 2009-07-13 16:14:41,7, SAMSUNG: put_command expected (OK)|(ERROR), timeout occurred. 2009-07-13 16:14:41,7, SAMSUNG: <- 2009-07-13 16:14:41,7, SAMSUNG: -> AT 2009-07-13 16:14:41,7, SAMSUNG: Command is sent, waiting for the answer 2009-07-13 16:14:46,7, SAMSUNG: put_command expected (OK)|(ERROR), timeout occurred. 2009-07-13 16:14:46,7, SAMSUNG: <- 2009-07-13 16:14:46,7, SAMSUNG: -> . 2009-07-13 16:14:46,7, SAMSUNG: Command is sent, waiting for the answer 2009-07-13 16:14:51,7, SAMSUNG: put_command expected (OK)|(ERROR), timeout occurred. 2009-07-13 16:14:51,7, SAMSUNG: <- 2009-07-13 16:14:51,7, SAMSUNG: -> AT 2009-07-13 16:14:51,7, SAMSUNG: Command is sent, waiting for the answer 2009-07-13 16:14:56,7, SAMSUNG: put_command expected (OK)|(ERROR), timeout occurred. 2009-07-13 16:14:56,7, SAMSUNG: <- 2009-07-13 16:14:56,7, SAMSUNG: -> . 2009-07-13 16:14:56,7, SAMSUNG: Command is sent, waiting for the answer 2009-07-13 16:15:01,7, SAMSUNG: put_command expected (OK)|(ERROR), timeout occurred. 2009-07-13 16:15:01,7, SAMSUNG: <- 2009-07-13 16:15:01,7, SAMSUNG: -> AT 2009-07-13 16:15:01,7, SAMSUNG: Command is sent, waiting for the answer 2009-07-13 16:15:06,7, SAMSUNG: put_command expected (OK)|(ERROR), timeout occurred. 2009-07-13 16:15:06,7, SAMSUNG: <- 2009-07-13 16:15:06,7, SAMSUNG: -> . 2009-07-13 16:15:06,7, SAMSUNG: Command is sent, waiting for the answer
maboo23: Here is the log 2009-07-13 15:51:55,2, smsd: Smsd v3.1.3 started. 2009-07-13 15:51:55,2, smsd: Running as root:root. 2009-07-13 15:51:55,6, smsd: File mode creation mask: 022 (0644, rw-r--r--). 2009-07-13 15:51:55,6, smsd: Outgoing file checker has started. PID: 19040. 2009-07-13 15:51:55,6, SAMSUNG: Modem handler 0 has started. PID: 19041. Will only send messages. 2009-07-13 15:51:55,6, SAMSUNG: Checking if modem is ready 2009-07-13 15:51:55,7, SAMSUNG: -> AT 2009-07-13 15:51:55,7, SAMSUNG: Command is sent, waiting for the answer 2009-07-13 15:51:55,7, SAMSUNG: <- OK 2009-07-13 15:51:55,6, SAMSUNG: Pre-initializing modem 2009-07-13 15:51:55,7, SAMSUNG: -> ATE0+CMEE=1 2009-07-13 15:51:55,7, SAMSUNG: Command is sent, waiting for the answer 2009-07-13 15:51:56,7, SAMSUNG: <- OK 2009-07-13 15:51:56,6, SAMSUNG: Checking if modem needs PIN 2009-07-13 15:51:56,7, SAMSUNG: -> AT+CPIN? 2009-07-13 15:51:56,7, SAMSUNG: Command is sent, waiting for the answer 2009-07-13 15:51:56,7, SAMSUNG: <- +CPIN: READY OK 2009-07-13 15:51:56,6, SAMSUNG: Initializing modem 2009-07-13 15:51:56,7, SAMSUNG: -> ATE0+CPMS="SM"+CNMI=2,0,0,2,1 2009-07-13 15:51:56,7, SAMSUNG: Command is sent, waiting for the answer 2009-07-13 15:51:57,7, SAMSUNG: <- +CPMS: 2,35,2,35,2,35 OK 2009-07-13 15:51:57,6, SAMSUNG: Checking if Modem is registered to the network 2009-07-13 15:51:57,7, SAMSUNG: -> AT+CREG? 2009-07-13 15:51:57,7, SAMSUNG: Command is sent, waiting for the answer 2009-07-13 15:51:57,7, SAMSUNG: <- +CREG: 0,1 OK 2009-07-13 15:51:57,6, SAMSUNG: Modem is registered to the network 2009-07-13 15:51:57,6, SAMSUNG: Selecting PDU mode 2009-07-13 15:51:57,7, SAMSUNG: -> AT+CMGF=0 2009-07-13 15:51:57,7, SAMSUNG: Command is sent, waiting for the answer 2009-07-13 15:51:57,7, SAMSUNG: <- OK 2009-07-13 15:51:57,6, SAMSUNG: Changing SMSC 2009-07-13 15:51:57,7, SAMSUNG: -> AT+CSCA="+639180000101" 2009-07-13 15:51:57,7, SAMSUNG: Command is sent, waiting for the answer 2009-07-13 15:51:58,7, SAMSUNG: <- OK 2009-07-13 15:51:58,7, SAMSUNG: -> AT+CIMI 2009-07-13 15:51:58,7, SAMSUNG: Command is sent, waiting for the answer 2009-07-13 15:51:58,7, SAMSUNG: <- 515033400491775 OK 2009-07-13 15:51:58,6, SAMSUNG: IMSI: 515033400491775 2009-07-13 15:51:58,6, SAMSUNG: Waiting for messages to send... 2009-07-13 15:52:26,6, smsd: Moved file /var/spool/sms/outgoing/send_N19049 to /var/spool/sms/OTHER 2009-07-13 15:52:27,6, SAMSUNG: I have to send 1 short message for /var/spool/sms/OTHER/send_N19049 2009-07-13 15:52:27,6, SAMSUNG: Sending SMS from to 639209539528 2009-07-13 15:52:27,6, SAMSUNG: Checking if modem is ready 2009-07-13 15:52:27,7, SAMSUNG: -> AT 2009-07-13 15:52:27,7, SAMSUNG: Command is sent, waiting for the answer 2009-07-13 15:52:27,7, SAMSUNG: <- OK 2009-07-13 15:52:27,6, SAMSUNG: Pre-initializing modem 2009-07-13 15:52:27,7, SAMSUNG: -> ATE0+CMEE=1 2009-07-13 15:52:27,7, SAMSUNG: Command is sent, waiting for the answer 2009-07-13 15:52:27,7, SAMSUNG: <- OK 2009-07-13 15:52:27,6, SAMSUNG: Initializing modem 2009-07-13 15:52:27,7, SAMSUNG: -> ATE0+CPMS="SM"+CNMI=2,0,0,2,1 2009-07-13 15:52:28,7, SAMSUNG: Command is sent, waiting for the answer 2009-07-13 15:52:28,7, SAMSUNG: <- +CPMS: 2,35,2,35,2,35 OK 2009-07-13 15:52:28,6, SAMSUNG: Checking if Modem is registered to the network 2009-07-13 15:52:28,7, SAMSUNG: -> AT+CREG? 2009-07-13 15:52:28,7, SAMSUNG: Command is sent, waiting for the answer 2009-07-13 15:52:28,7, SAMSUNG: <- +CREG: 0,1 OK 2009-07-13 15:52:28,6, SAMSUNG: Modem is registered to the network 2009-07-13 15:52:28,6, SAMSUNG: Selecting PDU mode 2009-07-13 15:52:28,7, SAMSUNG: -> AT+CMGF=0 2009-07-13 15:52:28,7, SAMSUNG: Command is sent, waiting for the answer 2009-07-13 15:52:28,7, SAMSUNG: <- OK 2009-07-13 15:52:28,6, SAMSUNG: Changing SMSC 2009-07-13 15:52:28,7, SAMSUNG: -> AT+CSCA="+639180000101" 2009-07-13 15:52:29,7, SAMSUNG: Command is sent, waiting for the answer 2009-07-13 15:52:29,7, SAMSUNG: <- OK 2009-07-13 15:52:29,7, SAMSUNG: -> AT+CMGS=21 2009-07-13 15:52:29,7, SAMSUNG: Command is sent, waiting for the answer 2009-07-13 15:52:29,7, SAMSUNG: <- > 2009-07-13 15:52:29,7, SAMSUNG: -> 0011000C913629903559820000FF08D4E2949A741E63. 2009-07-13 15:52:29,7, SAMSUNG: Command is sent, waiting for the answer 2009-07-13 15:53:00,7, SAMSUNG: put_command expected (OK)|(ERROR), timeout occurred. 2009-07-13 15:53:00,7, SAMSUNG: <- 2009-07-13 15:53:00,3, SAMSUNG: The modem said ERROR or did not answer. 2009-07-13 15:53:00,5, SAMSUNG: Waiting 10 sec. before retrying 2009-07-13 15:53:10,6, SAMSUNG: Checking if modem is ready 2009-07-13 15:53:10,7, SAMSUNG: -> AT 2009-07-13 15:53:10,7, SAMSUNG: Command is sent, waiting for the answer 2009-07-13 15:53:15,7, SAMSUNG: put_command expected (OK)|(ERROR), timeout occurred. 2009-07-13 15:53:15,7, SAMSUNG: <- 2009-07-13 15:53:15,7, SAMSUNG: -> . 2009-07-13 15:53:15,7, SAMSUNG: Command is sent, waiting for the answer 2009-07-13 15:53:20,7, SAMSUNG: put_command expected (OK)|(ERROR), timeout occurred. 2009-07-13 15:53:20,7, SAMSUNG: <- 2009-07-13 15:53:20,7, SAMSUNG: -> AT 2009-07-13 15:53:20,7, SAMSUNG: Command is sent, waiting for the answer 2009-07-13 15:53:25,7, SAMSUNG: put_command expected (OK)|(ERROR), timeout occurred. 2009-07-13 15:53:25,7, SAMSUNG: <- 2009-07-13 15:53:25,7, SAMSUNG: -> . 2009-07-13 15:53:25,7, SAMSUNG: Command is sent, waiting for the answer 2009-07-13 15:53:30,7, SAMSUNG: put_command expected (OK)|(ERROR), timeout occurred. 2009-07-13 15:53:30,7, SAMSUNG: <- 2009-07-13 15:53:30,7, SAMSUNG: -> AT 2009-07-13 15:53:30,7, SAMSUNG: Command is sent, waiting for the answer 2009-07-13 15:53:35,7, SAMSUNG: put_command expected (OK)|(ERROR), timeout occurred. 2009-07-13 15:53:35,7, SAMSUNG: <- 2009-07-13 15:53:35,7, SAMSUNG: -> . 2009-07-13 15:53:35,7, SAMSUNG: Command is sent, waiting for the answer 2009-07-13 15:53:40,7, SAMSUNG: put_command expected (OK)|(ERROR), timeout occurred. 2009-07-13 15:53:40,7, SAMSUNG: <- 2009-07-13 15:53:40,7, SAMSUNG: -> AT 2009-07-13 15:53:40,7, SAMSUNG: Command is sent, waiting for the answer 2009-07-13 15:53:45,7, SAMSUNG: put_command expected (OK)|(ERROR), timeout occurred. 2009-07-13 15:53:45,7, SAMSUNG: <- 2009-07-13 15:53:45,7, SAMSUNG: -> . 2009-07-13 15:53:45,7, SAMSUNG: Command is sent, waiting for the answer 2009-07-13 15:53:50,7, SAMSUNG: put_command expected (OK)|(ERROR), timeout occurred. 2009-07-13 15:53:50,7, SAMSUNG: <- 2009-07-13 15:53:50,7, SAMSUNG: -> AT 2009-07-13 15:53:50,7, SAMSUNG: Command is sent, waiting for the answer I still cannot send the SMS. Is SAMSUNG SGH-e590 ok to use? It have a SAMSUNG MODEM and a SERIAL port when connected to LINUX. Thanks
maboo23: I already tried using 639224565051 63 is the international code for Philippines. Hoping for your help Thanks Dexter
maboo23: Please help me, Incoming is OK, but I cannot make SEND work. I am using SAMSUNG SGH-e590 Here is my config # Example smsd.conf. Read the manual for a description # This sample configuration is no more updated. # See the manual for all possible configuration settings. devices = SAMSUNG outgoing = /var/spool/sms/outgoing checked = /var/spool/sms/checked failed = /var/spool/sms/failed incoming = /var/spool/sms/incoming #report = /var/spool/sms/report sent = /var/spool/sms/sent #mypath = /usr/local/bin #logfile = /var/log/smsd.log loglevel = 7 #alarmhandler = /usr/local/bin/alarmevent alarmlevel = 4 delaytime = 10 errorsleeptime = 10 blocktime = 3600 #blockafter = 3 #eventhandler = /usr/local/bin/smsevent #stats = /var/log/smsd_stats #stats_interval = 3600 #stats_no_zeroes = no #blacklist = /etc/smsd.black #whitelist = /etc/smsd.white #checkhandler = /usr/local/bin/smscheck receive_before_send = no # autosplit 0=no 1=yes 2=with text numbers 3=concatenated autosplit = 3 # store_received_pdu 0=no, 1=unsupported, 2=unsupported and 8bit, 3=all #store_received_pdu = 1 #validity = 255 #decode_unicode_text = no #internal_combine = no #user = smsd #group = dialout #infofile = /var/run/sms/smsd.working #pidfile = /var/run/sms/smsd.pid #keep_filename = no #store_original_filename = yes #regular_run = /var/spool/sms/regular_run #regular_run_interval = 300 #admin_to = (number) #terminal = no #filename_preview = 80 #incoming_utf8 = yes [queues] # Commented lines are examples for germany # D1 = /var/spool/sms/D1 # D2 = /var/spool/sms/D2 # O2 = /var/spool/sms/O2 # EPLUS = /var/spool/sms/EPLUS # QUAM = /var/sppol/sms/QUAM # MOBILCOM = /var/spool/sms/MOBILCOM OTHER = /var/spool/sms/OTHER [provider] # Commented lines are examples for germany # D1 = 49160, 49170, 49171, 49175, 49151 # D2 = 491520, 49162, 49172, 49173, 49174 # O2 = 49176, 49179, 49159 # EPLUS = 49163, 49177, 49178, 49157 # QUAM = 49150 # MOBILCOM = 49156 OTHER = 0,1,2,3,4,5,6,7,8,9 [SAMSUNG] init = ATE0+CPMS="SM"+CNMI=2,0,0,2,1 # Windows: /dev/com1, Solaris: /dev/cua/a, Linux /dev/ttyS0 device = /dev/ttyACM0 incoming = no queues = OTHER #You don't need a PIN for mobile phones #pin = 1111 mode = new #smsc = 491722270000 baudrate = 115200 rtscts = no cs_convert = yes report = no memory_start = 1 #eventhandler = /usr/local/bin/smsevent #primary_memory = memory name #secondary_memory = memory name #secondary_memory_max = number #pdu_from_file = /var/spool/sms/GSM1-PDU #sending_disabled = no #decode_unicode_text = no #internal_combine = no #pinsleeptime = 5 #admin_to = (number) #message_limit = 20 #message_count_clear = 60 HERE is the LOG FILE 2009-07-13 15:08:04,2, smsd: Smsd v3.1.3 started. 2009-07-13 15:08:04,2, smsd: Running as root:root. 2009-07-13 15:08:04,6, smsd: File mode creation mask: 022 (0644, rw-r--r--). 2009-07-13 15:08:04,6, smsd: Outgoing file checker has started. PID: 6661. 2009-07-13 15:08:04,6, SAMSUNG: Modem handler 0 has started. PID: 6662. Will only send messages. 2009-07-13 15:08:04,6, SAMSUNG: Checking if modem is ready 2009-07-13 15:08:04,7, SAMSUNG: -> AT 2009-07-13 15:08:04,7, SAMSUNG: Command is sent, waiting for the answer 2009-07-13 15:08:05,7, SAMSUNG: <- OK 2009-07-13 15:08:05,6, SAMSUNG: Pre-initializing modem 2009-07-13 15:08:05,7, SAMSUNG: -> ATE0+CMEE=1 2009-07-13 15:08:05,7, SAMSUNG: Command is sent, waiting for the answer 2009-07-13 15:08:05,7, SAMSUNG: <- OK 2009-07-13 15:08:05,6, SAMSUNG: Checking if modem needs PIN 2009-07-13 15:08:05,7, SAMSUNG: -> AT+CPIN? 2009-07-13 15:08:05,7, SAMSUNG: Command is sent, waiting for the answer 2009-07-13 15:08:05,7, SAMSUNG: <- +CPIN: READY OK 2009-07-13 15:08:05,6, SAMSUNG: Initializing modem 2009-07-13 15:08:05,7, SAMSUNG: -> ATE0+CPMS="SM"+CNMI=2,0,0,2,1 2009-07-13 15:08:05,7, SAMSUNG: Command is sent, waiting for the answer 2009-07-13 15:08:06,7, SAMSUNG: <- +CPMS: 0,35,0,35,0,35 OK 2009-07-13 15:08:06,6, SAMSUNG: Checking if Modem is registered to the network 2009-07-13 15:08:06,7, SAMSUNG: -> AT+CREG? 2009-07-13 15:08:06,7, SAMSUNG: Command is sent, waiting for the answer 2009-07-13 15:08:06,7, SAMSUNG: <- +CREG: 0,1 OK 2009-07-13 15:08:06,6, SAMSUNG: Modem is registered to the network 2009-07-13 15:08:06,6, SAMSUNG: Selecting PDU mode 2009-07-13 15:08:06,7, SAMSUNG: -> AT+CMGF=0 2009-07-13 15:08:06,7, SAMSUNG: Command is sent, waiting for the answer 2009-07-13 15:08:07,7, SAMSUNG: <- OK 2009-07-13 15:08:07,7, SAMSUNG: -> AT+CIMI 2009-07-13 15:08:07,7, SAMSUNG: Command is sent, waiting for the answer 2009-07-13 15:08:07,7, SAMSUNG: <- 515033400XXXXXX OK 2009-07-13 15:08:07,6, SAMSUNG: IMSI: 515033400XXXXXX 2009-07-13 15:08:07,6, SAMSUNG: Waiting for messages to send... 2009-07-13 15:08:08,6, SAMSUNG: I have to send 1 short message for /var/spool/sms/OTHER/send_Tq6585 2009-07-13 15:08:08,6, SAMSUNG: Sending SMS from to 0639224XXXXXX 2009-07-13 15:08:08,6, SAMSUNG: Checking if modem is ready 2009-07-13 15:08:08,7, SAMSUNG: -> AT 2009-07-13 15:08:08,7, SAMSUNG: Command is sent, waiting for the answer 2009-07-13 15:08:08,7, SAMSUNG: <- OK 2009-07-13 15:08:08,6, SAMSUNG: Pre-initializing modem 2009-07-13 15:08:08,7, SAMSUNG: -> ATE0+CMEE=1 2009-07-13 15:08:08,7, SAMSUNG: Command is sent, waiting for the answer 2009-07-13 15:08:09,7, SAMSUNG: <- OK 2009-07-13 15:08:09,6, SAMSUNG: Initializing modem 2009-07-13 15:08:09,7, SAMSUNG: -> ATE0+CPMS="SM"+CNMI=2,0,0,2,1 2009-07-13 15:08:09,7, SAMSUNG: Command is sent, waiting for the answer 2009-07-13 15:08:09,7, SAMSUNG: <- +CPMS: 0,35,0,35,0,35 OK 2009-07-13 15:08:09,6, SAMSUNG: Checking if Modem is registered to the network 2009-07-13 15:08:09,7, SAMSUNG: -> AT+CREG? 2009-07-13 15:08:09,7, SAMSUNG: Command is sent, waiting for the answer 2009-07-13 15:08:09,7, SAMSUNG: <- +CREG: 0,1 OK 2009-07-13 15:08:09,6, SAMSUNG: Modem is registered to the network 2009-07-13 15:08:09,6, SAMSUNG: Selecting PDU mode 2009-07-13 15:08:09,7, SAMSUNG: -> AT+CMGF=0 2009-07-13 15:08:09,7, SAMSUNG: Command is sent, waiting for the answer 2009-07-13 15:08:10,7, SAMSUNG: <- OK 2009-07-13 15:08:10,7, SAMSUNG: -> AT+CMGS=26 2009-07-13 15:08:10,7, SAMSUNG: Command is sent, waiting for the answer 2009-07-13 15:08:10,7, SAMSUNG: <- > 2009-07-13 15:08:10,7, SAMSUNG: -> ( PDU REMOVED ). 2009-07-13 15:08:10,7, SAMSUNG: Command is sent, waiting for the answer 2009-07-13 15:08:40,7, SAMSUNG: put_command expected (OK)|(ERROR), timeout occurred. 2009-07-13 15:08:40,7, SAMSUNG: <- 2009-07-13 15:08:40,3, SAMSUNG: The modem said ERROR or did not answer. 2009-07-13 15:08:40,5, SAMSUNG: Waiting 10 sec. before retrying 2009-07-13 15:08:51,6, SAMSUNG: Checking if modem is ready 2009-07-13 15:08:51,7, SAMSUNG: -> AT 2009-07-13 15:08:51,7, SAMSUNG: Command is sent, waiting for the answer 2009-07-13 15:08:56,7, SAMSUNG: put_command expected (OK)|(ERROR), timeout occurred. 2009-07-13 15:08:56,7, SAMSUNG: <- 2009-07-13 15:08:56,7, SAMSUNG: -> . 2009-07-13 15:08:56,7, SAMSUNG: Command is sent, waiting for the answer 2009-07-13 15:09:01,7, SAMSUNG: put_command expected (OK)|(ERROR), timeout occurred. 2009-07-13 15:09:01,7, SAMSUNG: <- 2009-07-13 15:09:01,7, SAMSUNG: -> AT 2009-07-13 15:09:01,7, SAMSUNG: Command is sent, waiting for the answer 2009-07-13 15:09:06,7, SAMSUNG: put_command expected (OK)|(ERROR), timeout occurred. 2009-07-13 15:09:06,7, SAMSUNG: <- 2009-07-13 15:09:06,7, SAMSUNG: -> . 2009-07-13 15:09:06,7, SAMSUNG: Command is sent, waiting for the answer 2009-07-13 15:09:11,7, SAMSUNG: put_command expected (OK)|(ERROR), timeout occurred. 2009-07-13 15:09:11,7, SAMSUNG: <- 2009-07-13 15:09:11,7, SAMSUNG: -> AT 2009-07-13 15:09:11,7, SAMSUNG: Command is sent, waiting for the answer 2009-07-13 15:09:16,7, SAMSUNG: put_command expected (OK)|(ERROR), timeout occurred. 2009-07-13 15:09:16,7, SAMSUNG: <- 2009-07-13 15:09:16,7, SAMSUNG: -> . 2009-07-13 15:09:16,7, SAMSUNG: Command is sent, waiting for the answer 2009-07-13 15:09:21,7, SAMSUNG: put_command expected (OK)|(ERROR), timeout occurred. 2009-07-13 15:09:21,7, SAMSUNG: <- 2009-07-13 15:09:21,7, SAMSUNG: -> AT 2009-07-13 15:09:21,7, SAMSUNG: Command is sent, waiting for the answer 2009-07-13 15:09:26,7, SAMSUNG: put_command expected (OK)|(ERROR), timeout occurred. 2009-07-13 15:09:26,7, SAMSUNG: <- 2009-07-13 15:09:26,7, SAMSUNG: -> . 2009-07-13 15:09:26,7, SAMSUNG: Command is sent, waiting for the answer 2009-07-13 15:09:31,7, SAMSUNG: put_command expected (OK)|(ERROR), timeout occurred. 2009-07-13 15:09:31,7, SAMSUNG: <- 2009-07-13 15:09:31,7, SAMSUNG: -> AT 2009-07-13 15:09:31,7, SAMSUNG: Command is sent, waiting for the answer 2009-07-13 15:09:36,7, SAMSUNG: put_command expected (OK)|(ERROR), timeout occurred. I am usng verion 3.1.3 Thanks Dexter

Page:  1

SMSTools3 Community » Search Top

 
Time in this board is UTC.  

Privacy Policy   SMS Server Tools 3 Copyright © Keijo Kasvi.