<AuthBy DiaEIR>.<AuthBy DiaEIR> queries IMEI status from EIR using
Diameter S13/S13' interface. It can also query the software version and
IMSI (International mobile subscriber
identity) status. The result from
EIR determines if the request is accepted or
rejected.goodies/eir-client.cfg.DiaEIR
clause. This has no default value but it must be set.MakeAnswer is set, a simple Diameter
answer with either DIAMETER_SUCCESS or DIAMETER_UNABLE_TO_COMPLY is sent
if <AuthBy DiaEIR> does not return ignore. This
parameter is not set by default.EIR_UnknownAction defines the return value
for <AuthBy DiaEIR> if the EIR request gets DIAMETER_UNKNOWN_EQUIPMENT. The value can be
either accept or reject,
accept is the default value.IMEIAttribute, IMSIAttribute,
and SoftwareVersionAttribute are ignored.EIR_AttributesHook sub
{ my $p = $_[0]; my $imei = $_[1]; my $sv = $_[2]; my $imsi = $_[3]; \
$$imei = $p->get_attr('X-OSC-SIM-IMEI'); \
$$sv = $p->get_attr('X-OSC-SIM-Software-Version'); \
$$imsi = $p->get_attr('X-OSC-SIM-IMSI'); }
EIR_AttributesHook is defined. The
default value is OSC-SIM-IMEI.EIR_AttributesHook is defined. The
default value is OSC-SIM-Software-Version.EIR_AttributesHook is defined. The
default value is OSC-SIM-IMSI.<DiaEIR>. <DiaEIR>
implements the interface for querying EIR.EIRCache is Identifier of the EIRCache
clause. If this is not set, no caching is done. This is not set by
default.<EIRCacheInternal>.
<EIRCacheInternal> is an optional module for
caching EIR responses.CacheTimeout defines (in seconds) for how
long the successful EIR responses are cached.
The default value is 1800 (30 minutes).<ServerDiaEIR>. Apart from the parameters
listed here, <ServerDiaEIR> inherits other
parameters from <ServerDIAMETER>.
<ServerDIAMETER> is documented in Radiator reference manual goodies/eir-server.cfg. The test IMEIs are currently listed in
ServerEIR.pm. Different test IMEIs trigger different responses, including errors, from this
example EIR server. You can add your test
device's IMEI into
ServerEIR.pm. Later it will be possible to create a
separate configuration file for <ServerDiaEIR>
that contains the IMEI list.VendorAuthApplicationIds is an optional
parameter that defines the Vendor-Specific-Application-Ids announced in
CEA. The default value is
S13/S13'.