RE:3 questions

2002-07-03 Thread Ilari Mikkonen

  
  
 Hi
  
 I have 2 questions.
  
 1- under mandrake, how do I connect to the modem (on com 2) to set it up with AT 
commands ?

I'm not quite sure what you mean, but if you want to access WML pages with mobile 
phone, go to the userguide and read the Appendix C. It gives you the basics.

 2- Can someone show me a bit of his kannel.conf regarding the settings of the 
modem (speed,  CNMI = 1,2,0,0,0 and others)

What version of kannel are you using? The latest snapshot versions ( and maybe 1.1.6 ) 
support AT2 module and include keyword. with this include keyword in your 
configuration file you can include file called modems.conf. It has definitions for 
many modems. Again documentation is your friend.

 I couldn't make it (I use a wavecom)

I think there is also stuff for wavecom.

   3- How do I stop kannel from automatically send an answer when it receives an 
sms ?

Assuming you mean sending SMS back to the mobile phone. Try max-messages 

The total maximum of SMSes in reply. Default is 1. If max-messages is set to 0, no 
reply is sent, 
except for error messages.  

Straight from the user's guide ;)

ilari mikkonen






sendsms

2002-07-03 Thread Ilari Mikkonen

How can another program (process) use Kannel's sendsms service? The idea is to have a 
program which monitors something and then uses kannel to send an SMS to a monile phone.

I'm running linux mandrake 8.1

ilari mikkonen






Re: sendsms

2002-07-03 Thread Shridhar Raju

 How can another program (process) use Kannel's sendsms service? The idea
is to have a program which monitors something and then uses kannel to send
an SMS to a monile phone.

Make a socket connection to sendsms port and send HTTP request (GET or
POST). Or u can send  extended kannel http headers. For eg. see
contrib\php-admin\functions.inc, which is written in PHP. You can do this
with any other langauge like Perl, Java, C etc.

 I'm running linux mandrake 8.1

Hope this will help you.

Regards
Shridhar Raju





RE:3 questions

2002-07-03 Thread nickylars


--- Ilari Mikkonen [EMAIL PROTECTED] wrote:
   
   
  Hi
   
  I have 2 questions.
   
  1- under mandrake, how do I connect to the
 modem (on com 2) to set it up with AT commands ?
 
 I'm not quite sure what you mean, but if you want to
 access WML pages with mobile phone, go to the
 userguide and read the Appendix C. It gives you the
 basics.

Just connect your modem to com2, there is no need to
configure anything else then use:

group=smsc
smsc=at (or at2 this is what i use)
modemtype=WAVECOM
device=/dev/ttyS1 (for com2)


 
  2- Can someone show me a bit of his
 kannel.conf regarding the settings of the modem
 (speed,  CNMI = 1,2,0,0,0 and others)

you don't need to specify these settings for WAVECOM


 
 What version of kannel are you using? The latest
 snapshot versions ( and maybe 1.1.6 ) support AT2
 module and include keyword. with this include
 keyword in your configuration file you can include
 file called modems.conf. It has definitions for
 many modems. Again documentation is your friend.
 
  I couldn't make it (I use a wavecom)
 
 I think there is also stuff for wavecom.
 
3- How do I stop kannel from automatically
 send an answer when it receives an sms ?
 
 Assuming you mean sending SMS back to the mobile
 phone. Try max-messages 
 
 The total maximum of SMSes in reply. Default is 1.
 If max-messages is set to 0, no reply is sent, 
 except for error messages.  

That is correct!

 
 Straight from the user's guide ;)
 
 ilari mikkonen
 
 
 

Nickylars


__
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com




correct unified-prefix for UK mobile phone numbers

2002-07-03 Thread William Hargrove

Hello there,

I'm a little confused as to the correct 'unified-prefix' to use for UK
mobile phone numbers.

I wonder if someone could give me an example of how this feature works, and
also of what a 'correct' unified-prefix for UK numbers would look like.

Thanks very much in advance.

Will.





RE: PPG Message Request Format

2002-07-03 Thread Rosen Ira-IROSEN1

Aarno,

Thank you for your response to my submission to the Kannel User Group. I've
(hopefully) one last set of questions regarding the PUSH_URL parameter to
the test_ppg program. 

Copied from your message, the full form of the PUSH_URL parameter is
http://WAPBOX_IP_ADDRESS:PORT_OF_PPG/CONFIGURED_PUSH_URL/USERNAME=CONFIGURED
_USERNAMEPASSWORD=CONFIGURED_PASSWORD. Here's my additional questions:

