Snom 4S manual Defining the Maximum Session Time

Page 21

[ S N O M 4 S N A T F I L T E R ]

2.7 Defining the Maximum Session Time

There are a couple of timeout-related settings that terminate a call when certain events fire (see below). However, when prepaid cards are being used, operators want to limit the call duration to a certain time.

The SBC has a mechanism to terminate calls anyway. It does not only send BYE messages to both sides of the call, it also cuts media relaying which in practice will be used in most cases when the call is ter- minated via PSTN. This feature can be used to tear down calls when a card expires.

The remaining call duration depends not on a static setting, but on a dynamically provisioned parameter. This parameter is usually pro- vided in the AAA procedure in the proxy. The proxy needs a simple way to tell the SBC how many seconds this call can stay up.

We decided to add a proprietary header called “P-Session-Time- out” to the SBC. When this SBC is detected in a message that belongs to an existing call, the SBC sets the timeout for this call to the value provided in the header (in seconds). After this time the SBC will terminate the call with the reason “Maximum Session Duration” (see below, Call History). Additionally, this parameter can be passed from the application server.

With the setting for trusted IP addresses, the SBC will accept these headers only from explicitly listed addresses. After the header has been used, the SBC removes it from the packet so that the user agent will not see this header.

If the proxy wants to provide information about how long the call can stay up, it should use AOC information.

2.

snom technology AG • 21

Image 21
Contents Snom 4S NAT Filter Admin Manual Snom 4S NAT Filter Version Table of Contents Snmp Overview Applications FeaturesSnom technology AG Overview NAT Filter and SIP ArchitectureNAT Signalling SIP How does NAT work?Symmetrical RTP Classification of User Agents Media RTPRole of the NAT Filter Probing Media PathsNAT Optimizing the Media Path for SymmetricalRegistering SBC BehaviourRTP Relay Snom technology AG NAT Scaling and RedundancyDetecting the right NAT Filter Requirements on User Agents Non NAT-Aware User AgentsSTUN/ICE-Aware User Agents Defining the Maximum Session Time Architecture Windows InstallationInstallation Snom technology AG Installation Snom technology AG Linux Rpm -ihv snomnatf-2.10.*.rpm Installation Port Binding LoggingStandard Port Random Port Logging System SettingsGeneral Outound Proxy Preparing RecoveryPort Budgets Media PortsMedia Relay Controlling RoutingMultiple 2xx Handling Challenging Trusted AddressesMaximum Packet Size Silence Suppression Connection Oriented MediaRemoving Headers Codec Control Web Server IntegrationClir Addresses Register Timeouts Timeout SettingsCall Timeouts Security Settings Snom technology AG Outbound Proxy List Server Log System InformationTrace Call History Current Ports Memory Statistics Currently Handled UAConfiguration Web Server Integration Interface to the Web Server AuthenticationSnom technology AG Web Server Integration Registration Call Initiation Snom technology AG Call Termination Snom technology AG Web Server Integration Setup of the Tools Setup of the SBCOID Available OIDSnom technology AG Snmp Checklist for Installation Checklist for Installation Reader‘s Feedback Snom technology AG All rights reserved