Hunt, The sim working fine. No password. I did select telco network manually in hyperterminal and can send out sms.
Chen Yee Sent by DiGi from my BlackBerry® Smartphone -----Original Message----- From: Hunt <[email protected]> Date: Thu, 29 Nov 2012 13:11:27 To: chen yee tan<[email protected]> Cc: [email protected]<[email protected]> Subject: Re: How to configure kannel to select a telco network for wavecom modem ? It should be work similar way. Perhaps your SIM need password to use or out of coverage? On Thu, Nov 29, 2012 at 1:02 PM, chen yee tan <[email protected]> wrote: > I have 2 telco sim cards. One is popular telco, working just fine. I can > use http to send sms out. One is new telco, and kannel not able to send out > sms. To fix, I think I need to configure kannel to select telco network > manually. How to do that ? Any advice ? Below is my log from running > bearerbox for failure case: > > 2012-11-29 12:55:36 [3345] [6] INFO: AT2[/dev/ttyS0]: init device > 2012-11-29 12:55:36 [3345] [6] INFO: AT2[/dev/ttyS0]: speed set to 9600 > 2012-11-29 12:55:36 [3345] [6] DEBUG: AT2[/dev/ttyS0]: --> ATZ^M > 2012-11-29 12:55:37 [3345] [6] DEBUG: AT2[/dev/ttyS0]: <-- OK > 2012-11-29 12:55:37 [3345] [6] DEBUG: AT2[/dev/ttyS0]: --> AT^M > 2012-11-29 12:55:37 [3345] [6] DEBUG: AT2[/dev/ttyS0]: <-- AT > 2012-11-29 12:55:37 [3345] [6] DEBUG: AT2[/dev/ttyS0]: <-- OK > 2012-11-29 12:55:37 [3345] [6] DEBUG: AT2[/dev/ttyS0]: --> AT&F^M > 2012-11-29 12:55:37 [3345] [6] DEBUG: AT2[/dev/ttyS0]: <-- AT&F > 2012-11-29 12:55:37 [3345] [6] DEBUG: AT2[/dev/ttyS0]: <-- OK > 2012-11-29 12:55:37 [3345] [6] DEBUG: AT2[/dev/ttyS0]: --> ATE0^M > 2012-11-29 12:55:39 [3345] [6] DEBUG: AT2[/dev/ttyS0]: <-- ATE0 > 2012-11-29 12:55:39 [3345] [6] DEBUG: AT2[/dev/ttyS0]: <-- OK > 2012-11-29 12:55:39 [3345] [6] DEBUG: AT2[/dev/ttyS0]: --> AT+IFC=2,2^M > 2012-11-29 12:55:39 [3345] [6] DEBUG: AT2[/dev/ttyS0]: <-- OK > 2012-11-29 12:55:39 [3345] [6] DEBUG: AT2[/dev/ttyS0]: --> AT+CPIN?^M > 2012-11-29 12:55:39 [3345] [6] DEBUG: AT2[/dev/ttyS0]: <-- +CPIN: READY > 2012-11-29 12:55:39 [3345] [6] DEBUG: AT2[/dev/ttyS0]: --> AT+CMGF=0^M > 2012-11-29 12:55:39 [3345] [6] DEBUG: AT2[/dev/ttyS0]: <-- OK > 2012-11-29 12:55:39 [3345] [6] DEBUG: AT2[/dev/ttyS0]: --> AT+CSMS=?^M > 2012-11-29 12:55:39 [3345] [6] DEBUG: AT2[/dev/ttyS0]: <-- +CSMS: (0,1) > 2012-11-29 12:55:39 [3345] [6] DEBUG: AT2[/dev/ttyS0]: <-- OK > 2012-11-29 12:55:39 [3345] [6] INFO: AT2[/dev/ttyS0]: Phase 2+ is supported > 2012-11-29 12:55:39 [3345] [6] DEBUG: AT2[/dev/ttyS0]: --> AT+CSMS=1^M > 2012-11-29 12:55:39 [3345] [6] DEBUG: AT2[/dev/ttyS0]: <-- +CSMS: 1,1,1 > 2012-11-29 12:55:39 [3345] [6] DEBUG: AT2[/dev/ttyS0]: <-- OK > 2012-11-29 12:55:39 [3345] [6] DEBUG: AT2[/dev/ttyS0]: --> > AT+CNMI=1,2,0,1,0^M > 2012-11-29 12:55:39 [3345] [6] DEBUG: AT2[/dev/ttyS0]: <-- OK > 2012-11-29 12:55:39 [3345] [6] INFO: AT2[/dev/ttyS0]: AT SMSC successfully > opened. > 2012-11-29 12:55:50 [3345] [5] INFO: Client connected from <127.0.0.1> > 2012-11-29 12:55:50 [3345] [5] DEBUG: Started thread 11 > (gw/bb_boxc.c:function) > 2012-11-29 12:55:50 [3345] [11] DEBUG: Thread 11 (gw/bb_boxc.c:function) > maps to pid 3345. > 2012-11-29 12:55:50 [3345] [11] DEBUG: Started thread 12 > (gw/bb_boxc.c:boxc_sender) > 2012-11-29 12:55:50 [3345] [12] DEBUG: Thread 12 > (gw/bb_boxc.c:boxc_sender) maps to pid 3345. > 2012-11-29 12:56:48 [3345] [11] DEBUG: boxc_receiver: sms received > 2012-11-29 12:56:48 [3345] [11] DEBUG: send_msg: sending msg to box: > <127.0.0.1> > 2012-11-29 12:56:49 [3345] [6] DEBUG: AT2[/dev/ttyS0]: TP-Validity-Period: > 24.0 hours > 2012-11-29 12:56:49 [3345] [6] DEBUG: AT2[/dev/ttyS0]: --> AT+CMGS=23^M > 2012-11-29 12:56:49 [3345] [6] DEBUG: AT2[/dev/ttyS0]: <-- > > 2012-11-29 12:56:49 [3345] [6] DEBUG: AT2[/dev/ttyS0]: send command > status: 1 > 2012-11-29 12:56:49 [3345] [6] DEBUG: AT2[/dev/ttyS0]: --> > 0011000A8110325877350000A70BC8329BFD06DDDF723619 > 2012-11-29 12:56:50 [3345] [6] DEBUG: AT2[/dev/ttyS0]: --> ^Z > 2012-11-29 12:56:50 [3345] [6] DEBUG: AT2[/dev/ttyS0]: <-- > > 2012-11-29 12:56:50 [3345] [6] DEBUG: AT2[/dev/ttyS0]: <-- ERROR > 2012-11-29 12:56:50 [3345] [6] ERROR: AT2[/dev/ttyS0]: Generic error: ERROR > 2012-11-29 12:56:50 [3345] [6] DEBUG: AT2[/dev/ttyS0]: send command > status: -1 > > Chen Yee >
