That means the modem will not support things AT+CNMI for receiving SMS with
Kannel. Also I don't think kannel will work with a CDMA modem (I know it can
deliver to CDMA networks).

Regards!

On Mon, Feb 14, 2011 at 11:16 AM, Abdul Basit <[email protected]> wrote:

> Dear Users,
>
> I checked with minicom  and wvdial.
>
> Using minicom, modem respond to few TA commnads;
>
> ATA
> ATZ
> AT+GMI
> AT+GMM
> AT+GMR
>
> All other commands i got ERROR.
>
> By executing wvdialconfig /etc/wvdial.conf multiple times, modem was found
> on ttyUSB0 with variable speed from 9600 to 230400. Most of the time i found
> speed 38400.
>
> Has anyone tested CDMA phone (nokia 6016i or 2115i or anyother) with
> kannel?
>
> Note: my samsumg c3510 GSM phone is perfectly working.
>
> --
> regards,
>
> Abdul Basit
>
>
>
> On Wed, Feb 9, 2011 at 8:50 PM, Abdul Basit <[email protected]> wrote:
>
>> Hi,
>>
>> I am trying to connect kannel with Nokia CDMA phone 6016i via ttyUSB0.
>>
>> Problem is that kannel is not connecting with this smsc and always in
>> connecting status due to which all messages go into queue.
>>
>>  Kannel bearerbox version `svn-r4858M'. Build `Feb 7 2011 14:57:40',
>> compiler `4.4.5'. System Linux, release 2.6.35-25-generic, version
>> #44-Ubuntu SMP Fri Jan 21 17:40:48 UTC 2011, machine i686. Hostname insite,
>> IP 192.168.3.6. Libxml version 2.7.7. Compiled with MySQL 5.1.49, using
>> MySQL 5.1.49. Using native malloc.
>>
>> Status: running, uptime 0d 0h 2m 43s
>>
>> WDP: received 0 (0 queued), sent 0 (0 queued)
>>
>> SMS: received 0 (0 queued), sent 0 (*3 queued*), store size -1
>> SMS: inbound (0.00,0.00,0.00) msg/sec, outbound (0.00,0.00,0.00) msg/sec
>>
>> DLR: received 0, sent 0
>> DLR: inbound (0.00,0.00,0.00) msg/sec, outbound (0.00,0.00,0.00) msg/sec
>> DLR: 0 queued, using internal storage
>>
>> Box connections:
>>     smsbox:Nokia-6016i, IP 127.0.0.1 (0 queued), (on-line 0d 0h 0m 49s)
>> SMSC connections:
>>     ttyUSB0[ttyUSB0]    AT2[ttyUSB0] (*connecting*, rcvd: sms 0 / dlr 0,
>> sent: sms 0 / dlr 0, failed 0, queued 0 msgs)
>>
>>
>> Following is my kannel configuration:
>>
>> # CORE
>> group = core
>> admin-port = 13000
>> smsbox-port = 13001
>> admin-password = bar
>> status-password = foo
>> log-file = "/var/log/kannel/kannel.log"
>> box-deny-ip = "*.*.*.*"
>> box-allow-ip = "127.0.0.1"
>> access-log = "/var/log/kannel/access.log"
>>
>> # SMSC CONNECTIONS
>> group = modems
>> id = nokiaphone
>> name = "Nokia Phone"
>> detect-string = "6016i"
>> need-sleep = true
>> init-string = "ATZ"
>> init-string = "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
>> #init-string = "AT+CNMI=1,2,0,1,0"
>> #init-string = "AT+CNMI=2,0,0,2,0"
>> keepalive-cmd = "AT+CBC;+CSQ"
>> #enable-hwhs = "AT+IFC=2,2"
>> message-storage = "ME"
>> reset-string = "ATZ"
>>
>> group = smsc
>> smsc = at
>> smsc-id = ttyUSB0
>> modemtype = auto
>> device = /dev/ttyUSB0
>> speed = 38400
>> my-number = 012345678
>> sim-buffering = true
>> log-file ="/var/log/kannel/smsc.log"
>>
>> #---------------------------------------------
>> # SMSBOX SETUP
>> group = smsbox
>> smsbox-id = Nokia-6016i
>> bearerbox-host = 127.0.0.1
>> sendsms-port = 13013
>> global-sender = 13013
>> #sendsms-chars = "0123456789 +-"
>> log-file = "/var/log/kannel/smsbox.log"
>> access-log = "/var/log/kannel/smsaccess.log"
>>
>> #---------------------------------------------
>> # SEND-SMS USERS
>> group = sendsms-user
>> username = tester
>> password = foobar
>>
>> #---------------------------------------------
>> # SERVICES
>> group = sms-service
>> keyword = default
>> text = "No service specified"
>>
>> Following is bearerbox startup logs  with debug 0
>>
>> ./bearerbox -v 0 smskannel.conf
>> 2011-02-09 20:32:47 [23725] [0] INFO: Debug_lvl = 0, log_file = <none>,
>> log_lvl = 0
>> 2011-02-09 20:32:47 [23725] [0] INFO: Mutex gwlib/list.c:136: 120 locks, 0
>> collisions.
>> 2011-02-09 20:32:47 [23725] [0] INFO: Mutex gwlib/list.c:136: 19 locks, 0
>> collisions.
>> 2011-02-09 20:32:47 [23725] [0] INFO: Mutex gwlib/list.c:136: 19 locks, 0
>> collisions.
>> 2011-02-09 20:32:47 [23725] [0] INFO: Mutex gwlib/list.c:136: 19 locks, 0
>> collisions.
>> 2011-02-09 20:32:47 [23725] [0] INFO: Mutex gwlib/list.c:136: 15 locks, 0
>> collisions.
>> 2011-02-09 20:32:47 [23725] [0] INFO: Mutex gwlib/list.c:136: 7 locks, 0
>> collisions.
>> 2011-02-09 20:32:47 [23725] [0] INFO: Mutex gwlib/list.c:136: 7 locks, 0
>> collisions.
>> 2011-02-09 20:32:47 [23725] [0] INFO: Mutex gwlib/list.c:136: 121 locks, 0
>> collisions.
>> 2011-02-09 20:32:47 [23725] [0] INFO: Mutex gwlib/list.c:136: 3 locks, 0
>> collisions.
>> 2011-02-09 20:32:47 [23725] [0] WARNING: DLR: using default 'internal' for
>> storage type.
>> 2011-02-09 20:32:47 [23725] [0] INFO: DLR using storage type: internal
>> 2011-02-09 20:32:47 [23725] [0] DEBUG: Kannel bearerbox version
>> `svn-r4858M'.
>> Build `Feb  7 2011 14:57:40', compiler `4.4.5'.
>> System Linux, release 2.6.35-25-generic, version #44-Ubuntu SMP Fri Jan 21
>> 17:40:48 UTC 2011, machine i686.
>> Hostname insite, IP 192.168.3.6.
>> Libxml version 2.7.7.
>> Compiled with MySQL 5.1.49, using MySQL 5.1.49.
>> Using native malloc.
>>
>> 2011-02-09 20:32:47 [23725] [0] INFO: Added logfile
>> `/var/log/kannel/kannel.log' with level `0'.
>> 2011-02-09 20:32:47 [23725] [0] INFO: Started access logfile
>> `/var/log/kannel/access.log'.
>> 2011-02-09 20:32:47 [23725] [0] INFO: SSL not supported, no SSL
>> initialization done.
>> 2011-02-09 20:32:47 [23725] [0] INFO: HTTP: Opening server at port 13000.
>> 2011-02-09 20:32:47 [23725] [0] DEBUG: Started thread 1
>> (gwlib/fdset.c:poller)
>> 2011-02-09 20:32:47 [23725] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller)
>> maps to pid 23725.
>> 2011-02-09 20:32:47 [23725] [0] DEBUG: Started thread 2
>> (gwlib/http.c:server_thread)
>> 2011-02-09 20:32:47 [23725] [2] DEBUG: Thread 2
>> (gwlib/http.c:server_thread) maps to pid 23725.
>> 2011-02-09 20:32:47 [23725] [2] DEBUG: HTTP: Including port 13000, fd 8
>> for polling in server thread
>> 2011-02-09 20:32:47 [23725] [0] DEBUG: Started thread 3
>> (gw/bb_http.c:httpadmin_run)
>> 2011-02-09 20:32:47 [23725] [3] DEBUG: Thread 3
>> (gw/bb_http.c:httpadmin_run) maps to pid 23725.
>> 2011-02-09 20:32:47 [23725] [0] INFO: Mutex gwlib/list.c:136: 1 locks, 0
>> collisions.
>> 2011-02-09 20:32:47 [23725] [0] DEBUG: starting smsbox connection module
>> 2011-02-09 20:32:47 [23725] [0] INFO: BOXC: 'smsbox-max-pending' not set,
>> using default (100).
>> 2011-02-09 20:32:47 [23725] [0] DEBUG: Started thread 4
>> (gw/bb_boxc.c:sms_to_smsboxes)
>> 2011-02-09 20:32:47 [23725] [4] DEBUG: Thread 4
>> (gw/bb_boxc.c:sms_to_smsboxes) maps to pid 23725.
>> 2011-02-09 20:32:47 [23725] [0] DEBUG: Started thread 5
>> (gw/bb_boxc.c:smsboxc_run)
>> 2011-02-09 20:32:47 [23725] [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run)
>> maps to pid 23725.
>> 2011-02-09 20:32:47 [23725] [0] INFO: Set SMS resend frequency to 60
>> seconds.
>> 2011-02-09 20:32:47 [23725] [0] INFO: SMS resend retry set to unlimited.
>> 2011-02-09 20:32:47 [23725] [0] DEBUG: MO concatenated message handling
>> enabled
>> 2011-02-09 20:32:47 [23725] [0] INFO: DLR rerouting for smsc id <ttyUSB0>
>> disabled.
>> 2011-02-09 20:32:47 [23725] [0] INFO: Added logfile
>> `/var/log/kannel/smsc.log' with level `0'.
>> 2011-02-09 20:32:47 [23725] [0] INFO: AT2[ttyUSB0]: configuration doesn't
>> show modemtype. will autodetect
>> 2011-02-09 20:32:47 [23725] [0] DEBUG: Started thread 6
>> (gw/smsc/smsc_at.c:at2_device_thread)
>> 2011-02-09 20:32:47 [23725] [0] DEBUG: Started thread 7
>> (gw/bb_smscconn.c:sms_router)
>> 2011-02-09 20:32:47 [23725] [0] INFO:
>> ----------------------------------------
>> 2011-02-09 20:32:47 [23725] [0] INFO: Kannel bearerbox II version
>> svn-r4858M starting
>> 2011-02-09 20:32:47 [23725] [0] INFO: MAIN: Start-up done, entering
>> mainloop
>> 2011-02-09 20:32:47 [23725] [0] DEBUG: AT2[ttyUSB0]: start called
>> 2011-02-09 20:32:47 [23725] [7] DEBUG: Thread 7
>> (gw/bb_smscconn.c:sms_router) maps to pid 23725.
>> 2011-02-09 20:32:47 [23725] [6] DEBUG: Thread 6
>> (gw/smsc/smsc_at.c:at2_device_thread) maps to pid 23725.
>> 2011-02-09 20:32:47 [23725] [6] INFO: Logging thread `6' to logfile
>> `/var/log/kannel/smsc.log' with level `0'.
>>
>> 2011-02-09 20:34:21 [23725] [5] INFO: Mutex gwlib/list.c:136: 3 locks, 0
>> collisions.
>> 2011-02-09 20:34:21 [23725] [5] INFO: Client connected from <127.0.0.1>
>> 2011-02-09 20:34:21 [23725] [5] DEBUG: Started thread 8
>> (gw/bb_boxc.c:function)
>> 2011-02-09 20:34:21 [23725] [8] DEBUG: Thread 8 (gw/bb_boxc.c:function)
>> maps to pid 23725.
>> 2011-02-09 20:34:21 [23725] [8] DEBUG: Started thread 9
>> (gw/bb_boxc.c:boxc_sender)
>> 2011-02-09 20:34:21 [23725] [8] DEBUG: boxc_receiver: got boxc_id
>> <Nokia-6016i> from <127.0.0.1>
>> 2011-02-09 20:34:21 [23725] [9] DEBUG: Thread 9 (gw/bb_boxc.c:boxc_sender)
>> maps to pid 23725.
>>
>> 2011-02-09 20:34:42 [23725] [2] DEBUG: HTTP: Creating HTTPClient for
>> `127.0.0.1'.
>> 2011-02-09 20:34:42 [23725] [2] DEBUG: HTTP: Created HTTPClient area
>> 0x955a870.
>> 2011-02-09 20:34:42 [23725] [1] INFO: Mutex gwlib/list.c:136: 7 locks, 0
>> collisions.
>> 2011-02-09 20:34:42 [23725] [3] INFO: Mutex gwlib/list.c:136: 6 locks, 0
>> collisions.
>> 2011-02-09 20:34:42 [23725] [3] INFO: Mutex gwlib/list.c:136: 5 locks, 0
>> collisions.
>> 2011-02-09 20:34:42 [23725] [3] INFO: Mutex gwlib/list.c:136: 90 locks, 0
>> collisions.
>> 2011-02-09 20:34:42 [23725] [3] DEBUG: HTTP: Resetting HTTPClient for
>> `127.0.0.1'.
>> 2011-02-09 20:34:42 [23725] [3] INFO: Mutex gwlib/list.c:136: 6 locks, 0
>> collisions.
>> 2011-02-09 20:34:42 [23725] [3] INFO: Mutex gwlib/list.c:136: 5 locks, 0
>> collisions.
>> 2011-02-09 20:34:42 [23725] [1] INFO: Mutex gwlib/list.c:136: 7 locks, 0
>> collisions.
>> 2011-02-09 20:34:42 [23725] [3] INFO: Mutex gwlib/list.c:136: 6 locks, 0
>> collisions.
>> 2011-02-09 20:34:42 [23725] [3] INFO: Mutex gwlib/list.c:136: 6 locks, 0
>> collisions.
>> 2011-02-09 20:34:42 [23725] [3] INFO: Mutex gwlib/list.c:136: 6 locks, 0
>> collisions.
>> 2011-02-09 20:34:42 [23725] [3] INFO: Mutex gwlib/list.c:136: 95 locks, 0
>> collisions.
>> 2011-02-09 20:34:42 [23725] [3] DEBUG: HTTP: Resetting HTTPClient for
>> `127.0.0.1'.
>> 2011-02-09 20:34:42 [23725] [3] INFO: Mutex gwlib/list.c:136: 6 locks, 0
>> collisions.
>> 2011-02-09 20:34:42 [23725] [3] INFO: Mutex gwlib/list.c:136: 1 locks, 0
>> collisions.
>> 2011-02-09 20:34:43 [23725] [1] INFO: Mutex gwlib/list.c:136: 7 locks, 0
>> collisions.
>> 2011-02-09 20:34:43 [23725] [3] INFO: Mutex gwlib/list.c:136: 6 locks, 0
>> collisions.
>> 2011-02-09 20:34:43 [23725] [3] INFO: Mutex gwlib/list.c:136: 5 locks, 0
>> collisions.
>> 2011-02-09 20:34:43 [23725] [3] INFO: Mutex gwlib/list.c:136: 90 locks, 0
>> collisions.
>> 2011-02-09 20:34:43 [23725] [3] DEBUG: HTTP: Resetting HTTPClient for
>> `127.0.0.1'.
>> 2011-02-09 20:34:43 [23725] [3] INFO: Mutex gwlib/list.c:136: 6 locks, 0
>> collisions.
>> 2011-02-09 20:34:43 [23725] [3] INFO: Mutex gwlib/list.c:136: 5 locks, 0
>> collisions.
>> 2011-02-09 20:34:43 [23725] [1] INFO: Mutex gwlib/list.c:136: 7 locks, 0
>> collisions.
>> 2011-02-09 20:34:43 [23725] [3] INFO: Mutex gwlib/list.c:136: 6 locks, 0
>> collisions.
>> 2011-02-09 20:34:43 [23725] [3] INFO: Mutex gwlib/list.c:136: 6 locks, 0
>> collisions.
>> 2011-02-09 20:34:43 [23725] [3] INFO: Mutex gwlib/list.c:136: 6 locks, 0
>> collisions.
>> 2011-02-09 20:34:43 [23725] [3] INFO: Mutex gwlib/list.c:136: 95 locks, 0
>> collisions.
>> 2011-02-09 20:34:43 [23725] [3] DEBUG: HTTP: Resetting HTTPClient for
>> `127.0.0.1'.
>> 2011-02-09 20:34:43 [23725] [3] INFO: Mutex gwlib/list.c:136: 6 locks, 0
>> collisions.
>> 2011-02-09 20:34:43 [23725] [3] INFO: Mutex gwlib/list.c:136: 5 locks, 0
>> collisions.
>> 2011-02-09 20:34:43 [23725] [1] INFO: Mutex gwlib/list.c:136: 7 locks, 0
>> collisions.
>> 2011-02-09 20:34:43 [23725] [3] INFO: Mutex gwlib/list.c:136: 6 locks, 0
>> collisions.
>> 2011-02-09 20:34:43 [23725] [3] INFO: Mutex gwlib/list.c:136: 6 locks, 0
>> collisions.
>> 2011-02-09 20:34:43 [23725] [3] INFO: Mutex gwlib/list.c:136: 6 locks, 0
>> collisions.
>> 2011-02-09 20:34:43 [23725] [3] INFO: Mutex gwlib/list.c:136: 95 locks, 0
>> collisions.
>> 2011-02-09 20:34:43 [23725] [3] DEBUG: HTTP: Resetting HTTPClient for
>> `127.0.0.1'.
>> 2011-02-09 20:34:43 [23725] [3] INFO: Mutex gwlib/list.c:136: 6 locks, 0
>> collisions.
>> 2011-02-09 20:34:43 [23725] [3] INFO: Mutex gwlib/list.c:136: 1 locks, 0
>> collisions.
>> 2011-02-09 20:35:26 [23725] [8] DEBUG: boxc_receiver: sms received
>> 2011-02-09 20:35:26 [23725] [8] DEBUG: send_msg: sending msg to boxc:
>> <Nokia-6016i>
>> 2011-02-09 20:35:26 [23725] [7] DEBUG: sms_router: handling message
>> (0x9558c30 vs 0x9558c30)
>> 2011-02-09 20:35:26 [23725] [7] DEBUG: *Routing failed, re-queued*.
>> 2011-02-09 20:35:26 [23725] [7] DEBUG: sms_router: handling message
>> (0x9558c30 vs 0x9558c30)
>> 2011-02-09 20:35:26 [23725] [7] DEBUG: Routing failed, re-queued.
>> 2011-02-09 20:35:26 [23725] [7] DEBUG: sms_router: time to sleep 30.00
>> secs.
>> 2011-02-09 20:35:26 [23725] [7] DEBUG: sms_router: gwlist_len = 1
>> 2011-02-09 20:35:26 [23725] [7] DEBUG: sms_router: handling message
>> (0x9558c30 vs 0x9558c30)
>> 2011-02-09 20:35:26 [23725] [7] DEBUG: Routing failed, re-queued.
>> 2011-02-09 20:35:26 [23725] [7] DEBUG: sms_router: handling message
>> (0x9558c30 vs 0x9558c30)
>> 2011-02-09 20:35:26 [23725] [7] DEBUG: Routing failed, re-queued.
>> 2011-02-09 20:35:26 [23725] [7] DEBUG: sms_router: time to sleep 30.00
>> secs.
>>
>> I will appreciate if anyone can share his testing with CDMA phones.
>>
>>
>> --
>> Regards,
>>
>> Abdul Basit | +92 32 1416 4196 | +92 30 0841 1445
>>
>
>
>
> --
> Regards,
>
> Abdul Basit | +92 32 1416 4196 | +92 30 0841 1445
>



-- 
*Mfawa Alfred Onen*
*M.Sc Telecoms, B.Eng Elect/Elect, CCNA, RHCE(in view)*
System Administrator
Department of Computer Science,
Bingham University.

E-Mail: [email protected]
Phone1: +234 805 944 3154
Phone2: +234 803 079 6088

Reply via email to