Re: Recieved SMS to PHP on Win

2002-02-19 Thread Chris Blown

This is covered in the Kannel user guide. Here

http://www.kannel.3glab.org/download/1.0.3/userguide-1.0.3/userguide.html#AEN893

This allows Kannel to compose a http GET and pass the various content
strings to the CGI / PHP script as a standard URL encoded query string.

Chris B


On Tue, 2002-02-19 at 22:33, Tobias Talltorp wrote:
 I would like to add the content of a SMS to a MySQL database using PHP.
 
 How can I make PHP parse the messages as they come in?
 I use Kannel on Windows 2000.
 
 Any thoughts?
 // Tobias
 
 
 






Re: Is the SMSC scene in the UK any good yet?

2002-02-12 Thread Chris Blown

Well nothings wrong with it, if you want to send the same sms message to
tons of people then its great.

AFAIK you can't do keyword service type responses like Kannel can do.
Certainly possible though, but your 'sms-as-xml-over-http' service provider
must be able to accept incoming SMS messages, know who they should be
forwarded to and package up some xml and send it over to your system. Then I
have something that reads this XML answers the request and sends it all
back.

One example with Kannel is I send the service center an SMS asking it for a
phone number that's in my address book, then sms this number to three of my
friends, all in one hit. Now that's sms services

But yeah, if these types of services are possible over these xml systems,
then an 'xml-over-http-as-SMSC' for Kannel is really not a bad idea.

Chris Blown


- Original Message -
From: Oded Arbel [EMAIL PROTECTED]
Cc: Chris Blown [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, February 12, 2002 9:10 PM
Subject: RE: Is the SMSC scene in the UK any good yet?


What's wrong with XML over HTTP (otherwise know in the hype scene as
web services) ? I know One2One in the UK do this (don't know how much
it costs). also checkout smsrelay.com.
BTW - how about writing an SMSC module for Kannel to use XML over HTTP ?

Oded Arbel
m-Wise Inc.
[EMAIL PROTECTED]

--
Billy : You're legally allowed to drink now so we figured the best
thing for you was a car.
-- from Good Will Hunting

  -Original Message-
  From: Chris Blown [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, February 12, 2002 2:41 AM
  To: [EMAIL PROTECTED]
  Subject: Re: Is the SMSC scene in the UK any good yet?
 
 
  Similar situation over here in Australia, most companies I have talked
  to, are either not sure, say its on the way or say no problems send
  them to us as xml via http. eerrm ... no thanks.
 
  They also charge like a wounded bull.
 
  On Tue, 2002-02-12 at 09:50, Eric Carlson wrote:
   Hi all,
  
   I installed Kannel way over a year ago in the UK and then
  queried the
   usual suspects trying to find a low cost SMSC. Vodaphone tried to
   lease me a Kilostream link at £40,000 pa, BT didn't understand the
   concept of an SMSC and Orange never got back to me.
  Meanwhile all you
   Scandinavians are laughing at us ;-)
  
   Is there a decent UK service provider around yet please?
  
  
 
 
 
 
--
Oded Arbel
m-Wise inc.
[EMAIL PROTECTED]

--
Ivy: I thought you had a girlfriend.
Wyatt: Me? No... well yeah, but I was just killing time.
Ivy: Killing time?
Wyatt: Yeah, killing time until I met you.
Ivy: Boy, never thought I'd fall for a line like that.
--from Overnight Delivery








Re: Which modem is a good choice for kannel?

2001-12-25 Thread Chris Blown

Alper,

I have had no problems with Kannel using the Ericsson GM12 modem. I had to 
patch the smsc_at.c source code ( this is now part of the main source tree 
), but the additions where minor. If the modem follows the same AT commands 
as the GM12 ( which it should ) it will work with no problems. 

Hope that helps 

Chris 


[iso-8859-9] Alper Küçükural writes: 

 I'd like to buy a GSM Modem. I am having some problems with Falcom 
 A2D Gsm Modem.If Ericsson GM25 is supported by Kannel and I would like to buy it. 
Can anybody
 tell me if it is a good choice or which modem can be a good choice? Does GM25 have 
any
 configuration problem with kannel?
 thanks in advance 
 Alper Kucukural 
 
 




Re: hidden variable for reply

2001-10-09 Thread Chris Blown

Hey Ahmad

I understand where you are coming from with this hidden 
variable idea.

