Problems running SMSbox and WAPbox at the same time

2002-07-07 Thread Ilari Mikkonen

Hi!

I'm running a linuxbox with Mandrake 8.1. I'm trying to run a system where smsbox and 
the wapbox are running on a same computer. I have a Nokia Card Phone connected to a 
PCMCIA port (ttyS16) which acts as ppp/dial-up link. The I have a Siemens MC35 
connected to RS-232 port (ttyS1) which is an smsc.

When i run sms an wapbox at the same time, I get a ppp error:

Hangup (SIGHUP)
Couldn't set tty to PPP discipline: Interrupted system call.

In this case smsbox works perfectly. If I do not run smsbox all the wap services work 
fine over ppp link. any ideas? here is the configuration file:

group = core
admin-port = 13000
wapbox-port = 13002
smsbox-port = 13004
admin-password = busdrive
wdp-interface-name = *
box-deny-ip = *.*.*.*
box-allow-ip = 127.0.0.1;192.168.*.*

group = wapbox
bearerbox-host = 192.168.123.156

group = smsc
smsc-id = modem
smsc = at2
modemtype = siemens_tc35
device = /dev/ttyS1

include = modems.conf

group = smsbox
bearerbox-host = 192.168.123.156
sendsms-port = 13014
log-file = smsbox.log

group = sms-service
keyword = keyword
text = sms-service

group = sendsms-user
username = username
password = password

group = sms-service
keyword = www
url = http://%S;

ilari mikkonen






Alphanumeric Global Sender

2002-07-07 Thread Michael Tung



Dear all,

Any way to set the Global Sender, or "from" to an 
alphanumeric
string, rather than just a phonenumber / 
shortcode?


--Michael Tung

---Outgoing mail is certified Virus 
Free.Checked by AVG anti-virus system (http://www.grisoft.com).Version: 6.0.372 / 
Virus Database: 207 - Release Date: 6/20/2002


Re: IP Addressing in PAP Control Document

2002-07-07 Thread Aarno Syvänen

Rosen Ira-IROSEN1 kirjoittaa lauantaina, 6. heinäkuuta 2002, kello 
00:54:Thank you to the user group for your help.
 I have the test_ppg program working properly, largely based on PAP/SI
 control files provided with Kannel source code.
 Currently, I'm trying to send a PUSH message to an IP address. Since the
 sample control files use a phone number rather than an IP address as the
 PUSH recipient, I found some User Group archive messages with examples 
 of
 Push Control Document entries appropriate for such a configuration. One 
 such
 example (for the address address-value ... entry) follows:

   [EMAIL PROTECTED]

 Therefore, I placed the following line in my push control document:
 WAPPUSH=3DMY_IP_ADDRESS/TYPE=3DIPv4@MY_DOMAIN/
   Where MY_IP_ADDRESS and MY_DOMAIN contain the values appropriate for
 my desktop and site (rather than ppg.carrier.com).

 When I run my push control document with the WAPPUSH entry listed above
 through the PPG using the 'test_ppg' program, the program generates the
 following message:
   2002-07-05 21:06:32 [1] DEBUG: TEST_PPG: and type bad message
 response
 Note that the same thing occurs if I remove the '3D' text from my
 definition, above. I've also tried using IPv6 rather than IPv4 as shown 
 in
 the example.

 In various places on the web, I've located several different 
 suggestions for
 formatting the WAPPUSH entry (in the address address-value .. entry).
 These suggestions are consistent with the format that I've used. 
 Therefore,
 my questions are
 * Are there any changes I should/need to make to the format of my
 WAPPUSH entry, so that test_ppg can send a PUSH message through the 
 Kannel
 PPG to an IP-based recipient (in this case the WAP emulator provided 
 with
 the Nokia Toolkit)?

Address should be [EMAIL PROTECTED] 
There
are an example control document with ip address in test/iptestppg.txt

 * Are there any specific entries in my kannel.conf file (under the
 group = ppg heading most likely) that need to be changed when sending a 
 PUSH
 to an IP address rather than to a phone number?

No. All addressing is specified in pap control document.

Aarno





Re: 1 kannel 2 SMS

2002-07-07 Thread Aarno Syvänen
Andy Elacion, Jr. kirjoittaa lauantaina, 6. heinäkuuta 2002, kello 06:36:So we should do it like this, on our bearerbox config? Or we should include this also on the smsbox config?

Adding following to the bearerbox config should be enough. 

#    GROUP CONFIG
group = core
admin-port = 13000
smsbox-port = 13001
admin-password = *
 

# SMSC1 CONNECTIONS
group = smsc
smsc =  cimd2
host = 192.168.0.1
port = 9971
smsc-username =*
smsc-password = x
keepalive = 1

# SMSC1 CONNECTIONS
group = smsc
smsc =  cimd2
host = 192.168.0.2
port = 9971
smsc-username =*
smsc-password = x
keepalive = 1

Oded Arbel wrote:

 Those are two seperate _SMSC_ configurations, not only smsbox. it is important to understand that only the bearerbox actually connects to the SMSC, so you must have both SMSC configurations in the same configuration file read by bearerbox (assuming of course, that you are running only one bearerbox). if setup correctly, it is possible to use one SMSC connection for MOs and one for MTs, with or w/o cooperation from the SMSC provider. but it has little relevance on the way messages are routed to the smsboxes.--
Oded Arbel
m-Wise mobile solutions
[EMAIL PROTECTED] +972-9-9581711
+972-67-340014 ::..
Boling's postulate:
If you're feeling good, don't worry.  You'll get over it.
 

-Original Message-
From: Andy Elacion, Jr. [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 25, 2002 10:46 AM
To: [EMAIL PROTECTED]
Subject: Re: 1 kannel 2 SMS
 
"Andy Elacion, Jr." wrote:

We have a kannel (1 bearerbox) and 2 separated SMS boxes config.  I want to explore more this set-up.

Is it possible to use the 1 smsbox to act as receive/incoming sms messages and the 2 smsbox to act as to send/out-going sms message.

All help is deeply apreciated.

-Andy

Here is my config to be implemented for the above config.  Please take a look at this, any comment is deeply appreciated.
 
 
 

--
Andy Elacion, Jr.
Network Supervisor
imGAME.com.ph
--
The information contained in this Internet message is confidential and intended only for the use of the individual or entity identified. If the reader of this message is not the intended recipient, any dissemination, distribution or copying of the information contained in this Internet message is strictly prohibited. If you received this message in error, please notify the sender immediately.
 



Re: secure site with kannel?

2002-07-07 Thread Aarno Syvänen

Mario Gaucher kirjoittaa lauantaina, 6. heinäkuuta 2002, kello 16:24: Hi!

 It seems that when I connect to a secure site (https/ssl) through 
 kannel... connection between the secure site and kannel is encrypted. 
 But is it secure between my phone and kannel?

 I can check the encryption code on my phone (Motorola P280)... but 
 there is no code when I use kannel with my ISP phone number... but if I 
 use GPRS (with Microcell/Fido's gateway) to do the same thing, I can 
 see the encryption code.

For secure connections between the phone and the gateway, you must use 
wtls. Kannel
sorts of have it.

Aarno