Hi

Check/post your /var/log/kannel/smsc.log. this is your modem log. It
should have the info about modem connection.

Regards

Alvaro

On 4/11/13, Kelechi Micheals <[email protected]> wrote:
> hello here is my config
>
> # password if you enable it.
>
> group = core
> admin-port = 13000
> smsbox-port = 13003
> admin-password = kelcrop
> admin-deny-ip = "*.*.*.*"
> admin-allow-ip = "127.0.0.1"
> box-deny-ip = "*.*.*.*"
> box-allow-ip = "127.0.0.1"
> #smsbox-port = 13001
> #wapbox-port = 13002
> wdp-interface-name = "*"
> log-file = "/var/log/kannel/bearerbox8.log"
> #box-deny-ip = "*.*.*.*"
> #box-allow-ip = "127.0.0.1"
> dlr-storage = mysql
> #store-type = spool
> #store-location = "/home/eregdevelop/sms/"
> smsbox-max-pending = 5000
> access-log = "/var/log/kannel/kannel.access"
>
> #group = wapbox
> #bearerbox-host = localhost
> #log-file = "/var/log/kannel/wapbox3.log"
>
> #group = smsbox
> #smsbox-port = 13001
> #log-file = "/var/log/kannel/smsbox.log"
>
> group = mysql-connection
> id = mydlr
> host = localhost
> username = kannel
> password = kannel
> database = dlr
> max-connections = 1
>
> group = dlr-db
> id = mydlr
> table = dlr
> field-smsc = smsc
> field-timestamp = ts
> field-destination = destination
> field-source = source
> field-service = service
> field-url = url
> field-mask = mask
> field-status = status
> field-boxc-id = boxc
>
> #group = smsbox
> #bearer-host = localhost
> #log-file = "/var/log/kannel/smsbox.log"
> #smsbox-port = 13005
>
> #group = smsc
> #smsc = at
> #modemtype = huawei
> #smsc-id = ereg
> #phone =
> #device = /dev/ttyUSB2
> #sms-center = 2348020000009
> #my-number = 2348020000009
> #log-level = 1
>
> #group = smsc
> #smsc = at
> #modemtype = auto
> #smsc-id = ereg
> #device = /dev/ttyUSB1
> #sms-center = 2348020000009
>
> group = smsc
> smsc = at
> smsc-id = eregcbox
> modemtype = huawei_e173
> port = 10000
> device = /dev/ttyUSB1
> sms-center = "+2348020000009"
> connect-allow-ip = "127.0.0.1"
> log-file = "/var/log/kannel/smsc.log"
> log-level=1
> sim-buffering = true
>
> group = modems
> id = huawei_e173
> name = "Huawei_e173"
> detect-string ="huawei"
> init-string = "ATZ"
> init-string = "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
> message-storage=sm
> speed = 460800
>
> group = smsbox
> bearerbox-host = 127.0.0.1
> smsbox-id = eregbox
> sendsms-port = 13003
> global-sender = "+2347xxxxxxxxxx"
> log-file = "/var/log/kannel/smsbox1.log"
>
> group = smsbox-route
> smsbox-id = eregbox
> smsc-id = eregcbox
>
> group = sms-service
> keyword = default
> text = "No service defined"
> catch-all = true
>
> this is the last log:bearerbox:
>
> 2013-04-10 21:49:24 [12525] [0] DEBUG: Immutable octet strings: 270.
> 2013-04-11 12:59:15 [2474] [0] INFO: Added logfile
> `/var/log/kannel/bearerbox8.log' with level `0'.
> 2013-04-11 12:59:15 [2474] [0] INFO: Started access logfile
> `/var/log/kannel/kannel.access'.
> 2013-04-11 12:59:15 [2474] [0] INFO: HTTP: Opening server at port 13000.
> 2013-04-11 12:59:15 [2474] [0] DEBUG: Started thread 1
> (gwlib/fdset.c:poller)
> 2013-04-11 12:59:15 [2474] [0] DEBUG: Started thread 2
> (gwlib/http.c:server_thread)
> 2013-04-11 12:59:15 [2474] [0] DEBUG: Started thread 3
> (gw/bb_http.c:httpadmin_run)
> 2013-04-11 12:59:15 [2474] [0] DEBUG: starting smsbox connection module
> 2013-04-11 12:59:15 [2474] [0] DEBUG: Adding smsbox routing to id <eregbox>
> for smsc id <eregcbox>
> 2013-04-11 12:59:15 [2474] [0] DEBUG: Started thread 4
> (gw/bb_boxc.c:sms_to_smsboxes)
> 2013-04-11 12:59:15 [2474] [0] DEBUG: Started thread 5
> (gw/bb_boxc.c:smsboxc_run)
> 2013-04-11 12:59:15 [2474] [0] INFO: Set SMS resend frequency to 60
> seconds.
> 2013-04-11 12:59:15 [2474] [0] INFO: SMS resend retry set to unlimited.
> 2013-04-11 12:59:15 [2474] [0] DEBUG: smsbox MO concatenated message
> handling enabled
> 2013-04-11 12:59:15 [2474] [0] INFO: DLR rerouting for smsc id <eregcbox>
> disabled.
> 2013-04-11 12:59:15 [2474] [0] INFO: Added logfile
> `/var/log/kannel/smsc.log' with level `1'.
> 2013-04-11 12:59:15 [2474] [0] INFO: AT2[eregcbox]: configuration shows
> modemtype <huawei_e173>
> 2013-04-11 12:59:15 [2474] [0] DEBUG: AT2[eregcbox]: Reading modem
> definitions from </etc/kannel/kannel.conf>
> 2013-04-11 12:59:15 [2474] [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run)
> maps to pid 2474.
> 2013-04-11 12:59:15 [2474] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run)
> maps to pid 2474.
> 2013-04-11 12:59:15 [2474] [4] DEBUG: Thread 4
> (gw/bb_boxc.c:sms_to_smsboxes) maps to pid 2474.
> 2013-04-11 12:59:15 [2474] [0] DEBUG: AT2[eregcbox]: Found <1> modems in
> config
> 2013-04-11 12:59:15 [2474] [0] INFO: AT2[eregcbox]: read modem definition
> for <Huawei_e173>
> 2013-04-11 12:59:15 [2474] [0] DEBUG: Started thread 6
> (gw/smsc/smsc_at.c:at2_device_thread)
> 2013-04-11 12:59:15 [2474] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread)
> maps to pid 2474.
> 2013-04-11 12:59:15 [2474] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps
> to pid 2474.
> 2013-04-11 12:59:15 [2474] [6] DEBUG: Thread 6
> (gw/smsc/smsc_at.c:at2_device_thread) maps to pid 2474.
> 2013-04-11 12:59:15 [2474] [6] INFO: Logging thread `6' to logfile
> `/var/log/kannel/smsc.log' with level `1'.
> 2013-04-11 12:59:15 [2474] [7] DEBUG: Thread 7
> (gw/bb_smscconn.c:sms_router) maps to pid 2474.
> 2013-04-11 12:59:15 [2474] [0] DEBUG: Started thread 7
> (gw/bb_smscconn.c:sms_router)
> 2013-04-11 12:59:15 [2474] [0] DEBUG: starting UDP sender/receiver module
> 2013-04-11 12:59:15 [2474] [0] INFO: Adding interface *
> 2013-04-11 12:59:15 [2474] [0] DEBUG: udpc_create: Bound to UDP <
> 0.0.0.0:9200>
> 2013-04-11 12:59:15 [2474] [0] DEBUG: Started thread 8
> (gw/bb_udp.c:udp_receiver)
> 2013-04-11 12:59:15 [2474] [0] DEBUG: Started thread 9
> (gw/bb_udp.c:udp_sender)
> 2013-04-11 12:59:15 [2474] [0] DEBUG: udpc_create: Bound to UDP <
> 0.0.0.0:9201>
> 2013-04-11 12:59:15 [2474] [0] DEBUG: Started thread 10
> (gw/bb_udp.c:udp_receiver)
> 2013-04-11 12:59:15 [2474] [0] DEBUG: Started thread 11
> (gw/bb_udp.c:udp_sender)
> 2013-04-11 12:59:15 [2474] [0] DEBUG: starting wapbox connection module
> 2013-04-11 12:59:15 [2474] [0] ERROR: Missing wapbox-port variable, cannot
> start WAP
> 2013-04-11 12:59:15 [2474] [0] DEBUG: starting WDP router
> 2013-04-11 12:59:15 [2474] [0] DEBUG: Started thread 12
> (gw/bearerbox.c:wdp_router)
> 2013-04-11 12:59:15 [2474] [0] INFO:
> ----------------------------------------
> 2013-04-11 12:59:15 [2474] [0] INFO: Kannel bearerbox II version 1.4.3
> starting
> 2013-04-11 12:59:15 [2474] [0] INFO: MAIN: Start-up done, entering mainloop
> 2013-04-11 12:59:15 [2474] [0] DEBUG: AT2[eregcbox]: start called
> 2013-04-11 12:59:15 [2474] [12] DEBUG: Thread 12
> (gw/bearerbox.c:wdp_router) maps to pid 2474.
> 2013-04-11 12:59:15 [2474] [12] DEBUG: udp_die: removing producers from
> udp-lists
> 2013-04-11 12:59:15 [2474] [12] DEBUG: Thread 12
> (gw/bearerbox.c:wdp_router) terminates.
> 2013-04-11 12:59:15 [2474] [11] DEBUG: Thread 11 (gw/bb_udp.c:udp_sender)
> maps to pid 2474.
> 2013-04-11 12:59:15 [2474] [10] DEBUG: Thread 10 (gw/bb_udp.c:udp_receiver)
> maps to pid 2474.
> 2013-04-11 12:59:15 [2474] [9] DEBUG: Thread 9 (gw/bb_udp.c:udp_sender)
> maps to pid 2474.
> 2013-04-11 12:59:15 [2474] [8] DEBUG: Thread 8 (gw/bb_udp.c:udp_receiver)
> maps to pid 2474.
>
> On Wed, Apr 10, 2013 at 5:04 PM, spameden <[email protected]> wrote:
>
>> Hi
>>
>> There are no telepathists available I'm afraid.
>>
>> Post your logs, configuration, modem model, everything. Be more concrete.
>>
>>
>> 2013/4/10 Kelechi Micheals <[email protected]>
>>
>>> Hello folks',
>>> I just setup kannel on a small system as an sms gateway. When I login to
>>> the http interface I see the status . However when I send sms to the
>>> modem', I don't see a reading on the status after refresh. That is it
>>> doesn't seem to do anything. I used the basic config with a Huawei gsm
>>> modem.
>>>
>>> Thanks
>>> Kelechi micheals
>>>
>>
>>
>


-- 
|-----------------------------------------------------------------------------------------------------------------|
Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
celular y Nextel
en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via
SMS y GPRS online
              Visitenos en www.perusms.NET www.smsglobal.com.mx y
www.pravcom.com

Reply via email to