blz glr...

eu to tentando conf o sms_client p envio de sms no meu tim. alguemjah usou esse soft? :toim: :toim:

ele tem um arkivo sms_modem q esta assim:

# --------------------------------------------------------------------
# SMS Modem Configuration file
# --------------------------------------------------------------------

{
# ------------------------------------------------------------

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

# Modem Device Name Examples:
#
# MDM_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 = "" # 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

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

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 c
ommand
MDM_esc_time = 125000 # Microsecond delay between each
mand

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

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

}

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

eu tentei trocar o ttyS0 p a eth0 devido a minha conexão adsl mas das duas formas ele me retorna esse erro:

# sms_client 0551181167640 "nome" teste
Dialing SMSC 0640900139...
WARNING: read() Timeout
WARNING: read() Timeout
ERROR: Timeout: searching for +<CR><LF>+ failed after 10 seconds
ERROR: MODEM: Setting Local echo Failed

alguem sabe como configuro isso certo?