Configuring terminator of HLR queries¶
Let's suppose that we have provider of HLR information, which supports connection using HTTP protocol.
In interconnection technical form provider has specified following URL: http://moscow.megafon.ru/api/mfn/info?msisdn=%2B${DESTINATION_NUMBER}
where ${DESTINATION_NUMBER} - MSISDN
To simplify, let's assume that this service is provided free of charge.
1. Enter Dial-peers -> Terminators
2. Add a new one:
Name it 'hlr_provider_1'.
Configure HLR -> billing pack = 'zero'.
Save.
3. Add Technologies -> HTTP:
Fill tab General:
Fill tab MCC:
This supplier serves only destination numbers from Russian Federation.
Thus all HLR information relates only to MCC 250 (Russian Federation).
Therefore we replace all content with 250 to get MCC code.
Fill tab MNC:
Using the method above we extract MNC from response.
Fill IMSI tab:
This provider doesn't respond with IMSI.
Therefore we give back empty value.
Save.
Principles of work of protocol and testing is described in section HTTP protocol.