Snom 4S manual Call Termination

Page 58

5.

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

ter, the From-header will be set to the value that you pass here.

Please note that requests may loop through several SBC. This will typically happen in data centres that use a SBC server farm. In this environment, the application server must be able to handle several call initiation requests for the same call as the SBC do not exchange informa- tion about web requests. A simple implementation just passes an empty response. The subsequent SBC will then just route that call without any other change of the request.

When the uri parameter is present, the SBC does not use the out- bound proxies to route the request. You must make sure in the application logic that an appropriate request URI is inserted.

5.5 Call Termination

When the SBC calls the destructor for the call object, it first sends out web request that informs the applications server that the call has fin- ished. In contrast to the other web requests the answer to that request does not matter — the call is finished anyway.

The SBC provides the following arguments to the request:

The parameter “action” is set to “end”.

If the id parameter was set in the response to the start request, the SBC will put that argument in the parameter “id”. The application server may use this information to match the call.

The parameter “callid” is set to the Call-ID of the call.

The parameters “from_uri” and “to_uri” are set to the same values as they had during the action=start call.

The parameter “reason” is set to the message that describes why the desructor was called (see below).

There are several time values available. All these times are mea- sured in seconds since Jan 1st, 1970. The parameter “time_invite” indicates when the initial INVITE was received. The parameter “time_180” indicates when a 18x request was received (if there was such a response), the parameter “time_200” indicates when the first 2xx code was received. The “time_bye” parameter (if present) shows when a BYE request was received (this parameter is only present when a 2xx was received).

58 • Web Server Integration

Image 58
Contents Snom 4S NAT Filter Admin Manual Snom 4S NAT Filter Version Table of Contents Snmp Overview Features ApplicationsSnom technology AG Overview Architecture NAT Filter and SIPNAT How does NAT work? Signalling SIPSymmetrical RTP Media RTP Classification of User AgentsProbing Media Paths Role of the NAT FilterOptimizing the Media Path for Symmetrical NATSBC Behaviour RegisteringRTP Relay Snom technology AG Scaling and Redundancy NATDetecting the right NAT Filter Non NAT-Aware User Agents Requirements on User AgentsSTUN/ICE-Aware User Agents Defining the Maximum Session Time Architecture Installation WindowsInstallation Snom technology AG Installation Snom technology AG Linux Rpm -ihv snomnatf-2.10.*.rpm Installation Logging Port BindingStandard Port Random Port System Settings LoggingPreparing Recovery General Outound ProxyMedia Relay Media PortsPort Budgets Controlling RoutingMultiple 2xx Handling Trusted Addresses ChallengingMaximum Packet Size Connection Oriented Media Silence SuppressionRemoving Headers Web Server Integration Codec ControlClir Addresses Timeout Settings Register TimeoutsCall Timeouts Security Settings Snom technology AG Outbound Proxy List System Information Server LogTrace Call History Current Ports Currently Handled UA Memory StatisticsConfiguration Web Server Integration Authentication Interface to the Web ServerSnom technology AG Web Server Integration Registration Call Initiation Snom technology AG Call Termination Snom technology AG Web Server Integration Setup of the SBC Setup of the ToolsAvailable OID OIDSnom technology AG Snmp Checklist for Installation Checklist for Installation Reader‘s Feedback Snom technology AG All rights reserved