Forum: Ruby on Rails Sending Bulk SMS

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Fb6966c066c7fb6520b2d134c4175fe9?d=identicon&s=25 dinesh (Guest)
on 2009-05-01 14:18
(Received via mailing list)
Hi,
   I am trying to send bulk sms using sms_client using GSM/GPRS
ANALOGIC MODEM .

Below is the log file

-----------------------------------------------------------------------------
MODEM: Toggle DTR 1000000 Microseconds
MODEM: Toggle DTR 1000000 Microseconds
MDM_send: Drain required.
WARNING: read() Timeout
Written String: +<CR>+
Written String: +<CR>+
Written String: +ATE0<CR>+
WARNING: read() Timeout
ERROR: Timeout: searching for +<CR><LF>+ failed after 10 seconds
Received String: +EE<ENQ>T<BS>a+
ERROR: MODEM: Setting Local echo Failed
----------------------------------------------------------------------------------------------

and also SMS_MODEM Config

     MDM_lock_dir           = "/var/lock"    # Lock directory
        MDM_device             = "ttyS2"        # Modem Device Name

        # Modem Device Name Examples:
        #
        # ssscxzvbnmmuoliytreDM_device = "term/00m"             #
UNIXWARE
        # MDM_device = "ttyS0"          # Linux COM1
        # MDM_device = "ttyS1"          # Linux COM2
        #
        # MDM_device        = "cua/a"   # SOLARIS
        # MDM_lock_platform = "SOLARIS" # Set this so that we generate
                                        # Solaris compatible lock file
                                        # names

        # ------------------------------------------------------------

        # MDM_pause_after_connect = 3000000     # Pause after the
connection
                                                # string for 3 seconds

        MDM_command_prefix     = "AT"
        MDM_init_command       = "Z"
        MDM_dial_command       = "DT"
        MDM_number_prefix      = "0"            # Number to dial to
get an
                                                # external line.


        MDM_set_local_echo_off = "E0"
        MDM_disable_echo_test  = NO             # Test and Set local
echo
                                                # YES/NO

        # ------------------------------------------------------------

        MDM_dtr_hangup_sleep   = 3000000        # How many
microseconds should
        MDM_dtr_init_sleep     = 1000000        # I lower DTR during
                                                # init/hangup

        # -------------------
vvvvvvvxxxxxxxxxxxxxxxxxx
-----------------------------------------

        MDM_command_suffix     = "\r"
        MDM_response_prefix    = "\r\n"
        MDM_response_suffix    = "\r\n"

        MDM_flow_control       = "Hardware"     # Software or Hardware

        # ------------------------------------------------------------

        MDM_hangup_command      = "H"
        MDM_attention_command   = "+++"
        MDM_soft_hangup_retries = 0             # Number of times I
should
                                                # continue sending
hangup code
                                                # If 0 then don't
bother
                                                # and rely on lowering
DTR

        MDM_guard_time          = 1750000       # Microsecond delay
before and
                                                # After transmitting
attention command
        MDM_esc_time            = 125000        # Microsecond delay
between each
                                                # character of the
attention command

        # ------------------------------------------------------------

        MDM_lock_action         = "BLOCK"
        MDM_lock_retry_delay    = 5000000       # Microsecond delay to
wait before
                                                # retrying for modem
lock.

}
-------------------------------------------------------------------------------------------------------------------

can somebody help me out why its failing at time of receving string.

**I dont know even this is right group for discuss this topic.Because
on odir.com I search lot from where we start new thread
This topic is locked and can not be replied to.