Копирование Тunnel-Client-Endpoint/Tunnel-Server-Endpoint в Calling-Station-Id/Called-Station-Id

Материал из BiTel WiKi

Версия от 09:37, 19 ноября 2008; Admin (Обсуждение | вклад)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
Перейти к: навигация, поиск
import bitel.billing.server.radius.*;
 
clientEndpoint = request.getStringAttribute( 66 );
serverEndpoint = request.getStringAttribute( 67 );
 
if( clientEndpoint != null )
{
    request.setStringAttribute( RadiusStandartAttributes.Calling_Station_Id, clientEndpoint );
}
if( serverEndpoint != null )
{
    request.setStringAttribute( RadiusStandartAttributes.Called_Station_Id, serverEndpoint );
}
Личные инструменты