Dear all,

I have tried to analyse the binary request made by Kannel. But I do not undersatnd why 
some fields
appear in the SMPP request, such as login, PPG IP address ...  Here my configuration 
file and the
resquest send by my PI. Can you please help me ? Is there some other data that I have 
to configure ?

group = core
admin-port = 13000
wapbox-port = 13002
admin-password = bar
box-allow-ip = "127.0.0.1"
unified-prefix = "+,00"
access-log = "/usr/mobileway/log/access.log"

# WAPBOX SETUP, for pushing and for pulling (fetching) the wap data
group = wapbox
bearerbox-host = localhost
syslog-level = none

# PPG CORE SETUP, for defining the push request interface
group = ppg
ppg-url = /cgi-bin/wap-push.cgi
ppg-port = 8080
#ppg-ssl-port = 8081
concurrent-pushes = 100
trusted-pi = no
#users = 1024
ppg-deny-ip = 194.100.32.89;194.100.32.103
ppg-allow-ip = *.*.*.*;
#ssl-server-cert-file = "/Users/aarno/gateway/test/cert.pem"
#ssl-server-key-file = "/Users/aarno/gateway/test/key.pem"
global-sender="mobileway"       # TPOA sent on SMPP request. Must be alpha num, due to 
trouble on
TON value

#SMPP 1
group = smsc
smsc = smpp
smsc-id=mw_test_smpp
host = 62.80.122.178
port = 7901
receive-port = 8100
smsc-username = "mw_test_smpp"
smsc-password = eD2dq4L
system-type = "VMA"
address-range = ""
my-number= 3333333
enquire-link-interval=120
reconnect-delay=30

group = wap-push-user
wap-push-user = picom
ppg-username = mw_test_smpp
ppg-password = eD2dq4L
deny-ip = 222.222.222.222;
allow-ip = *.*.*.*;


Here the request sends by my PI:
Message to http://203.208.227.203:8080/cgi-bin/wap-push.cgi

Content-Type: multipart/related; boundary=PMasdfglkjhqwert; type="application/xml"

--PMasdfglkjhqwert

Content-Type: application/xml

<?xml version="1.0"?>
<!DOCTYPE pap PUBLIC "-//WAPFORUM//DTD PAP 1.0//EN" 
"http://www.wapforum.org/DTD/pap_1.0.dtd";>
<pap>
<push-message push-id="PI/32"> 
  <address address-value="[EMAIL PROTECTED]"/>
</push-message>
</pap>

--PMasdfglkjhqwert

Content-Type: text/vnd.wap.si

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE si PUBLIC "-//WAPFORUM//DTD SI 1.0//EN" "http://www.wapforum.org/DTD/SI.dtd";>
<si>
  <indication href="http://www.boursorama.fr"; 
    si-id = "WapIDE_SI/1" 
    >Do you want to download boursorama information ?</indication>
</si>

--PMasdfglkjhqwert--

PPG Responses Received: 

<?xml version="1.0"?><!DOCTYPE pap PUBLIC "-//WAPFORUM//DTD PAP 1.0//EN"
"http://www.wapforum.org/DTD/pap_1.0.dtd";><pap><push-response push-id="PI/32"
sender-name="sing-prod1.local; WAP/1.3 (Kannel/1.2.0)" 
reply-time="2002-10-28T09:50:23Z"
sender-address="/cgi-bin/wap-push.cgi"></push-response><response-result code ="1001" 
desc="The
request has been accepted for processing"></response-result></pap>


What I do not understand is why in the binary message generated for SMPP, I found:
- mw_test_smpp
- WapIDE 3.1 PO
- 203.208.227.203:8080

Can you please help me ?

Thanks,

Evelyne NOTTON




Stipe Tolj wrote:
> 
> Evelyne Notton wrote:
> >
> > I have configured Kannel to work as a PPG on input, and SMPP on output. I have 
>several remarks
> > concerning the configuration:
> > - I have seen that the field Source_Addr on the SMPP request is not filled in 
>using field my_number
> > of smsc group, but using field global-sender of ppg group. Is there any reason or 
>is it a bug ?
> 
> currently there is no logic in the PPG part to set the source addr for
> the sms transmissions, AFAIK.
> 
> > - on SMPP request, if the Source_addr is a numeric value, the TON set is not 
>correct
> > - I have tried to analyse the binary request made by Kannel. Here my configuration 
>file:
> > group = core
> > admin-port = 13000
> > wapbox-port = 13002
> > admin-password = bar
> > box-allow-ip = "127.0.0.1"
> > unified-prefix = "+,00"
> > access-log = "/usr/mobileway/log/access.log"
> >
> > # WAPBOX SETUP, for pushing and for pulling (fetching) the wap data
> > group = wapbox
> > bearerbox-host = localhost
> > syslog-level = none
> >
> > # PPG CORE SETUP, for defining the push request interface
> > group = ppg
> > ppg-url = /cgi-bin/wap-push.cgi
> > ppg-port = 8080
> > #ppg-ssl-port = 8081
> > concurrent-pushes = 100
> > trusted-pi = no
> > #users = 1024
> > ppg-deny-ip = 194.100.32.89;194.100.32.103
> > ppg-allow-ip = *.*.*.*;
> > #ssl-server-cert-file = "/Users/aarno/gateway/test/cert.pem"
> > #ssl-server-key-file = "/Users/aarno/gateway/test/key.pem"
> > global-sender="mobileway"       # TPOA sent on SMPP request. Must be alpha num, 
>due to trouble on
> > TON value
> >
> > #SMPP 1
> > group = smsc
> > smsc = smpp
> > smsc-id=mw_test_smpp
> > host = 62.80.122.178
> > port = 7901
> > receive-port = 8100
> > smsc-username = "mw_test_smpp"
> > smsc-password = eD2dq4L
> > system-type = "VMA"
> > address-range = ""
> > my-number= 3333333
> > enquire-link-interval=120
> > reconnect-delay=30
> 
> you have to set
> 
>  source-addr-ton = x
> 
> accordingly to your needs.
> 
> Stipe
> 
> [EMAIL PROTECTED]
> -------------------------------------------------------------------
> Wapme Systems AG
> 
> Vogelsanger Weg 80
> 40470 Düsseldorf
> 
> Tel: +49-211-74845-0
> Fax: +49-211-74845-299
> 
> E-Mail: [EMAIL PROTECTED]
> Internet: http://www.wapme-systems.de
> -------------------------------------------------------------------
> wapme.net - wherever you are

Reply via email to