h1. HTTP protocol !http_parameters.gif! 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 [[Call detail report|Detail report]]. h2. Testing You can use *Test* tool to check that settings are connect: !http_test.gif! # Enter destination number. # Get *response* and its analysis result (fields *MCC* and *MNC*): !http_test2.gif! *IMSI* field is optional. It's given only by certain providers. [[Протокол HTTP|Русский перевод]]