Additionally i can see the sms's in the mobile's inbox

On Tue, Feb 9, 2010 at 10:17 PM, Quintin Par <[email protected]> wrote:

>
>
> I have a Sony Ericsson w800i cellphone acting as a gateway. I am able to
> send sms’s but not receive.
>
> Checking the web status does not show any signs of sms received.
>
>
>
> What could be the reason?
>
>
>
> Help much appreciated..
>
>
>
> Config files and logs given below
>
>
>
> My config file is
>
>
>
> group = core
>
> admin-port = 13000
>
> admin-password = a
>
> status-password = a
>
> admin-deny-ip = "254.1.1.1"
>
> admin-allow-ip = "*.*.*.*"
>
> log-file = "/var/log/kannel/bearerbox.log"
>
> smsbox-port = 13001
>
> box-deny-ip = "254.45.2.1"
>
> box-allow-ip = "*.*.*.*"
>
> log-level = 0
>
>
>
> #SMSCenter configuration
>
> #Identifies the SMS Center group
>
> group = smsc
>
> #Tells kannel that we are going to use mobile as smsc
>
> smsc = at
>
> smsc-id = Sony
>
> #Sets the modem type to auto
>
> modemtype = w800i
>
> #Identifies the modem
>
> device = /dev/ttyACM0
>
> #It should be your mobile number
>
> log-level = 0
>
>
>
> #Modem configuration
>
> #It should be changed to work for your mobile
>
> #
>
> group = modems
>
> id = w800i
>
> name = "Sony Ericsson w800i"
>
> detect-string = "Sony Eri"
>
> init-string = "ATZ"
>
> init-string = "AT Q0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
>
>
>
> #SMS-BOX configuration
>
> group = smsbox
>
> smsbox-id = SMSbox
>
> bearerbox-host = 127.0.0.1
>
> sendsms-port = 13013
>
> #The sender number to be used in text messages
>
> global-sender = "39738266350"
>
> access-log = "/var/log/kannel/smsbox-access.log"
>
> log-file = "/var/log/kannel/smsbox.log"
>
> log-level = 0
>
>
>
> #SEND-SMS group configuration
>
> group = sendsms-user
>
> username = a
>
> password = a
>
> concatenation = true
>
> max-messages = 16
>
>
>
> group = smsbox-route
>
> smsbox-id = SMSbox
>
> smsc-id = Sony
>
>
>
> group = sms-service
>
> keyword = nop
>
> text = "You asked nothing and I did it!"
>
> catch-all = true
>
>
>
> group = sms-service
>
> keyword = default
>
> name = default
>
> get-url = "http://127.0.0.1:3000/mobile/switch?phone=%p&sms=%a";
>
> catch-all = true
>
> accept-x-kannel-headers = true
>
> concatenation = true
>
> max-messages = 0
>
>
>
> My smsbox log is
>
> 2010-02-09 22:06:10 [5694] [0] INFO: Added logfile
> `/var/log/kannel/smsbox.log' with level `0'.
>
> 2010-02-09 22:06:10 [5694] [0] INFO: Service global sender set as '+37**'
>
> 2010-02-09 22:06:10 [5694] [0] INFO: Logging accesses to
> '/var/log/kannel/smsbox-access.log'.
>
> 2010-02-09 22:06:10 [5694] [0] INFO: Started access logfile
> `/var/log/kannel/smsbox-access.log'.
>
> 2010-02-09 22:06:10 [5694] [0] INFO: HTTP: Opening server at port 13013.
>
> 2010-02-09 22:06:10 [5694] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps
> to pid 5694.
>
> 2010-02-09 22:06:10 [5694] [0] DEBUG: Started thread 1
> (gwlib/fdset.c:poller)
>
> 2010-02-09 22:06:10 [5694] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread)
> maps to pid 5694.
>
> 2010-02-09 22:06:10 [5694] [0] DEBUG: Started thread 2
> (gwlib/http.c:server_thread)
>
> 2010-02-09 22:06:10 [5694] [0] INFO: Set up send sms service at port 13013
>
> 2010-02-09 22:06:10 [5694] [3] DEBUG: Thread 3 (gw/smsbox.c:sendsms_thread)
> maps to pid 5694.
>
> 2010-02-09 22:06:10 [5694] [0] DEBUG: Started thread 3
> (gw/smsbox.c:sendsms_thread)
>
> 2010-02-09 22:06:10 [5694] [0] DEBUG:
> ----------------------------------------------
>
> 2010-02-09 22:06:10 [5694] [0] DEBUG: Kannel smsbox version 1.4.3 starting
>
> 2010-02-09 22:06:10 [5694] [0] DEBUG:   dumping group (sendsms-user):
>
> 2010-02-09 22:06:10 [5694] [0] DEBUG:     <group> = <sendsms-user>
>
> 2010-02-09 22:06:10 [5694] [0] DEBUG:     <max-messages> = <16>
>
> 2010-02-09 22:06:10 [5694] [0] DEBUG:     <username> = <a>
>
> 2010-02-09 22:06:10 [5694] [0] DEBUG:     <concatenation> = <true>
>
> 2010-02-09 22:06:10 [5694] [0] DEBUG:     <password> = <a>
>
> 2010-02-09 22:06:10 [5694] [4] DEBUG: Thread 4
> (gw/smsbox.c:obey_request_thread) maps to pid 5694.
>
> 2010-02-09 22:06:10 [5694] [0] DEBUG: Started thread 4
> (gw/smsbox.c:obey_request_thread)
>
> 2010-02-09 22:06:10 [5694] [5] DEBUG: Thread 5
> (gw/smsbox.c:url_result_thread) maps to pid 5694.
>
> 2010-02-09 22:06:10 [5694] [0] DEBUG: Started thread 5
> (gw/smsbox.c:url_result_thread)
>
> 2010-02-09 22:06:10 [5694] [6] DEBUG: Thread 6
> (gw/smsbox.c:http_queue_thread) maps to pid 5694.
>
> 2010-02-09 22:06:10 [5694] [0] DEBUG: Started thread 6
> (gw/smsbox.c:http_queue_thread)
>
> 2010-02-09 22:06:10 [5694] [0] INFO: Connected to bearerbox at 127.0.0.1
> port 13001.
>
> 2010-02-09 22:06:10 [5694] [7] DEBUG: Thread 7
> (gw/heartbeat.c:heartbeat_thread) maps to pid 5694.
>
> 2010-02-09 22:06:10 [5694] [0] DEBUG: Started thread 7
> (gw/heartbeat.c:heartbeat_thread)
>
> 2010-02-09 22:06:30 [5694] [2] DEBUG: HTTP: Creating HTTPClient for
> `192.168.2.2'.
>
> 2010-02-09 22:06:30 [5694] [2] DEBUG: HTTP: Created HTTPClient area
> 0x87a7d60.
>
> 2010-02-09 22:06:30 [5694] [3] INFO: smsbox: Got HTTP request
> </cgi-bin/sendsms> from <192.168.2.2>
>
> 2010-02-09 22:06:30 [5694] [3] INFO: sendsms used by <a>
>
> 2010-02-09 22:06:30 [5694] [3] INFO: sendsms sender:<a:+37**> (192.168.2.2)
> to:<38**> msg:<testing>
>
> 2010-02-09 22:06:30 [5694] [3] DEBUG: Stored UUID
> 6312a86f-1871-4049-bf4a-5cefe6356ea1
>
> 2010-02-09 22:06:30 [5694] [3] DEBUG: message length 7, sending 1 messages
>
> 2010-02-09 22:06:30 [5694] [3] DEBUG: Status: 202 Answer: <Sent.>
>
> 2010-02-09 22:06:30 [5694] [3] DEBUG: Delayed reply - wait for bearerbox
>
> 2010-02-09 22:06:30 [5694] [0] DEBUG: Got ACK (0) of
> 6312a86f-1871-4049-bf4a-5cefe6356ea1
>
> 2010-02-09 22:06:30 [5694] [0] DEBUG: HTTP: Resetting HTTPClient for
> `192.168.2.2'.
>
> 2010-02-09 22:07:30 [5694] [1] DEBUG: Timeout for fd:24 appeares.
>
> 2010-02-09 22:07:30 [5694] [1] DEBUG: HTTP: Destroying HTTPClient area
> 0x87a7d60.
>
> 2010-02-09 22:07:30 [5694] [1] DEBUG: HTTP: Destroying HTTPClient for
> `192.168.2.2'.
>
>
>
> My smsaccess log is
>
>
>
> 2010-02-09 22:06:10 Log begins
>
> 2010-02-09 22:06:30 send-SMS request added - sender:a:+9137* 192.168.2.2
> target:38** request: 'testing'
>
>
>
> And my bearerbox config is
>
>
>
> 2010-02-09 22:06:09 [5685] [0] INFO: Added logfile
> `/var/log/kannel/bearerbox.log' with level `0'.
>
> 2010-02-09 22:06:09 [5685] [0] INFO: HTTP: Opening server at port 13000.
>
> 2010-02-09 22:06:09 [5685] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps
> to pid 5685.
>
> 2010-02-09 22:06:09 [5685] [0] DEBUG: Started thread 1
> (gwlib/fdset.c:poller)
>
> 2010-02-09 22:06:09 [5685] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread)
> maps to pid 5685.
>
> 2010-02-09 22:06:09 [5685] [0] DEBUG: Started thread 2
> (gwlib/http.c:server_thread)
>
> 2010-02-09 22:06:09 [5685] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run)
> maps to pid 5685.
>
> 2010-02-09 22:06:09 [5685] [0] DEBUG: Started thread 3
> (gw/bb_http.c:httpadmin_run)
>
> 2010-02-09 22:06:09 [5685] [0] DEBUG: starting smsbox connection module
>
> 2010-02-09 22:06:09 [5685] [0] INFO: BOXC: 'smsbox-max-pending' not set,
> using default (100).
>
> 2010-02-09 22:06:09 [5685] [0] DEBUG: Adding smsbox routing to id <SMSbox>
> for smsc id <Sony>
>
> 2010-02-09 22:06:09 [5685] [4] DEBUG: Thread 4
> (gw/bb_boxc.c:sms_to_smsboxes) maps to pid 5685.
>
> 2010-02-09 22:06:09 [5685] [0] DEBUG: Started thread 4
> (gw/bb_boxc.c:sms_to_smsboxes)
>
> 2010-02-09 22:06:09 [5685] [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run)
> maps to pid 5685.
>
> 2010-02-09 22:06:09 [5685] [0] DEBUG: Started thread 5
> (gw/bb_boxc.c:smsboxc_run)
>
> 2010-02-09 22:06:09 [5685] [0] INFO: Set SMS resend frequency to 60
> seconds.
>
> 2010-02-09 22:06:09 [5685] [0] INFO: SMS resend retry set to unlimited.
>
> 2010-02-09 22:06:09 [5685] [0] DEBUG: smsbox MO concatenated message
> handling enabled
>
> 2010-02-09 22:06:09 [5685] [0] INFO: DLR rerouting for smsc id <Sony>
> disabled.
>
> 2010-02-09 22:06:09 [5685] [0] INFO: AT2[Sony]: configuration shows
> modemtype <w800i>
>
> 2010-02-09 22:06:09 [5685] [0] DEBUG: AT2[Sony]: Reading modem definitions
> from </root/kannel.save.conf>
>
> 2010-02-09 22:06:09 [5685] [0] DEBUG: AT2[Sony]: Found <1> modems in config
>
> 2010-02-09 22:06:09 [5685] [0] INFO: AT2[Sony]: read modem definition for
> <Sony Ericsson w800i>
>
> 2010-02-09 22:06:09 [5685] [6] DEBUG: Thread 6
> (gw/smsc/smsc_at.c:at2_device_thread) maps to pid 5685.
>
> 2010-02-09 22:06:09 [5685] [6] INFO: AT2[Sony]: trying to use speed <9600>
> from modem definition
>
> 2010-02-09 22:06:09 [5685] [6] INFO: AT2[Sony]: opening device
>
> 2010-02-09 22:06:09 [5685] [0] DEBUG: Started thread 6
> (gw/smsc/smsc_at.c:at2_device_thread)
>
> 2010-02-09 22:06:09 [5685] [7] DEBUG: Thread 7
> (gw/bb_smscconn.c:sms_router) maps to pid 5685.
>
> 2010-02-09 22:06:09 [5685] [0] DEBUG: Started thread 7
> (gw/bb_smscconn.c:sms_router)
>
> 2010-02-09 22:06:09 [5685] [0] INFO:
> ----------------------------------------
>
> 2010-02-09 22:06:09 [5685] [0] INFO: Kannel bearerbox II version 1.4.3
> starting
>
> 2010-02-09 22:06:09 [5685] [0] INFO: MAIN: Start-up done, entering mainloop
>
> 2010-02-09 22:06:09 [5685] [0] DEBUG: AT2[Sony]: start called
>
> 2010-02-09 22:06:09 [5685] [6] DEBUG: AT2[Sony]: device opened. Telnet mode
> = 0
>
> 2010-02-09 22:06:09 [5685] [6] DEBUG: AT2[Sony]: device opened
>
> 2010-02-09 22:06:09 [5685] [6] INFO: AT2[Sony]: speed set to 9600
>
> 2010-02-09 22:06:09 [5685] [6] DEBUG: AT2[Sony]: --> ^M
>
> 2010-02-09 22:06:10 [5685] [5] INFO: Client connected from <127.0.0.1>
>
> 2010-02-09 22:06:10 [5685] [8] DEBUG: Thread 8 (gw/bb_boxc.c:function) maps
> to pid 5685.
>
> 2010-02-09 22:06:10 [5685] [9] DEBUG: Thread 9 (gw/bb_boxc.c:boxc_sender)
> maps to pid 5685.
>
> 2010-02-09 22:06:10 [5685] [5] DEBUG: Started thread 8
> (gw/bb_boxc.c:function)
>
> 2010-02-09 22:06:10 [5685] [8] DEBUG: Started thread 9
> (gw/bb_boxc.c:boxc_sender)
>
> 2010-02-09 22:06:10 [5685] [8] DEBUG: boxc_receiver: got boxc_id <SMSbox>
> from <127.0.0.1>
>
> 2010-02-09 22:06:11 [5685] [6] DEBUG: AT2[Sony]: --> AT^M
>
> 2010-02-09 22:06:11 [5685] [6] DEBUG: AT2[Sony]: <-- AT
>
> 2010-02-09 22:06:11 [5685] [6] DEBUG: AT2[Sony]: <-- OK
>
> 2010-02-09 22:06:11 [5685] [6] INFO: AT2[Sony]: Closing device
>
> 2010-02-09 22:06:11 [5685] [6] INFO: AT2[Sony]: speed is 9600
>
> 2010-02-09 22:06:11 [5685] [6] INFO: AT2[Sony]: opening device
>
> 2010-02-09 22:06:11 [5685] [6] DEBUG: AT2[Sony]: device opened. Telnet mode
> = 0
>
> 2010-02-09 22:06:11 [5685] [6] DEBUG: AT2[Sony]: device opened
>
> 2010-02-09 22:06:11 [5685] [6] INFO: AT2[Sony]: Logging in
>
> 2010-02-09 22:06:11 [5685] [6] INFO: AT2[Sony]: init device
>
> 2010-02-09 22:06:11 [5685] [6] INFO: AT2[Sony]: speed set to 9600
>
> 2010-02-09 22:06:11 [5685] [6] DEBUG: AT2[Sony]: --> ATZ^M
>
> 2010-02-09 22:06:11 [5685] [6] DEBUG: AT2[Sony]: <-- ATZ
>
> 2010-02-09 22:06:11 [5685] [6] DEBUG: AT2[Sony]: <-- OK
>
> 2010-02-09 22:06:11 [5685] [6] DEBUG: AT2[Sony]: --> AT^M
>
> 2010-02-09 22:06:11 [5685] [6] DEBUG: AT2[Sony]: <-- AT
>
> 2010-02-09 22:06:11 [5685] [6] DEBUG: AT2[Sony]: <-- OK
>
> 2010-02-09 22:06:11 [5685] [6] DEBUG: AT2[Sony]: --> AT&F^M
>
> 2010-02-09 22:06:12 [5685] [6] DEBUG: AT2[Sony]: <-- AT&F
>
> 2010-02-09 22:06:12 [5685] [6] DEBUG: AT2[Sony]: <-- OK
>
> 2010-02-09 22:06:12 [5685] [6] DEBUG: AT2[Sony]: --> ATE0^M
>
> 2010-02-09 22:06:12 [5685] [6] DEBUG: AT2[Sony]: <-- ATE0
>
> 2010-02-09 22:06:12 [5685] [6] DEBUG: AT2[Sony]: <-- OK
>
> 2010-02-09 22:06:12 [5685] [6] DEBUG: AT2[Sony]: --> AT+IFC=2,2^M
>
> 2010-02-09 22:06:12 [5685] [6] DEBUG: AT2[Sony]: <-- OK
>
> 2010-02-09 22:06:12 [5685] [6] DEBUG: AT2[Sony]: --> AT+CPIN?^M
>
> 2010-02-09 22:06:12 [5685] [6] DEBUG: AT2[Sony]: <-- +CPIN: READY
>
> 2010-02-09 22:06:12 [5685] [6] DEBUG: AT2[Sony]: <-- OK
>
> 2010-02-09 22:06:12 [5685] [6] DEBUG: AT2[Sony]: --> AT+CMGF=0^M
>
> 2010-02-09 22:06:12 [5685] [6] DEBUG: AT2[Sony]: <-- OK
>
> 2010-02-09 22:06:12 [5685] [6] DEBUG: AT2[Sony]: --> AT+CSMS=?^M
>
> 2010-02-09 22:06:12 [5685] [6] DEBUG: AT2[Sony]: <-- +CSMS: (0)
>
> 2010-02-09 22:06:12 [5685] [6] DEBUG: AT2[Sony]: <-- OK
>
> 2010-02-09 22:06:12 [5685] [6] DEBUG: AT2[Sony]: --> AT Q0 V1 E1 S0=0 &C1
> &D2 +FCLASS=0^M
>
> 2010-02-09 22:06:12 [5685] [6] DEBUG: AT2[Sony]: <-- OK
>
> 2010-02-09 22:06:12 [5685] [6] INFO: AT2[Sony]: AT SMSC successfully
> opened.
>
> 2010-02-09 22:06:30 [5685] [8] DEBUG: boxc_receiver: sms received
>
> 2010-02-09 22:06:30 [5685] [8] DEBUG: send_msg: sending msg to boxc:
> <SMSbox>
>
> 2010-02-09 22:06:32 [5685] [6] DEBUG: AT2[Sony]: TP-Validity-Period: 24.0
> hours
>
> 2010-02-09 22:06:32 [5685] [6] DEBUG: AT2[Sony]: --> AT+CMGS=20^M
>
> 2010-02-09 22:06:32 [5685] [6] DEBUG: AT2[Sony]: <-- AT+CMGS=20
>
> 2010-02-09 22:06:32 [5685] [6] DEBUG: AT2[Sony]: <-- >
>
> 2010-02-09 22:06:32 [5685] [6] DEBUG: AT2[Sony]: send command status: 1
>
> 2010-02-09 22:06:32 [5685] [6] DEBUG: AT2[Sony]: -->
> 0011000A8189688742180000A707F4F29C9E769F01
>
> 2010-02-09 22:06:32 [5685] [6] DEBUG: AT2[Sony]: --> ^Z
>
> 2010-02-09 22:06:35 [5685] [6] DEBUG: AT2[Sony]: <-- >
> 0011000A8189688742180000A707F4F29C9E769F01
>
> 2010-02-09 22:06:35 [5685] [6] DEBUG: AT2[Sony]: <-- +CMGS: 0
>
> 2010-02-09 22:06:35 [5685] [6] DEBUG: AT2[Sony]: <-- OK
>
> 2010-02-09 22:06:35 [5685] [6] DEBUG: AT2[Sony]: send command status: 0
>
>
>
> Thanks
>
> -Quintin
>

Reply via email to