RE: virtual smsc

2007-10-02 Thread info.ubichip
Hi Serge,

First of all, make some basics verification such as :
- is your modem is connected on the good tty, it could be verified
using minicom and basic command such as ATZ, please refer to minicom help
page for details informations,
- is your modem got the pin sim card ?

Hope that help



-Original Message-
From: Beaulois serge Yoboué [mailto:[EMAIL PROTECTED]
Sent: mardi 2 octobre 2007 13:39
To: users@kannel.org
Subject: virtual smsc

Hello

I need help

I can not send sms using a virtual smsc
My modem is Wavecom

When I  send sms message
This error appear in bearerbox terminal

2007-10-02 22:36:19 [9337] [6] DEBUG: AT2[smsserver]:
TP-Validity-Period: 24.0 hours
2007-10-02 22:36:19 [9337] [6] DEBUG: AT2[smsserver]: --> AT+CMGS=34^M
2007-10-02 22:36:19 [9337] [6] DEBUG: AT2[smsserver]: <-- >
2007-10-02 22:36:19 [9337] [6] DEBUG: AT2[smsserver]: send command status: 1
2007-10-02 22:36:19 [9337] [6] DEBUG: AT2[smsserver]: -->
001100088170250364A719EF35A89D07B9C3ED32283D0721CB6CF61B747FCBD964
2007-10-02 22:36:19 [9337] [6] DEBUG: AT2[smsserver]: --> ^Z
2007-10-02 22:36:22 [9337] [6] DEBUG: AT2[smsserver]: <-- >
2007-10-02 22:36:22 [9337] [6] DEBUG: AT2[smsserver]: <-- ERROR
2007-10-02 22:36:22 [9337] [6] ERROR: AT2[smsserver]: Generic error: ERROR
2007-10-02 22:36:22 [9337] [6] DEBUG: AT2[smsserver]: send command status:
-1
2007-10-02 22:36:22 [9337] [6] DEBUG: AT2[smsserver]: --> AT+CMGS=34^M
2007-10-02 22:36:22 [9337] [6] DEBUG: AT2[smsserver]: <-- >
2007-10-02 22:36:22 [9337] [6] DEBUG: AT2[smsserver]: send command status: 1
2007-10-02 22:36:22 [9337] [6] DEBUG: AT2[smsserver]: -->
001100088170250364A719EF35A89D07B9C3ED32283D0721CB6CF61B747FCBD964
2007-10-02 22:36:23 [9337] [6] DEBUG: AT2[smsserver]: --> ^Z
2007-10-02 22:36:28 [9337] [6] DEBUG: AT2[smsserver]: <-- >
2007-10-02 22:36:28 [9337] [6] DEBUG: AT2[smsserver]: <-- ERROR
2007-10-02 22:36:28 [9337] [6] ERROR: AT2[smsserver]: Generic error: ERROR
2007-10-02 22:36:28 [9337] [6] DEBUG: AT2[smsserver]: send command status:
-1
2007-10-02 22:36:28 [9337] [6] DEBUG: AT2[smsserver]: --> AT+CMGS=34^M
2007-10-02 22:36:29 [9337] [6] DEBUG: AT2[smsserver]: <-- >
2007-10-02 22:36:29 [9337] [6] DEBUG: AT2[smsserver]: send command status: 1
2007-10-02 22:36:29 [9337] [6] DEBUG: AT2[smsserver]: -->
001100088170250364A719EF35A89D07B9C3ED32283D0721CB6CF61B747FCBD964
2007-10-02 22:36:29 [9337] [6] DEBUG: AT2[smsserver]: --> ^Z
2007-10-02 22:36:34 [9337] [6] DEBUG: AT2[smsserver]: <-- >
2007-10-02 22:36:34 [9337] [6] DEBUG: AT2[smsserver]: <-- ERROR
2007-10-02 22:36:34 [9337] [6] ERROR: AT2[smsserver]: Generic error: ERROR
2007-10-02 22:36:34 [9337] [6] DEBUG: AT2[smsserver]: send command status:
-1



Please help me
This my conf file

# Fichier de config pour Modem GSM connecte sur le port /dev/ttyS0

group = core
admin-port =  13000
smsbox-port = 13001
admin-password = abc
#status-password = foo
#admin-deny-ip = ""
admin-allow-ip = ""
log-file = "kannel.log"
log-level = 0
box-deny-ip = ""
box-allow-ip = "127.0.0.1"
#unified-prefix = "+225"
#http-proxy-host = "127.0.0.1"
#http-proxy-port = 8081
sms-resend-freq = 2
sms-resend-retry = -1
#maximum-queue-length =-1
access-log = "access.log"
#store-file = "bearer.store"
#wdp-interface-name = '*'
#ssl-certkey-file = "mycertandprivkeyfile.pem"
#ssl-server-key-file = "key.pem"

#ssl-certkey-file = "mycertandprivkeyfile.pem"



include = "/etc/kannel/modem.conf"



# SMSC CONNECTIONS

# Groupe permettant à un modem de se connecter comme un centre de
service data virtuel


group = smsc
smsc = at
host = localhost
port = 13013
smsc-id = smsserver
modemtype = wavecom
sms-center = +22566277851
#sms-center = +22507523046
device = /dev/ttyS0
speed = 9600
#pin = 1234
#sim-buffering = true
#validityperiod = 167


# SMSBOX SETUP



group = smsbox

bearerbox-host = localhost

sendsms-port = 15013

global-sender = +22566277851

sendsms-chars = "0123456789 +-"

log-file = "smsbox.log"

log-level = 0

access-log = "access.log"

sendsms-url = /cgi-bin/sendsms

# SEND-SMS USERS



group = sendsms-user

username =foot

password = nfoot

#user-deny-ip = ""

#user-allow-ip = ""
#name = service_kannel
#forced-smsc = wavecom
#user-deny-ip = ""
#user-allow-ip = "*.*.*.*"
max-messages = 3
concatenation = true



# SERVICES

group = sms-service

keyword = nop

text = "You asked nothing and I did it!"





  _  

Antivirus avast!  : message Sortant sain. 


Base de donnees virale (VPS) : 000778-1, 02/10/2007
Analyse le : 02/10/2007 18:10:58
avast! - copyright (c) 1988-2007 ALWIL Software.






Re: virtual SMSC through Nokia 3650

2004-06-14 Thread Robert Andersson
AT+CSMS=1 returns ok but AT+CNMI=1,2,0,0,1 still returns error 301
I can run AT+CNMI=1,1,0,0,1 though but I don't seem to receive any
SMS messages (I just started minicom run AT and then AT+CNMI=1,1,0,0,1
then sent an SMS to the phone, maybe I have to do something more than
this?) I found the Nokia 30 AT manual but not anything
about 3650 or 6600. Has anyone got any idea of where to find this
kind of information?

Best regards
Robert Andersson

On Fri, 2004-06-11 at 15:23, James Coleman wrote:
> On Fri, Jun 11, 2004 at 03:47:18PM +0200, Robert Andersson wrote:
> > I'm trying to get a Nokia 3650 to work as a virtual SMSC.
> > I'm using the nokiaphone modem (at2).
> > The command AT+CNMI=1,2,0,1,0 fails with +CMS ERROR: 301.
> > As I understand it this is the commmand to listen to new
> > SMS. If I change init_string to ATE0 the initialization
> > works and it is possible to send SMS. It doesn't work
> > to receive any though. The behaviour on Nokia 6600 was
> > similar. Does anyone know what initstring to use with
> > Nokia 3600 or where the information may be found?
> > 
> > Running this command in minicom gives:
> > AT+CNMI=?
> > +CNMI: (0-2),(0-3),(0,2,3),(0-2),(0,1)
> > 
> > As I understand it this means the command should be supported.
> 
> You're right. Would appear to be supported.
> If you can get an AT commandset manual for your phone you may find
>  that setting one CNMI parameter limits the options on the others?
> 
> What is response to  AT+CNMI=1,2,0,1,0 in minicom?
> 
> from a manual for some siemens phones:
> 
>The following CMS errors have been defined for SMS:
> 
>...
> 
>301
> 
>SMS service of ME reserved
> 
>...
> 
> 
> and:
> 
>AT+CNMI=
> 
>NOTE: =2 and =3 are not possible unless the Phase 2+
>compatibility has been activated by means of +CSMS=1
> 
> maybe same or similar restriction could apply to your phone?
> 
> AT+CSMS=? 
> 
> James. 
> 
> 2004-05-05 12:27:46 [7] DEBUG: AT2[mobile]: --> AT+CSMS=?^M
> 2004-05-05 12:27:46 [9] DEBUG: Started thread 10 (gw/bb_boxc.c:boxc_sender)
> 2004-05-05 12:27:46 [7] DEBUG: AT2[mobile]: <-- +CSMS: (0,1)
> 2004-05-05 12:27:46 [7] DEBUG: AT2[mobile]: <-- OK
> 2004-05-05 12:27:46 [7] INFO: AT2[mobile]: Phase 2+ is supported
> 2004-05-05 12:27:46 [7] DEBUG: AT2[mobile]: --> AT+CSMS=1^M
> 2004-05-05 12:27:46 [7] DEBUG: AT2[mobile]: <-- +CSMS: 1,1,1
> 2004-05-05 12:27:46 [7] DEBUG: AT2[mobile]: <-- OK
> 2004-05-05 12:27:46 [7] DEBUG: AT2[mobile]: --> AT+CNMI=1,2,0,0,1^M
> 2004-05-05 12:27:46 [7] DEBUG: AT2[mobile]: <-- OK




Re: Virtual SMSC with Motorola V3 i?

2007-02-28 Thread sangprabv
Post us your error message :)

Willy
  - Original Message - 
  From: Mansur Rahman 
  To: users@kannel.org 
  Sent: Wednesday, February 28, 2007 12:06 AM
  Subject: Virtual SMSC with Motorola V3 i?


  Hi
  I am trying to set up kannel with the Motorola V3 i as a virtual SMSC. but 
the bearerbox shows errors on starting
  Could anyone provide me with the modem configuration details for the motorola 
V3i & mention what all changes 
  need to be affected in Kannel 1.4.1 for it to work?

  I'd be highly grateful to anyone who can help..

  Thank You
  Mansur