yes now it's working. I sent SMS in Singapore and India..

On Wed, Oct 10, 2012 at 7:29 PM, Alvaro Cornejo <[email protected]>wrote:

> Hi
>
> Add AT+CMEE=2 (or 1) to your modem init string so we might get a more
> verbose error.
>
> Also it looks like an error returned from the network... Does the sim
> is activated and have credit? Can you send sms with that sim from
> another phone?
>
> Regards
>
> Alvaro
>
>
> On 10/10/12, virendra bhati <[email protected]> wrote:
> > Hi Team,
> >
> > After lot of effort I am able to connected with Wavecom in Kannel but SMS
> > is not through....
> >
> > Below are the configuration which I used for Wavecom GSM modem..
> >
> > *group = core
> > admin-port = 13000
> > smsbox-port = 13001
> > #wapbox-port= 13002
> > admin-password = hariom
> > status-password = foo
> > admin-deny-ip = ""
> > admin-allow-ip = ""
> > log-level = 0
> > log-file = "/var/log/kannel/kannel.log"
> > box-deny-ip = "*.*.*.*"
> > box-allow-ip = "127.0.0.1"
> > access-log = "/var/log/kannel/access.log"
> > store-location= "/var/log/kannel/a-z.log"
> > smsbox-max-pending = 10
> > unified-prefix = "00,+001"
> > #dlr-storage = mysql
> >
> >  group = smsc
> >  smsc = at
> >  smsc-id = wavecom
> >  modemtype = wavecom
> >  device = /dev/ttyUSB0
> > # device = /dev/ttyS0
> >  speed = 115200
> >  #pin = 1234
> >  #sim-buffering = "SM"
> >  log-level = 0
> >
> >  # MODEM DEFINITIONS
> >  group = modems
> >  id = wavecom
> >  name = "wavecom"
> >  detect-string = "wavecom"
> >  init-string = "ATZ"
> >  reset-string = "ATZ"
> >
> > group = smsbox
> > bearerbox-host = localhost
> > sendsms-port = 13003
> > global-sender = 9718500594
> > #sendsms-url = "http://localhost:13003/cgi-bin/sendsms";
> > access-log = /var/log/kannel/smsaccess.log
> > log-file = "/var/log/kannel/smsbox.log"
> > log-level = 0
> > #access-log = "access.log"
> >
> > # SEND-SMS USERS
> > group = sendsms-user
> > username = virendra
> > password = bhati
> > *
> >  ===========
> > bearerbox Log
> > ===========
> >
> > root@nathan-desktop:/usr/local/kannel/sbin# ./bearerbox
> /etc/bhati/b.conf
> > 2012-10-10 18:42:13 [9999] [0] INFO: Debug_lvl = -1, log_file = <none>,
> > log_lvl = 0
> > 2012-10-10 18:42:13 [9999] [0] WARNING: DLR: using default 'internal' for
> > storage type.
> > 2012-10-10 18:42:13 [9999] [0] INFO: DLR using storage type: internal
> > 2012-10-10 18:42:13 [9999] [0] DEBUG: Kannel bearerbox version `1.4.3'.
> > Build `Oct  3 2012 15:27:19', compiler `4.6.3'.
> > System Linux, release 3.2.0-31-generic-pae, version #50-Ubuntu SMP Fri
> Sep
> > 7 16:39:45 UTC 2012, machine i686.
> > Hostname nathan-desktop, IP 127.0.1.1.
> > Libxml version 2.7.2.
> > Compiled with MySQL 5.5.24, using MySQL 5.5.24.
> > Using native malloc.
> >
> > 2012-10-10 18:42:13 [9999] [0] INFO: Added logfile
> > `/var/log/kannel/kannel.log' with level `0'.
> > 2012-10-10 18:42:13 [9999] [0] INFO: Started access logfile
> > `/var/log/kannel/access.log'.
> > 2012-10-10 18:42:13 [9999] [0] INFO: SSL not supported, no SSL
> > initialization done.
> > 2012-10-10 18:42:13 [9999] [0] INFO: HTTP: Opening server at port 13000.
> > 2012-10-10 18:42:13 [9999] [0] DEBUG: Started thread 1
> > (gwlib/fdset.c:poller)
> > 2012-10-10 18:42:13 [9999] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller)
> maps
> > to pid 9999.
> > 2012-10-10 18:42:13 [9999] [0] DEBUG: Started thread 2
> > (gwlib/http.c:server_thread)
> > 2012-10-10 18:42:13 [9999] [0] DEBUG: Started thread 3
> > (gw/bb_http.c:httpadmin_run)
> > 2012-10-10 18:42:13 [9999] [3] DEBUG: Thread 3
> (gw/bb_http.c:httpadmin_run)
> > maps to pid 9999.
> > 2012-10-10 18:42:13 [9999] [0] DEBUG: starting smsbox connection module
> > 2012-10-10 18:42:13 [9999] [0] DEBUG: Started thread 4
> > (gw/bb_boxc.c:sms_to_smsboxes)
> > 2012-10-10 18:42:13 [9999] [4] DEBUG: Thread 4
> > (gw/bb_boxc.c:sms_to_smsboxes) maps to pid 9999.
> > 2012-10-10 18:42:13 [9999] [0] DEBUG: Started thread 5
> > (gw/bb_boxc.c:smsboxc_run)
> > 2012-10-10 18:42:13 [9999] [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run)
> > maps to pid 9999.
> > 2012-10-10 18:42:13 [9999] [0] INFO: Set SMS resend frequency to 60
> > seconds.
> > 2012-10-10 18:42:13 [9999] [0] INFO: SMS resend retry set to unlimited.
> > 2012-10-10 18:42:13 [9999] [0] DEBUG: smsbox MO concatenated message
> > handling enabled
> > 2012-10-10 18:42:13 [9999] [0] INFO: DLR rerouting for smsc id <wavecom>
> > disabled.
> > 2012-10-10 18:42:13 [9999] [0] INFO: AT2[wavecom]: configuration shows
> > modemtype <wavecom>
> > 2012-10-10 18:42:13 [9999] [0] DEBUG: AT2[wavecom]: Reading modem
> > definitions from </etc/bhati/b.conf>
> > 2012-10-10 18:42:13 [9999] [0] DEBUG: AT2[wavecom]: Found <1> modems in
> > config
> > 2012-10-10 18:42:13 [9999] [0] INFO: AT2[wavecom]: read modem definition
> > for <wavecom>
> > 2012-10-10 18:42:13 [9999] [0] DEBUG: Started thread 6
> > (gw/smsc/smsc_at.c:at2_device_thread)
> > 2012-10-10 18:42:13 [9999] [6] DEBUG: Thread 6
> > (gw/smsc/smsc_at.c:at2_device_thread) maps to pid 9999.
> > 2012-10-10 18:42:13 [9999] [0] DEBUG: Started thread 7
> > (gw/bb_smscconn.c:sms_router)
> > 2012-10-10 18:42:13 [9999] [0] INFO:
> > ----------------------------------------
> > 2012-10-10 18:42:13 [9999] [0] INFO: Kannel bearerbox II version 1.4.3
> > starting
> > 2012-10-10 18:42:13 [9999] [0] INFO: Loading store file
> > `/var/log/kannel/a-z.log'
> > 2012-10-10 18:42:13 [9999] [0] INFO: Store-file size 1446, starting to
> > unpack
> > 2012-10-10 18:42:13 [9999] [0] INFO: Retrieved 6 messages,
> non-acknowledged
> > messages: 6
> > 2012-10-10 18:42:13 [9999] [0] DEBUG: Started thread 8
> > (gw/bb_store_file.c:store_dumper)
> > 2012-10-10 18:42:13 [9999] [8] DEBUG: Thread 8
> > (gw/bb_store_file.c:store_dumper) maps to pid 9999.
> > 2012-10-10 18:42:13 [9999] [6] INFO: AT2[wavecom]: opening device
> > 2012-10-10 18:42:13 [9999] [2] DEBUG: Thread 2
> (gwlib/http.c:server_thread)
> > maps to pid 9999.
> > 2012-10-10 18:42:13 [9999] [0] INFO: MAIN: Start-up done, entering
> mainloop
> > 2012-10-10 18:42:13 [9999] [0] DEBUG: AT2[wavecom]: start called
> > 2012-10-10 18:42:13 [9999] [7] DEBUG: Thread 7
> > (gw/bb_smscconn.c:sms_router) maps to pid 9999.
> > 2012-10-10 18:42:13 [9999] [7] DEBUG: sms_router: handling message
> > (0x91f44b8 vs 0x91f44b8)
> > 2012-10-10 18:42:13 [9999] [7] DEBUG: Routing failed, re-queued.
> > 2012-10-10 18:42:13 [9999] [7] DEBUG: sms_router: handling message
> > (0x91e74e8 vs 0x91f44b8)
> > 2012-10-10 18:42:13 [9999] [7] DEBUG: Routing failed, re-queued.
> > 2012-10-10 18:42:13 [9999] [7] DEBUG: sms_router: handling message
> > (0x91f45f0 vs 0x91f44b8)
> > 2012-10-10 18:42:13 [9999] [7] DEBUG: Routing failed, re-queued.
> > 2012-10-10 18:42:13 [9999] [7] DEBUG: sms_router: handling message
> > (0x91f4810 vs 0x91f44b8)
> > 2012-10-10 18:42:13 [9999] [7] DEBUG: Routing failed, re-queued.
> > 2012-10-10 18:42:13 [9999] [7] DEBUG: sms_router: handling message
> > (0x91f42c0 vs 0x91f44b8)
> > 2012-10-10 18:42:13 [9999] [7] DEBUG: Routing failed, re-queued.
> > 2012-10-10 18:42:13 [9999] [7] DEBUG: sms_router: handling message
> > (0x91ea990 vs 0x91f44b8)
> > 2012-10-10 18:42:13 [9999] [7] DEBUG: Routing failed, re-queued.
> > 2012-10-10 18:42:13 [9999] [7] DEBUG: sms_router: handling message
> > (0x91f44b8 vs 0x91f44b8)
> > 2012-10-10 18:42:13 [9999] [7] DEBUG: Routing failed, re-queued.
> > 2012-10-10 18:42:13 [9999] [7] DEBUG: sms_router: time to sleep 30.00
> secs.
> > 2012-10-10 18:42:13 [9999] [7] DEBUG: sms_router: gwlist_len = 6
> > 2012-10-10 18:42:13 [9999] [7] DEBUG: sms_router: handling message
> > (0x91e74e8 vs 0x91e74e8)
> > 2012-10-10 18:42:13 [9999] [7] DEBUG: Routing failed, re-queued.
> > 2012-10-10 18:42:13 [9999] [7] DEBUG: sms_router: handling message
> > (0x91f45f0 vs 0x91e74e8)
> > 2012-10-10 18:42:13 [9999] [7] DEBUG: Routing failed, re-queued.
> > 2012-10-10 18:42:13 [9999] [7] DEBUG: sms_router: handling message
> > (0x91f4810 vs 0x91e74e8)
> > 2012-10-10 18:42:13 [9999] [7] DEBUG: Routing failed, re-queued.
> > 2012-10-10 18:42:13 [9999] [7] DEBUG: sms_router: handling message
> > (0x91f42c0 vs 0x91e74e8)
> > 2012-10-10 18:42:13 [9999] [7] DEBUG: Routing failed, re-queued.
> > 2012-10-10 18:42:13 [9999] [7] DEBUG: sms_router: handling message
> > (0x91ea990 vs 0x91e74e8)
> > 2012-10-10 18:42:13 [9999] [7] DEBUG: Routing failed, re-queued.
> > 2012-10-10 18:42:13 [9999] [7] DEBUG: sms_router: handling message
> > (0x91f44b8 vs 0x91e74e8)
> > 2012-10-10 18:42:13 [9999] [7] DEBUG: Routing failed, re-queued.
> > 2012-10-10 18:42:13 [9999] [7] DEBUG: sms_router: handling message
> > (0x91e74e8 vs 0x91e74e8)
> > 2012-10-10 18:42:13 [9999] [7] DEBUG: Routing failed, re-queued.
> > 2012-10-10 18:42:13 [9999] [7] DEBUG: sms_router: time to sleep 30.00
> secs.
> > 2012-10-10 18:42:13 [9999] [6] DEBUG: AT2[wavecom]: device opened. Telnet
> > mode = 0
> > 2012-10-10 18:42:13 [9999] [6] DEBUG: AT2[wavecom]: device opened
> > 2012-10-10 18:42:13 [9999] [6] INFO: AT2[wavecom]: Logging in
> > 2012-10-10 18:42:13 [9999] [6] INFO: AT2[wavecom]: init device
> > 2012-10-10 18:42:13 [9999] [6] INFO: AT2[wavecom]: speed set to 115200
> > 2012-10-10 18:42:14 [9999] [6] DEBUG: AT2[wavecom]: --> ATZ^M
> > 2012-10-10 18:42:14 [9999] [6] DEBUG: AT2[wavecom]: <-- ATZ
> > 2012-10-10 18:42:14 [9999] [6] DEBUG: AT2[wavecom]: <-- OK
> > 2012-10-10 18:42:14 [9999] [6] DEBUG: AT2[wavecom]: --> AT^M
> > 2012-10-10 18:42:14 [9999] [6] DEBUG: AT2[wavecom]: <-- AT
> > 2012-10-10 18:42:14 [9999] [6] DEBUG: AT2[wavecom]: <-- OK
> > 2012-10-10 18:42:14 [9999] [6] DEBUG: AT2[wavecom]: --> AT&F^M
> > 2012-10-10 18:42:14 [9999] [6] DEBUG: AT2[wavecom]: <-- AT&F
> > 2012-10-10 18:42:14 [9999] [6] DEBUG: AT2[wavecom]: <-- OK
> > 2012-10-10 18:42:14 [9999] [6] DEBUG: AT2[wavecom]: --> ATE0^M
> > 2012-10-10 18:42:15 [9999] [6] DEBUG: AT2[wavecom]: <-- ATE0
> > 2012-10-10 18:42:15 [9999] [6] DEBUG: AT2[wavecom]: <-- OK
> > 2012-10-10 18:42:15 [9999] [6] DEBUG: AT2[wavecom]: --> AT+IFC=2,2^M
> > 2012-10-10 18:42:15 [9999] [6] DEBUG: AT2[wavecom]: <-- OK
> > 2012-10-10 18:42:15 [9999] [6] DEBUG: AT2[wavecom]: --> AT+CPIN?^M
> > 2012-10-10 18:42:15 [9999] [6] DEBUG: AT2[wavecom]: <-- +CPIN: READY
> > 2012-10-10 18:42:26 [9999] [6] DEBUG: AT2[wavecom]: --> AT+CMGF=0^M
> > 2012-10-10 18:42:26 [9999] [6] DEBUG: AT2[wavecom]: <-- OK
> > 2012-10-10 18:42:26 [9999] [6] DEBUG: AT2[wavecom]: --> AT+CSMS=?^M
> > 2012-10-10 18:42:26 [9999] [6] DEBUG: AT2[wavecom]: <-- +CSMS: (0,1)
> > 2012-10-10 18:42:26 [9999] [6] DEBUG: AT2[wavecom]: <-- OK
> > 2012-10-10 18:42:26 [9999] [6] INFO: AT2[wavecom]: Phase 2+ is supported
> > 2012-10-10 18:42:26 [9999] [6] DEBUG: AT2[wavecom]: --> AT+CSMS=1^M
> > 2012-10-10 18:42:26 [9999] [6] DEBUG: AT2[wavecom]: <-- +CSMS: 1,1,1
> > 2012-10-10 18:42:26 [9999] [6] DEBUG: AT2[wavecom]: <-- OK
> > 2012-10-10 18:42:26 [9999] [6] DEBUG: AT2[wavecom]: --> ATZ^M
> > 2012-10-10 18:42:26 [9999] [6] DEBUG: AT2[wavecom]: <-- OK
> > 2012-10-10 18:42:26 [9999] [6] INFO: AT2[wavecom]: AT SMSC successfully
> > opened.
> > 2012-10-10 18:42:26 [9999] [7] DEBUG: sms_router: gwlist_len = 6
> > 2012-10-10 18:42:26 [9999] [7] DEBUG: sms_router: handling message
> > (0x91f45f0 vs 0x91f45f0)
> > 2012-10-10 18:42:26 [9999] [7] DEBUG: Message routed successfully.
> > 2012-10-10 18:42:26 [9999] [7] DEBUG: sms_router: handling message
> > (0x91f4810 vs 0x91f4810)
> > 2012-10-10 18:42:26 [9999] [7] DEBUG: Message routed successfully.
> > 2012-10-10 18:42:26 [9999] [7] DEBUG: sms_router: handling message
> > (0x91f42c0 vs 0x91f42c0)
> > 2012-10-10 18:42:26 [9999] [7] DEBUG: Message routed successfully.
> > 2012-10-10 18:42:26 [9999] [7] DEBUG: sms_router: handling message
> > (0x91ea990 vs 0x91ea990)
> > 2012-10-10 18:42:26 [9999] [7] DEBUG: Message routed successfully.
> > 2012-10-10 18:42:26 [9999] [7] DEBUG: sms_router: handling message
> > (0x91f44b8 vs 0x91f44b8)
> > 2012-10-10 18:42:26 [9999] [7] DEBUG: Message routed successfully.
> > 2012-10-10 18:42:26 [9999] [7] DEBUG: sms_router: handling message
> > (0x91e74e8 vs 0x91e74e8)
> > 2012-10-10 18:42:26 [9999] [7] DEBUG: Message routed successfully.
> > 2012-10-10 18:42:28 [9999] [6] DEBUG: AT2[wavecom]: TP-Validity-Period:
> > 24.0 hours
> > 2012-10-10 18:42:28 [9999] [6] DEBUG: AT2[wavecom]: --> AT+CMGS=55^M
> > 2012-10-10 18:42:28 [9999] [6] DEBUG: AT2[wavecom]: <-- AT+CMGS=55
> > 2012-10-10 18:42:28 [9999] [6] DEBUG: AT2[wavecom]: <--
> > 2012-10-10 18:42:28 [9999] [6] DEBUG: AT2[wavecom]: <-- >
> > 2012-10-10 18:42:28 [9999] [6] DEBUG: AT2[wavecom]: send command status:
> 1
> > 2012-10-10 18:42:28 [9999] [6] DEBUG: AT2[wavecom]: -->
> >
> 0011000A8156095032650000A72F22641A644DCBCB6EB23C0C12A2C3F4340B346D4E41E730BD7C0FE741E939E8FE96AFD3EE33C8FDBE8B00
> > 2012-10-10 18:42:28 [9999] [6] DEBUG: AT2[wavecom]: --> ^Z
> > 2012-10-10 18:42:28 [9999] [6] DEBUG: AT2[wavecom]: <-- ERROR
> > 2012-10-10 18:42:28 [9999] [6] ERROR: AT2[wavecom]: Generic error: ERROR
> > 2012-10-10 18:42:28 [9999] [6] DEBUG: AT2[wavecom]: send command status:
> -1
> > 2012-10-10 18:42:28 [9999] [7] DEBUG: sms_router: handling message
> > (0x91f4810 vs 0x91f4810)
> > 2012-10-10 18:42:28 [9999] [7] DEBUG: re-queing SMS not-yet-to-be resent
> > 2012-10-10 18:42:28 [9999] [7] DEBUG: sms_router: handling message
> > (0x91f4810 vs 0x91f4810)
> > 2012-10-10 18:42:28 [9999] [7] DEBUG: re-queing SMS not-yet-to-be resent
> > 2012-10-10 18:42:28 [9999] [7] DEBUG: sms_router: time to sleep 30.00
> secs.
> > 2012-10-10 18:42:28 [9999] [6] DEBUG: AT2[wavecom]: <--
> >
> 0011000A8156095032650000A72F22641A644DCBCB6EB23C0C12A2C3F4340B346D4E41E730BD7C0FE741E939E8FE96AFD3EE33C8FDBE8B00
> > 2012-10-10 18:42:28 [9999] [6] DEBUG: AT2[wavecom]: <-- ERROR
> > 2012-10-10 18:42:28 [9999] [6] ERROR: AT2[wavecom]: Generic error: ERROR
> > 2012-10-10 18:42:28 [9999] [6] DEBUG: AT2[wavecom]: TP-Validity-Period:
> > 24.0 hours
> > 2012-10-10 18:42:28 [9999] [6] DEBUG: AT2[wavecom]: --> AT+CMGS=56^M
> > 2012-10-10 18:42:28 [9999] [6] DEBUG: AT2[wavecom]: <-- AT+CMGS=56>
> > 2012-10-10 18:42:28 [9999] [6] DEBUG: AT2[wavecom]: send command status:
> 1
> > 2012-10-10 18:42:28 [9999] [6] DEBUG: AT2[wavecom]: -->
> >
> 0011000C811979810550490000A72F22641A644DCBCB6EB23C0C12A2C3F4340B346D4E41E730BD7C0FE741E939E8FE96AFD3EE33C8FDBE8B00
> > 2012-10-10 18:42:28 [9999] [6] DEBUG: AT2[wavecom]: --> ^Z
> > 2012-10-10 18:42:28 [9999] [6] DEBUG: AT2[wavecom]: <-- >
> > 2012-10-10 18:42:28 [9999] [6] DEBUG: AT2[wavecom]: <-- ERROR
> > 2012-10-10 18:42:28 [9999] [6] ERROR: AT2[wavecom]: Generic error: ERROR
> > 2012-10-10 18:42:28 [9999] [6] DEBUG: AT2[wavecom]: send command status:
> -1
> > 2012-10-10 18:42:28 [9999] [6] DEBUG: AT2[wavecom]: <--
> >
> 0011000C811979810550490000A72F22641A644DCBCB6EB23C0C12A2C3F4340B346D4E41E730BD7C0FE741E939E8FE96AFD3EE33C8FDBE8B00
> > 2012-10-10 18:42:28 [9999] [6] DEBUG: AT2[wavecom]: <-- ERROR
> > 2012-10-10 18:42:28 [9999] [6] ERROR: AT2[wavecom]: Generic error: ERROR
> > 2012-10-10 18:42:28 [9999] [6] DEBUG: AT2[wavecom]: TP-Validity-Period:
> > 24.0 hours
> > 2012-10-10 18:42:28 [9999] [6] DEBUG: AT2[wavecom]: --> AT+CMGS=56^M
> > 2012-10-10 18:42:28 [9999] [6] DEBUG: AT2[wavecom]: <-- AT+CMGS=56>
> > 2012-10-10 18:42:28 [9999] [6] DEBUG: AT2[wavecom]: send command status:
> 1
> > 2012-10-10 18:42:28 [9999] [6] DEBUG: AT2[wavecom]: -->
> >
> 0011000C811979810550490000A72F22641A644DCBCB6EB23C0C12A2C3F4340B346D4E41E730BD7C0FE741E939E8FE96AFD3EE33C8FDBE8B00
> > 2012-10-10 18:42:28 [9999] [6] DEBUG: AT2[wavecom]: --> ^Z
> > 2012-10-10 18:42:28 [9999] [6] DEBUG: AT2[wavecom]: <-- >
> > 2012-10-10 18:42:28 [9999] [6] DEBUG: AT2[wavecom]: <-- ERROR
> > 2012-10-10 18:42:28 [9999] [6] ERROR: AT2[wavecom]: Generic error: ERROR
> > 2012-10-10 18:42:28 [9999] [6] DEBUG: AT2[wavecom]: send command status:
> -1
> > 2012-10-10 18:42:28 [9999] [6] DEBUG: AT2[wavecom]: <--
> >
> 0011000C811979810550490000A72F22641A644DCBCB6EB23C0C12A2C3F4340B346D4E41E730BD7C0FE741E939E8FE96AFD3EE33C8FDBE8B00
> > 2012-10-10 18:42:28 [9999] [6] DEBUG: AT2[wavecom]: <-- ERROR
> > 2012-10-10 18:42:28 [9999] [6] ERROR: AT2[wavecom]: Generic error: ERROR
> > 2012-10-10 18:42:28 [9999] [6] DEBUG: AT2[wavecom]: TP-Validity-Period:
> > 24.0 hours
> > 2012-10-10 18:42:28 [9999] [6] DEBUG: AT2[wavecom]: --> AT+CMGS=56^M
> > 2012-10-10 18:42:28 [9999] [6] DEBUG: AT2[wavecom]: <-- AT+CMGS=56>
> > 2012-10-10 18:42:28 [9999] [6] DEBUG: AT2[wavecom]: send command status:
> 1
> > 2012-10-10 18:42:28 [9999] [6] DEBUG: AT2[wavecom]: -->
> >
> 0011000C811979810550490000A72F22641A644DCBCB6EB23C0C12A2C3F4340B346D4E41E730BD7C0FE741E939E8FE96AFD3EE33C8FDBE8B00
> > 2012-10-10 18:42:29 [9999] [6] DEBUG: AT2[wavecom]: --> ^Z
> > 2012-10-10 18:42:29 [9999] [6] DEBUG: AT2[wavecom]: <-- >
> > 2012-10-10 18:42:29 [9999] [6] DEBUG: AT2[wavecom]: <-- ERROR
> > 2012-10-10 18:42:29 [9999] [6] ERROR: AT2[wavecom]: Generic error: ERROR
> > 2012-10-10 18:42:29 [9999] [6] DEBUG: AT2[wavecom]: send command status:
> -1
> > 2012-10-10 18:42:29 [9999] [6] DEBUG: AT2[wavecom]: <--
> >
> 0011000C811979810550490000A72F22641A644DCBCB6EB23C0C12A2C3F4340B346D4E41E730BD7C0FE741E939E8FE96AFD3EE33C8FDBE8B00
> > 2012-10-10 18:42:29 [9999] [6] DEBUG: AT2[wavecom]: <-- ERROR
> > 2012-10-10 18:42:29 [9999] [6] ERROR: AT2[wavecom]: Generic error: ERROR
> > 2012-10-10 18:42:29 [9999] [6] DEBUG: AT2[wavecom]: TP-Validity-Period:
> > 24.0 hours
> > 2012-10-10 18:42:29 [9999] [6] DEBUG: AT2[wavecom]: --> AT+CMGS=56^M
> > 2012-10-10 18:42:29 [9999] [6] DEBUG: AT2[wavecom]: <-- AT+CMGS=56>
> > 2012-10-10 18:42:29 [9999] [6] DEBUG: AT2[wavecom]: send command status:
> 1
> > 2012-10-10 18:42:29 [9999] [6] DEBUG: AT2[wavecom]: -->
> >
> 0011000C811979810550490000A72F22641A644DCBCB6EB23C0C12A2C3F4340B346D4E41E730BD7C0FE741E939E8FE96AFD3EE33C8FDBE8B00
> > 2012-10-10 18:42:29 [9999] [6] DEBUG: AT2[wavecom]: --> ^Z
> > 2012-10-10 18:42:29 [9999] [6] DEBUG: AT2[wavecom]: <-- >
> > 2012-10-10 18:42:29 [9999] [6] DEBUG: AT2[wavecom]: <-- ERROR
> > 2012-10-10 18:42:29 [9999] [6] ERROR: AT2[wavecom]: Generic error: ERROR
> > 2012-10-10 18:42:29 [9999] [6] DEBUG: AT2[wavecom]: send command status:
> -1
> > 2012-10-10 18:42:29 [9999] [6] DEBUG: AT2[wavecom]: <--
> >
> 0011000C811979810550490000A72F22641A644DCBCB6EB23C0C12A2C3F4340B346D4E41E730BD7C0FE741E939E8FE96AFD3EE33C8FDBE8B00
> > 2012-10-10 18:42:29 [9999] [6] DEBUG: AT2[wavecom]: <-- ERROR
> > 2012-10-10 18:42:29 [9999] [6] ERROR: AT2[wavecom]: Generic error: ERROR
> > 2012-10-10 18:42:29 [9999] [6] DEBUG: AT2[wavecom]: TP-Validity-Period:
> > 24.0 hours
> > 2012-10-10 18:42:29 [9999] [6] DEBUG: AT2[wavecom]: --> AT+CMGS=56^M
> > 2012-10-10 18:42:29 [9999] [6] DEBUG: AT2[wavecom]: <-- AT+CMGS=56>
> > 2012-10-10 18:42:29 [9999] [6] DEBUG: AT2[wavecom]: send command status:
> 1
> > 2012-10-10 18:42:29 [9999] [6] DEBUG: AT2[wavecom]: -->
> >
> 0011000C911979810550490000A72F22641A644DCBCB6EB23C0C12A2C3F4340B346D4E41E730BD7C0FE741E939E8FE96AFD3EE33C8FDBE8B00
> > 2012-10-10 18:42:29 [9999] [6] DEBUG: AT2[wavecom]: --> ^Z
> > 2012-10-10 18:42:29 [9999] [6] DEBUG: AT2[wavecom]: <-- >
> > 2012-10-10 18:42:29 [9999] [6] DEBUG: AT2[wavecom]: <-- ERROR
> > 2012-10-10 18:42:29 [9999] [6] ERROR: AT2[wavecom]: Generic error: ERROR
> > 2012-10-10 18:42:29 [9999] [6] DEBUG: AT2[wavecom]: send command status:
> -1
> > 2012-10-10 18:42:29 [9999] [6] DEBUG: AT2[wavecom]: <--
> >
> 0011000C911979810550490000A72F22641A644DCBCB6EB23C0C12A2C3F4340B346D4E41E730BD7C0FE741E939E8FE96AFD3EE33C8FDBE8B00
> > 2012-10-10 18:42:29 [9999] [6] DEBUG: AT2[wavecom]: <-- ERROR
> > 2012-10-10 18:42:29 [9999] [6] ERROR: AT2[wavecom]: Generic error: ERROR
> > 2012-10-10 18:42:33 [9999] [8] DEBUG:* Dumping 6 messages to store*
> >
> >
> > ===========
> > smsbox Log
> > ===========
> >
> > root@nathan-desktop:/usr/local/kannel/sbin# ./smsbox /etc/bhati/b.conf
> > 2012-10-10 18:43:10 [10008] [0] INFO: Debug_lvl = -1, log_file = <none>,
> > log_lvl = 0
> > 2012-10-10 18:43:10 [10008] [0] DEBUG: Kannel smsbox version `1.4.3'.
> > Build `Oct  3 2012 15:27:19', compiler `4.6.3'.
> > System Linux, release 3.2.0-31-generic-pae, version #50-Ubuntu SMP Fri
> Sep
> > 7 16:39:45 UTC 2012, machine i686.
> > Hostname nathan-desktop, IP 127.0.1.1.
> > Libxml version 2.7.2.
> > Compiled with MySQL 5.5.24, using MySQL 5.5.24.
> > Using native malloc.
> >
> > 2012-10-10 18:43:10 [10008] [0] INFO: Starting to log to file
> > /var/log/kannel/smsbox.log level 0
> > 2012-10-10 18:43:10 [10008] [0] INFO: Added logfile
> > `/var/log/kannel/smsbox.log' with level `0'.
> > 2012-10-10 18:43:10 [10008] [0] INFO: Service global sender set as
> > '9718500594'
> > 2012-10-10 18:43:10 [10008] [0] INFO: Logging accesses to
> > '/var/log/kannel/smsaccess.log'.
> > 2012-10-10 18:43:10 [10008] [0] INFO: Started access logfile
> > `/var/log/kannel/smsaccess.log'.
> > 2012-10-10 18:43:10 [10008] [0] INFO: HTTP: Opening server at port 13003.
> > 2012-10-10 18:43:10 [10008] [0] DEBUG: Started thread 1
> > (gwlib/fdset.c:poller)
> > 2012-10-10 18:43:10 [10008] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller)
> maps
> > to pid 10008.
> > 2012-10-10 18:43:10 [10008] [0] DEBUG: Started thread 2
> > (gwlib/http.c:server_thread)
> > 2012-10-10 18:43:10 [10008] [0] INFO: Set up send sms service at port
> 13003
> > 2012-10-10 18:43:10 [10008] [0] DEBUG: Started thread 3
> > (gw/smsbox.c:sendsms_thread)
> > 2012-10-10 18:43:10 [10008] [3] DEBUG: Thread 3
> > (gw/smsbox.c:sendsms_thread) maps to pid 10008.
> > 2012-10-10 18:43:10 [10008] [0] DEBUG:
> > ----------------------------------------------
> > 2012-10-10 18:43:10 [10008] [0] DEBUG: Kannel smsbox version 1.4.3
> starting
> > 2012-10-10 18:43:10 [10008] [0] DEBUG:   dumping group (sendsms-user):
> > 2012-10-10 18:43:10 [10008] [0] DEBUG:     <group> = <sendsms-user>
> > 2012-10-10 18:43:10 [10008] [0] DEBUG:     <username> = <virendra>
> > 2012-10-10 18:43:10 [10008] [0] DEBUG:     <password> = <bhati>
> > 2012-10-10 18:43:10 [10008] [0] DEBUG: Started thread 4
> > (gw/smsbox.c:obey_request_thread)
> > 2012-10-10 18:43:10 [10008] [0] DEBUG: Started thread 5
> > (gw/smsbox.c:url_result_thread)
> > 2012-10-10 18:43:10 [10008] [0] DEBUG: Started thread 6
> > (gw/smsbox.c:http_queue_thread)
> > 2012-10-10 18:43:10 [10008] [0] INFO: Connected to bearerbox at localhost
> > port 13001.
> > 2012-10-10 18:43:10 [10008] [0] DEBUG: Started thread 7
> > (gw/heartbeat.c:heartbeat_thread)
> > 2012-10-10 18:43:10 [10008] [2] DEBUG: Thread 2
> > (gwlib/http.c:server_thread) maps to pid 10008.
> > 2012-10-10 18:43:10 [10008] [4] DEBUG: Thread 4
> > (gw/smsbox.c:obey_request_thread) maps to pid 10008.
> > 2012-10-10 18:43:10 [10008] [5] DEBUG: Thread 5
> > (gw/smsbox.c:url_result_thread) maps to pid 10008.
> > 2012-10-10 18:43:10 [10008] [6] DEBUG: Thread 6
> > (gw/smsbox.c:http_queue_thread) maps to pid 10008.
> > 2012-10-10 18:43:10 [10008] [7] DEBUG: Thread 7
> > (gw/heartbeat.c:heartbeat_thread) maps to pid 10008.
> >
> > *Webpage information :-
> >
> > *
> >
> > Kannel bearerbox version `1.4.3'. Build `Oct 3 2012 15:27:19', compiler
> > `4.6.3'. System Linux, release 3.2.0-31-generic-pae, version #50-Ubuntu
> SMP
> > Fri Sep 7 16:39:45 UTC 2012, machine i686. Hostname nathan-desktop, IP
> > 127.0.1.1. Libxml version 2.7.2. Compiled with MySQL 5.5.24, using MySQL
> > 5.5.24. Using native malloc.
> >
> > Status: running, uptime 0d 0h 0m 13s
> >
> > WDP: received 0 (0 queued), sent 0 (0 queued)
> >
> > SMS: received 0 (0 queued), sent 0 (2 queued), store size 6
> >
> > SMS: 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:(none), IP 127.0.0.1 (0 queued), (on-line 0d 0h 0m 10s)
> >  SMSC connections:
> >     *wavecom*    AT2[wavecom] (online 2s, rcvd 0, sent 0, failed 0,
> queued
> > 3 msgs)
> >
>
>
> --
>
> |-----------------------------------------------------------------------------------------------------------------|
> 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
>



-- 

Thanks and regards

 Virendra Bhati
+91-9718500594
Asterisk Developer
E-mail-: [email protected]
Skype id:- virbhati2
New Delhi(India)
[image: View my profile on
LinkedIn]<http://in.linkedin.com/pub/virendra-bhati/6/a30/755>

Reply via email to