HTTP protocol¶

HTTP protocol is used for HLR as follows.
In case if Smartswitch decides that it needs to forward HLR dipping or LNP/MNP dipping to provider, it:
- forms HTTP query according to configured URL pattern.
A ${DESTINATION_NUMBER} variable is passed to pattern.
It contains destination number.
- Sends HTTP query to specified address
- Waits for HTTP response 200 ОК.
Or cancels query by timeout in case if provider doesn't return anything.
- Analyzes response contents, extracts payload from it according to configured patterns (tabs MCC, MNC, IMSI)
- Attempt and response pass through HLR billing or LNP/MNP billing and are saved in Detail report.
Testing¶
You can use Test tool to check that settings are connect:

- Enter destination number.
- Get response and its analysis result (fields MCC and MNC):

IMSI field is optional.
It's given only by certain providers.
Русский перевод