Hi Aryo, Are you using the latest version? In previous versions, some db errors were going unnoticed... I wonder if there is something wrong with the DB - maybe missing fields required by the latest versions??
On Jun 12, 7:13 am, Aryo Sanjaya <[email protected]> wrote: > It's proven work on other system: > > function sendMessage($to, $message, $gateway='*') > { > $message = mysql_real_escape_string($message); > mysql_query("insert into smsserver_out(recipient, text, create_date, > originator, encoding, status_report, flash_sms, src_port, dst_port, > priority, status, errors, gateway_id) values('$to', '$message', now(), '', > '7', 0, 0, -1, -1, 0, 'U', 0, '$gateway')"); > > } > > Seems the SMSServer never read the smsserver_out. > > > > On Fri, Jun 12, 2009 at 11:07, ghanoz 2480 <[email protected]> wrote: > > Well i still can't figured out what your problem is. Absolutely there is > > something wrong. It could be your DBHave you try the examples program > > (SendMessage.java)? > > May i know your complete query when you insert a "message" to your database > > (smsserver_out)? > > > On Fri, Jun 12, 2009 at 10:23 AM, Aryo Sanjaya > > <[email protected]>wrote: > > >> SMSC and init string do not make a difference, I just try it. Any other > >> idea? > > >> And no, I'm Arek Malang. > > >> YM me if you have other personal question :) my YM: elang526 > > >> On Fri, Jun 12, 2009 at 10:01, ghanoz 2480 <[email protected]> wrote: > > >>> Ok, i think something miss with your configuration. > >>> Have you set this up? > >>> IM3.smsc_number= ? > >>> IM3.init_string= ? > > >>> Apa kamu orang Bandung? > > >>> On Fri, Jun 12, 2009 at 9:50 AM, Aryo Sanjaya > >>> <[email protected]>wrote: > > >>>> On Fri, Jun 12, 2009 at 09:43, ghanoz 2480 <[email protected]> wrote: > > >>>>> what is your (SIM) pin number? '0000' ? > > >>>> None, that's why I fill it with 0000. If SMSLib can read messages, I > >>>> don't think it is pin problem, right? > > >>>>> it should be changed to 'S' when smsserver touched your queued > >>>>> messages. > > >>>> After 'U', then it will be 'Q', then 'S' if successful, and then 'D' if > >>>> delivered. I always monitor it, and the value is still 'U'. > > >>>>> Apa kamu orang Indonesia juga? > > >>>> Yes I am. But some members here thought I'm Hindis :) > > >>>>> On Fri, Jun 12, 2009 at 7:07 AM, Aryo Sanjaya > >>>>> <[email protected]>wrote: > > >>>>>> Hi all, > > >>>>>> I have this data on my smsserver_out table: > > >>>>>> mysql> select recipient, text, create_date, status, gateway_id from > >>>>>> smsserver_out limit 3; > > >>>>>> +---------------+----------------------------+---------------------+------- > >>>>>> -+------------+ > >>>>>> | recipient | text | create_date | > >>>>>> status | gateway_id | > > >>>>>> +---------------+----------------------------+---------------------+------- > >>>>>> -+------------+ > >>>>>> | 62813338xxx44 | Today inbox up now: 939 | 2009-06-09 17:38:59 | > >>>>>> U | modem2 | > >>>>>> | 62813338xxx44 | Today inbox up to now: 944 | 2009-06-09 17:49:42 | > >>>>>> U | * | > >>>>>> | 62813338xxx44 | Today inbox up to now: 954 | 2009-06-09 18:15:07 | > >>>>>> U | * | > > >>>>>> +---------------+----------------------------+---------------------+------- > >>>>>> -+------------+ > >>>>>> 3 rows in set (0.00 sec) > > >>>>>> My modem config: > >>>>>> gateway.0=modem2, SerialModem > >>>>>> modem2.port=/dev/ttyS0 > >>>>>> modem2.baudrate=115200 > >>>>>> modem2.manufacturer=Wavecom > >>>>>> modem2.model=Default > >>>>>> modem2.protocol=PDU > >>>>>> modem2.pin=0000 > >>>>>> modem2.inbound=yes > >>>>>> modem2.outbound=yes > > >>>>>> And DB config: > >>>>>> db1.type=mysql > >>>>>> db1.tables.sms_in=smsserver_in > >>>>>> db1.tables.sms_out=smsserver_out > >>>>>> db1.tables.calls=smsserver_calls > > >>>>>> Balancer and Router are using default: > >>>>>> #smsserver.balancer=LeastLoadLoadBalancer > >>>>>> #smsserver.router=NumberPoolRouter > > >>>>>> All inbound messages are processed very well, but the outbound > >>>>>> messages seem never be touched at all. Even the status is not changed > >>>>>> to > >>>>>> 'Q'. > > >>>>>> Did I miss something? I change the gateway_id from * to modem2, but > >>>>>> nothing happens. > > >>>>>> Please help, thank you. > > > -- > > ================== > > Blog: > > Catatan Online ghaNOZ 2480 > >http://ghanoz2480.wordpress.com > > > Facebook: > >http://www.facebook.com/people/Ghanoz-Ghazali-Emce/1003026334 > > ================== > > ghaNOZ 2480 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SMSLib User Group" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/SMSLib?hl=en -~----------~----~----~----~------~----~------~--~---
