Hi,
In the source code, see:
gwlib/cfg.def
There are the following groups defined:
MULTI_GROUP(wap-url-map,
OCTSTR(name)
OCTSTR(url)
OCTSTR(map-url)
OCTSTR(send-msisdn-query)
OCTSTR(send-msisdn-header)
OCTSTR(send-msisdn-format)
OCTSTR(accept-cookies)
)
MULTI_GROUP(wap-user-map,
OCTSTR(name)
OCTSTR(user)
OCTSTR(pass)
OCTSTR(msisdn)
)
I guess wap is not supported any longer in kannel, therefore the User guide is
outdated. I will describe the fields for you:
wap-url-map:
name: Just a refernce name for this map. I.e. map1
url: Target url that you want to replace. Accepts wildcards.
map-url: What to replace it with. Accepts wild-cards.
msisdn stuff: Radius related stuff. If msisdn is known through radius, it will
send the msisdn number in a special header.
accept-cookies: Boolean. Yes or No. You know, like a browser.
wap-user-map:
This is optional, if authentication is needed for the mapped url. I don't think
it is implemented, though. Just skip.
BR,
Nikos
----- Original Message -----
From: narendra reddy
To: [email protected]
Sent: Thursday, October 01, 2009 4:20 PM
Subject: Re: map-url
Hi Nikos,
first thanks for giving responce to my mail .
in the user guide where it was given like this group =
wap-user-map
group
= wap-url--map
i serched whole user guide .but i am not fine it like
group=wap-user-map .or i can assume another groups as wap-user-map group .can
you tell me where it was in user guide .
Thanks & Regards ,
narendra .
2009/10/1 Nikos Balkanas <[email protected]>
Hi,
I cannot advise you about mbuni. You should address mbuni fora for that.
However, I can point you to the right direction for kannel's warning. As
detailed in the warning do not use the variable map-url. Pass along the same
information with wap-url-map group. It does the same thing for you. You can
read in the User's Guide about it.
BR,
Nikos
----- Original Message -----
From: narendra reddy
To: [email protected]
Sent: Thursday, October 01, 2009 11:37 AM
Subject: map-url
Hi list ,
i am using mbuni for sending the mms message with help of kannel
.i think the connection between kannel adn mbuni is the map-url in the wap-box
group .like that given the in the mbuni user guide .according to that i
configured and run the both mbuni ,kannel and both are started successfully
.but when i run the wapbox it was giving some warning and both are not
communicated .can any one pls give me some solution for my problem.
here is my config file .
group = core
admin-port = 13004
admin-password = bar
log-file = log/bearer.log
log-level = 0
access-log = log/beareraccess.log
smsbox-port = 13002
store-file = "log/kannelqueue.log"
wapbox-port=13013
wdp-interface-name="*"
box-allow-ip = 127.0.0.1,172.22.25.175
# SMSC SMPP
group = smsc
smsc = smpp
smsc-id = SMPPSim
host = 172.22.25.175
port = 2775
log-file = "log/kannel.log"
transceiver-mode = 1
alt-dcs = true
smsc-username = smppclient
smsc-password = password
system-type = ""
address-range = ""
source-addr-ton = 1
source-addr-npi = 1
dest-addr-ton = 1
dest-addr-npi = 1
msg-id-type = 0x01
throughput = 50
max-pending-submits = 1
enquire-link-interval= 60
# SMSBOX SETUP
group = smsbox
bearerbox-host = localhost
sendsms-port = 13006
log-file = "log/smsbox.log"
log-level = 0
access-log = "log/smsboxaccess.log"
# SEND-SMS USERS
group = sendsms-user
username = pyro1
password = pyro1
max-messages = 50
concatenation = true
# SMS-Service
group = sms-service
keyword = "www"
text = "Website found!!!"
# SMS-Service
group = sms-service
keyword = default
text = "Reply from ESME"
#group = wapbox
#bearerbox-host = localhost
#log-file="log/wapbox.log"
#log-level=0
#access-log="log/wapboxaccess.log"
#smart-errors=yes
#wml-strict=yes
group = wapbox
bearerbox-host = localhost
log-file = "log/wapbox.log"
syslog-level = none
access-log = "log/wapaccess.log"
#timer-freq = 10
map-url = "http//mmsc/* http://172.22.25.175:1982/*"
timer-freq = 1
#map-url = http://172.22.25.175:10001/* http://localhost:1982/*
http-interface-name=172.22.25.175,localhost
wml-strict=true
an in the terminal i am getting this one .
[naren...@localhost this is original]$ ./wapbox -v 1 kannelconf1.conf
2009-10-01 12:02:51 [15896] [0] INFO: Debug_lvl = 1, log_file = <none>,
log_lvl = 0
2009-10-01 12:02:51 [15896] [0] WARNING: 'map-url' config directive and
related are deprecated, please use wap-url-map group
2009-10-01 12:02:51 [15896] [0] INFO: Added logfile `log/wapbox.log' with
level `-1'.
2009-10-01 12:02:51 [15896] [0] INFO: Starting to log to file
log/wapbox.log level -1
2009-10-01 12:02:51 [15896] [0] INFO: Logging accesses to
'log/wapaccess.log'.
2009-10-01 12:02:51 [15896] [0] INFO: Started access logfile
`log/wapaccess.log'.
2009-10-01 12:02:51 [15896] [0] INFO:
------------------------------------------------------------
2009-10-01 12:02:51 [15896] [0] INFO: Kannel wapbox version 1.4.3
starting up.
2009-10-01 12:02:51 [15896] [0] INFO: Connected to bearerbox at localhost
port 13013.
pls give me some idea regardirding map-url .how can i communicate
with from kannel to mbuni .
Thanks in Advance .
Best Regards,
Narendra .
--
Best Regards,
narendra Reddy.
--
Best Regards,
narendra Reddy.