-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Andrey Loginov wrote:

> Hello
> Can anybody describe how kannel stores msisdn's when works as radius
> proxy. Is it possible to use the database for storage? Is it possible to
> connect another kannel server to this storage for load balancing issues?
> Thanks in advance.

Hi Andrey,

now, I can... I did the coding ;)

Kannel's RADIUS acct proxy is actually used for MSISDN provisining within HTTP
headers towards the HTTP application side, which you may already know.

The general mechanism is as follows:

Your NAS (network access server), ie. any CSD dial-in node or GPRS APN point
will forward the RADIUS accounting PDUs (UDP datagrams) to Kannel, literally
wapbox. wapbox then answers to the NAS as if it is the final RADIUS daemon, so
NAS is satisfied in terms of a positive ACK. wapbox greps the corresponding
MSISDN (caller line id in RADIUS terminology) and DHCP'ed client IP and packs
this in a 2-way cross-referenced dictionary hash. So you can resolve MSISDN->IP
and IP->MSISDN within the code. When a WAP request is processed, wapbox simply
"queries" that dictionary hash and injects the appropriate header with the
resulting MSISDN. (Of course all the housekeeping with RADIUS acct start/stop
events are done, so we also drop the MSISDN<->IP relation when NAS indicates
that the session died.).

Now regarding your specific question:

No, there is no way to do this in the normal Kannel, since it's an internal
dictionary hash used.

I provive a Kannel-CG (carrier grade) WAP 1.2.x/2.0 gateway for GSM/CDMA
wireless network operators that HAS this capability to have a "shared pool" of
MSISDN<->IP mappings, mainly since WAP 1.2 is done on one "track" and 2.0 on an
other track and both tracks need to have the same resolution pool, but in the
same sense this works for load-balancing.

Please let me know if you require more information on the CG version.

Stipe

- -------------------------------------------------------------------
Kölner Landstrasse 419
40589 Düsseldorf, NRW, Germany

tolj.org system architecture      Kannel Software Foundation (KSF)
http://www.tolj.org/              http://www.kannel.org/

mailto:st_{at}_tolj.org           mailto:stolj_{at}_kannel.org
- -------------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGOSdn9ez0oeKvYs0RAnw8AJ4wGOnULlWMNrKejUR6PAJRJgfPVwCgnaqS
po3LPD0RIQ4ZEmm6JED985o=
=Mzc2
-----END PGP SIGNATURE-----

Reply via email to