Hi, please forgiveme if this is not the correct e-mail address.Thank you very much for your reply. I was trying and found some difficulties. Before describe the difficulties I should mention some system configuration that will helpme explain the situation
a) The IP address of the centos server where Kannel is installed and where is the wml page is 192.168.3.141. Our URL is not in DNS b) The workstation from where I must access to simulate is 192.168.3.11 c) The wml page is stored in /var/www/html/WAP2 and to open from my browser I introduce http://192.168.3.141/WAP2/pagwml.wml. The page is open when I introduce this address, but of course not through the kannel gateway. The difficulties are the followings: 1) Although the firewall is disable, the kannel gateway don’t listen at the port udp 9200 nor the 9201. The BearerBox only listen in the admin-port (13000) and the WapBox in the communication-port with the BearerBox (13001). (When I execute the netstat –tanp while the BearerBox and the WapBox are running, these ports don’t appear in the list) This is the content of the configuration file (called kannel.conf) #Bearerbox Configuration group = core admin-port = 13000 admin-password = pinmananger status-password = pinsupervisor #admin-deny-ip = "*.*.*.*" #admin-allow-ip = "192.168.3.11" wapbox-port = 13001 wapbox-port-ssl = FALSE wdp-interface-name = "*" log-file = "/home/Kannel/program/Logs/Log_BearerBox.txt" log-level = 0 access-log = "/home/Kannel/program/Logs/Log_Accesos.txt" #http-proxy-host = "127.0.0.1" #http-proxy-port = 8080 #http-proxy-exceptions = "127.0.0.1" #http-proxy-username = "user" #http-proxy-password = "password" #ssl-certkey-file = "mycertandprivkeyfile.pem" # WapBox Configuration group = wapbox bearerbox-host = "192.168.3.141" log-file = "/home/Kannel/program/Logs/Log_WapBox.txt" log-level = 0 smart-errors = TRUE #RADIUS Configuration group = radius-acct secret-nas = secretword our-host = "192.168.3.141" our-port = 1813 #remote-host = "192.168.3.141" #remote-port = 8000 #secret-radius= secreto unified-prefix="+5989" Perhaps is a problem in the configuration or in the installation, but I made the installation following the user’s guide, so I think this is not the problem (I have the version 1.4.3 installed). 2) I have WinWap Smartphone Browser that is different than WinWAP for Windows. The WinWap Smartphone Browser is a freeware. I downloaded WinWAP for Windows 4.1 and I made the configurations, but it doesn’t allow introduce the URL :(. Perhaps because it is a free 30 day evaluation version. But, there is some way to open the wml page through the Kannel gateway using the WinWap Smartphone Browser or the Mozilla firefox browser? Or there is other phone browser emulator that I can configure and use? 3)Finally, there is one way to simulate the sending of the MSISDN through the browser? Please forgive worries Pablo Centurión Nikos Balkanas wrote: > > Hi, > > I have the same setup and I too test with Winwap. Except i am using > lighttpd > instead of Apache. > > 1) If your URL is not in DNS, in your windows PC running winwap, declare > your test URL in drivers/etc/hosts. > 2) Ditto for your kannel server in /etc/hosts (if not in DNS). > 3) Configure apache to answer to that URL. Verify with browser from your > PC. > 4) Make sure that you have udp ports 9200 & 9201 open to you in your > kannel > server, if you have a firewall in between. > > Winwap: > 5) Choose gateway mode in winwap > 6) Add kannel server and make it your active gateway in winwap > 7) Choose protocol connectionless or connection oriented (but not secure - > pending my wtls patch) > 8) Add the URL in winwap's bookmarks. > 9) Fire away. > > BR, > Nikos > ----- Original Message ----- > From: "Pablo Centurion" <[email protected]> > To: <[email protected]> > Sent: Tuesday, December 01, 2009 3:08 PM > Subject: Basic Wap Simulation > > > > Hello, I’m Pablo CenturiΓ³n. Please forgive my English and my ignorance. > > I must develop a WAP interface for a system. > > I have a Centos 5.0 server in which I installed the Kannel Gateway and > configured the bearerbox and the wapbox according to the user’s guide. > On > this server I also installed Apache 2.2.3 > > Now I need to simulate the access to a wml page that I developed from a > Smartphone browser emulator (I have WinWAP Smartphone Browser Emulator v > 1.2 > installed in a client workstation). > These are the questions > > 1. What else do I need to simulate the access to the access to the wml > page? > 2. What I must to introduce in the Smartphone browser emulator to access > to > the wml page trough the Kannel Gateway? (When I introduce the wml page > address location, the Smartphone browser emulator tries to open the page > without going through the Kannel Gateway) > 3.Is there any way to simulate the sending of the MSISDN via Smartphone > browser emulator? (Because I configured the RADIUS accounting proxy and I > need the MSISDN for the system) > > From now thanks for your reply > Pablo CenturiΓ³n > > -- > View this message in context: > http://old.nabble.com/Basic-Wap-Simulation-tp26575336p26575336.html > Sent from the Kannel - User mailing list archive at Nabble.com. > > > > > Quoted from: http://old.nabble.com/Basic-Wap-Simulation-tp26575336p26592637.html -- Pablo Francisco Centurión Gonzálvez