As far as I know, the only way you can tell that you are 
receiving a reply, is from the mobile number itself. (%s)
I have heard that each SMS message has a unique id, but I
don't think Kannel currently has access to it (??) 

I have thought about ( not implemented ) this sort of reply
type system before. I can see a way, albeit has problems. If 
you where to keep track of the 'to' mobile number that your
user send to, along with a record of their id ( say for a web
reply ) If you then receive an SMS within a certain amount of 
time, from this number you can safely say its a reply and send it
along to the user, via the id record ( say as a email ).

This is not an ideal solution as a few caveats exist with users
sending SMS to the same person within that time frame. But this
would work with a small user group. Forget about this if you 
have large amounts of SMS traffic. Also your sms services handlers
might be effected as a reply could contain that keyword your 
bearer is expecting and reply with a say a weather report or the
score for the footy. ;-)

Has anyone got this sort of reply via sms center working ?

Anyway food for thought...

-Chris B


Ahmad Munif wrote:
 
 Hi, is it possible to include variable / hidden variable
 to message that sent from sms gateway to user ?, and if
 user reply that message that variable still include.
 and when message reply to sms gateway, sms gateway can identify
 that variable.
 
 is it possible, let me know plese ?
 
 thanks.




Re: i can't receive messges more then 1 message

2001-09-25 Thread Chris Blown

Ahmad,

Can you supply a bit more information. The log output from the bearbox, what version 
and platform
your running, and sms center or modem.

Then we should be able to help out..

-Chris B

Ahmad Munif wrote:
 
 Hi, i'm really confused tha i can't receive message after receive
 my first message.
 after shutdown kannel and running kannel, i just can receive 1 message.
 
 what's wrong, and how to fix it ( to receive all incomming messages) ?




Re: How to use GSM phone as SMSC

2001-09-23 Thread Chris Blown

Hey Paul,

As far a I know, Kannel uses PDU for its phone-as-smsc system.

Try some of the different modem types, if it still fails to work
then you could have a hack in smsc_at.c 

I had a similar, experience with an Ericsson unit and all the AT commands
where fine apart from just one. In my case it was the AT+CNMI command that
had different syntax.

Might help

-Chris B  


Paul Derks wrote:
 
 Hi,
 
 Please bear with me, I am new to Kannel, gateways and mobile stuff.
 I am trying to use a GSM phone (Philips Ozeo, GSM 07.05 compliant) as
 my SMSC. I installed kannel under Redhat Linux 7 and if I use fakesmsc and
 the test programs everything seems to work.
 I have added the following lines in my kannel.conf:
 
 group= smsc
 smsc = at
 modemtype = siemens
 device= /dev/ttyS0
 pin= 6996
 
 When I start up kannel and look at the log file it says something like PANIC
 can not connect to SMSC
 
 I have tried gsmlib and I can send and receive SMS under linux.
 How can I increase the debugging level to see exactly what is going to and
 from the phone?
 
 I have tested my phone and AT+CMGS works fine in text mode (AT+CMGF=1) but
 it doesn't
 seem to work with PDU mode (AT+CMGF=0). Which method does kannel use to send
 as SMS,
 text or PDU?
 
 Thanks,
 
 Paul




Re: kannel basics

2001-09-13 Thread Chris Blown

sachin lamsoge wrote:
 
 hi all,
 
 i am looking for something which can be used to as a
 link between GSM and IP. and have been thinking of
 using SMS or WAP gateways for this. Is kannel the
 right choice for me?
 
 i had some basic doubts about kannel.
 
 can kannel be used as a commercial gateway?

I hope so, cause we use it. ;-)

 
 I dont want a fully implemented WAP and SMS gateway
 for my application, i just want a link between GSM and
 IP.

Can you be more specific ? 

 
 if i want to test kannel to act as a commercial SMS
 and WAP gateway what all things do i need. like there
 is something mentioned about SMS centres ( i don't
 have much fundaes about how SMS works). Infact the
 basic doubt is how do i get a wireless connectivety to
 my PC running kannel gateway ( to make it act as an
 SMS or WAP gateway)

Kannel requires an SMS center for sending and receiving 
SMS messages. The Kannel docs explain all the different types.
Including the fake sms center for testing. 

 
 is kannel implemented somewhere as a commercial
 gateway?

We use it in a commercial system here, and it runs extremely well.
This really goes without saying when you have good open source software
running on Linux :-)  Thanks 3glabs.

-Chris B