1. If, for testing purposes, I don't specify a username/password for PPG
access, can I disregard the /USERNAME=...PASSWORD part of PUSH_URL?
2. The CONFIGURED USERNAME and CONFIGURED PASSWORD values are the
ppg-username and ppg-password values, respectively defined in the group =
wap-push-user entry in my kannel.conf file, correct?
3. Does the ppg-username account need to exist as a login on the host on
which the PPG resides? If so, are there any requirements for the login
(other than the login password being set to ppg-password, I imagine)?
4. An example of a call to 'test_ppg' on page 115 of the User's Guide shows
test_ppg being called with a first parameter of
http://name:port?username=foopassword=bar;. Does this mean that the
CONFIGURED PUSH URL portion of the full PUSH_URL parameter is not a
required portion of the parameter?
5. How is the CONFIGURED PUSH URL portion of the PUSH_URL parameter to
test_ppg defined? I didn't see any examples in test_ppg.c or in the User's
Guide to use as a model for this portion of the parameter.

Thank you again.

-Ira Rosen

-Original Message-
From: Aarno Syvänen [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 02, 2002 11:42 PM
To: Rosen Ira-IROSEN1
Cc: [EMAIL PROTECTED]
Subject: Re: PPG Message Request Format


Rosen Ira-IROSEN1 kirjoittaa tiistaina, 2. heinäkuuta 2002, kello 
07:22:In order to begin testing Kannel PPG functionality, I've read 
through the
 Architecture and User's Guide documents and some test source code 
 including
 test_ppg.c. One way to run test_ppg is to provide a PUSH_URL as well as
 optional CONTENT_FILE and PAP_FILE parameters. I found a sample 
 PAP_FILE in
 Kannel/PPG/push_ctrl_doc.
 Trivial though this will sounds to many, I'm unclear regarding the
 definition and usage of the PUSH_URL and CONTENT_FILE parameters.
 Regarding CONTENT_FILE, what does the file contain? Is it the URL that 
 the
 handset will access if the subscriber confirms that they want to view 
 the
 PUSH content?

This is the main thing content file contains, yes.

 I thought this was part of the address ... entry in the push
 control document.

This is phone number or ip used for reaching the phone (depending is the 
bearer SMS
or CSD).

 Regarding PUSH_URL, what is the format of the URL? Is this something of 
 the
 form: http://KANNEL_HOST_IP_ADDRESS:IP_PORT_OF_PPG;?

Full form is http://WAPBOX_IP_ADDRESS:PORT_OF_PPG/CONFIGURED_PUSH_URL/
USERNAME=CONFIGURED_USERNAMEPASSWORD=CONFIGURED_PASSWORD

 In addition, for my initial kannel.conf file with PPG configuration
 information, I've stuck, for the most part, with the default 
 configuration
 in the Kannel User's Guide. I'm sure to change many of these values 
 once I
 begin sending PAP messages through the PPG. I'd appreciate suggestions
 anyone has regarding difficult experiences you've had with PPG-related
 configuration variables. For now, I have the following groups defined:
 * core
 * wapbox
 * smsbox
 * smsc
 * ppg
 * wap-push-user

These should be enough, yes.

Aarno




wap-push.cgi

2002-07-03 Thread Rosen Ira-IROSEN1

List members:

I've been configuring and testing Kannel PPG functionality and have been
looking for details on the wap-push.cgi script. A list posting on 1/24/2002
states that the wap-push.cgi script is simply part of the push URL, and the
purpose of the script is to route requests to the right service.
Unfortunately, I've seen no such cgi scripts in Kannel software.  Since this
sounds like an important piece of functionality for the PUSH side, does
anyone have a copy of such a script? My system is based on Debian GNU/Linux
3.0 ('woody'). I imagine, however, that any such CGI script could be
modified without too much difficulty, so if all that's available is a script
written on/for for another OS, I'd appreciate getting a chance to start with
such a script.

Thank you for your help.

Ira Rosen




Re: Trouble sending dollar symbol ($) in SMS

2002-07-03 Thread Steven Mak

The $ sign in GSM character set is not 0x24. It should
be 0x02.

Steven Mak
--- Joel Hockey [EMAIL PROTECTED] wrote:
 Hi,
 
 I am using Kannel 1.1.4 on win2k with a wavecom gsm
 modem.  I am having
 trouble sending the dollar symbol ($), (ASCII
 character 0x24) in an sms
 message to a mobile phone.
 
 When I use fakesmsc, I see the '$' fine.
 
 When I send an sms to a nokia phone, the phone
 complains that the message is
 corrupted and will not display it.
 
 When I send it to a siemens phone, the $ is
 displayed as '?#39; (ASCII char
 0xa4).
 
 I have tried using the 'alt-charset = 1' option but
 this doesn't make any
 difference.
 
 Does anyone have any suggestions?
 
 Thanks,
 
 Joel
 


__
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com