Thank you for your response.  I don't understand why I would change the
device though.  The modem that I am using connects via ethernet (RJ45/CAT5
plugged directly into a router or switch) and not the serial port which is
what I thought /dev/ttyS0 was.  I assumed that being direct ethernet I would
need to set the device to rawtcp and give an IP address and port number.
What am I missing?

Thanks,

-Tony

On Mon, May 5, 2008 at 12:51 AM, Jyothi rao <[EMAIL PROTECTED]> wrote:

> Your modem is not connected at all.  As far as I know, I think, modem type
> should not be auto, instead you should give the specific name for the type.
>
> If you have some errors in the log file attach it. lets try if some
> mistake is found there.
>
> I suggest you to remove the following parameters and try connecting:
> allowed-smsc-id = vzn00;vzn01
> device = rawtcp
> connect-allow-ip = 127.0.0.1
>
> -----------------
> the following is the configuration i use for my modem ( nokia-30) and it
> works fine.
>
>
> group = smsc
> smsc = at
> smsc-id=at_smsc
> modemtype = nokiaphone
> device=/dev/ttyS0
> my-number=9865969036
> log-file=/SMSLOGS/smsc.log
> log-level=0
> msg-id-type=1
> validityperiod=167
> ##validityperiod for 24 hours
>
>
>
>
>
>
> On Mon, May 5, 2008 at 11:26 AM, Tony Kirkham <[EMAIL PROTECTED]>
> wrote:
>
> > Hi,
> >
> > I am new to Kannel and am trying to set it up to send and receive SMSs.
> > I am having some problems and would really appreciate any help I can get.
> >
> > I am running on Ubuntu 7.10 with Kannel 1.4.1 loaded via apt-get.  I
> > have also modified the /etc/default/kannel file to start the smsbox instead
> > of the wapbox.
> >
> > Kannel comes up just fine and I can use the http interface to obtain a
> > status of the server but, I am not able to send a message (no receive
> > attempts have been made to date) and it appears that Kannel has not been
> > able to connect to the modem yet.  I am committed to a modem that I have not
> > seen in any of the discussions to date.  It is a Multitech MTCBA-G-EN-F4
> > quad-band GPRS modem.  This modem is an ethernet modem and plugs directly
> > into my router.  I have been able to connect to the modem and send an SMS
> > via MicroSoft Hyper Terminal.  This worked well so I feel confident that I
> > have the IP address and port to communicate with the modem correct.  I did
> > have to go in and turn off PPP in the modem configuration in order to send
> > via Hyper Terminal.  I am not very familiar with all of the terms and
> > protocols in the cell / modem / SMS world yet so I do not understand the
> > implications of turning off PPP and do not know if this is affecting Kannel
> > in some way.
> >
> > I have set my config file up (I hope) to handle a raw tcp connection.  I
> > did note that the manual says the driver has never been tested in telnet
> > mode.  I'm not quite sure what that implies.  I believe the connection via
> > MS Hyper Terminal is telnet.  For the modems sections of the config file I
> > have simply included the modems.conf file that was installed with Kannel.  I
> > am not sure just which parameters need to set in a modem config so, I have
> > hoped that the default would work.  However, it appears that it does not.
> > The SMSC connections section of the status only ever show "connecting".
> > Does anyone understand what would be needed to make this modem work?  Are
> > their more detailed design docs that show state diagrams and config file
> > requirements (especially for the modem) to help me figure out just what is
> > missing from my setup?  Thank you for any help.
> >
> > My config file and other status / responses are below
> >
> > When I attempt to send an SMS, the http response from Kannel is:
> > 3: Queued for later delivery
> >
> > When I request a server status I see the following:
> > Kannel bearerbox version `1.4.1'.
> > Build `Nov 11 2006 21:58:18', compiler `4.1.2 20061103 (prerelease)
> > (Ubuntu 4.1.1-18ubuntu2)'.
> > System Linux, release 2.6.22-14-generic, version #1 SMP Tue Feb 12
> > 02:46:46 UTC 2008, machine x86_64.
> > Hostname message1, IP 127.0.1.1.
> > Libxml version 2.6.26.
> > Using OpenSSL 0.9.8b 04 May 2006.
> > Compiled with MySQL 5.0.26, using MySQL 5.0.45.
> > Using native malloc.
> >
> > Status: running, uptime 2d 1h 17m 12s
> >
> > 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 msg/sec, outbound 0.00 msg/sec
> >
> > DLR: 0 queued, using internal storage
> >
> > Box connections:
> >     smsbox:(none), IP 127.0.0.1 (0 queued), (on-line 2d 1h 17m 11s)
> >
> > SMSC connections:
> >     vzn00    AT2[vzn00] (connecting, rcvd 0, sent 0, failed 0, queued 0
> > msgs)
> >
> >
> > kannel.conf file:
> >
> > group = core
> > admin-port = 13000
> > smsbox-port = 13001
> > amin-password = xxxx
> > admin-deny-ip = "*.*.*.*"
> > dmin-allow-ip = "127.0.0.1"
> > # wapbox-port = 13002
> > # wdp-interface-name = "*"
> > log-file = "/var/log/kannel/bearerbox.log"
> > box-deny-ip = "*.*.*.*"
> > box-allow-ip = "127.0.0.1"
> >
> > group = smsbox
> > bearerbox-host = 127.0.0.1
> > sendsms-port = 13013
> > global-sender = 123123123
> > log-level = 0
> > log-file = "/var/log/kannel/smsbox.log"
> >
> > group = smsc
> > smsc = at
> > smsc-id = vzn00
> > allowed-smsc-id = vzn00;vzn01
> > modemtype = auto
> > device = rawtcp
> > host = 192.168.1.120
> > port = 5000
> > smsc-username = xxxx
> > smsc-password = xxxx
> > my-number = 123123123
> > connect-allow-ip = 127.0.0.1
> > log-level = 0
> >
> > group = sendsms-user
> > username = kanneluser
> > password = xxx
> > concatenation = true
> > max-messages = 10
> >
> > group = sms-service
> > keyword = default
> > text = "No service specified"
> >
> > include = "/etc/kannel/modems.conf"
> >
> >
> >
>
>
> --
> Jyothi Rao

Reply via email to