Re: Kannel used as a PPG

Stipe Tolj <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization Wapme Systems AG
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.