SmartWare Software Configuration Guide

46 • Context SIP gateway overview

 

 

9.Return 200 OK with all contacts registered or configured from the requested identity

If one of these steps fails the registration fails and an according message is sent. A registered contact is removed out of the location-service after the expiration time has passed and the registration was not refreshed. The “SIP location-service”(on page 526) in the context cs is able to forward calls to the registered contacts.

B2B User Agent with Registered Clients

The sip-location-service in the context cs is used to route calls according to the contact bindings. Calls can be routed from other services, interfaces or tables to the sip-location-service. The sip-location-service routes the call directly to the sip-interface over which the according contact was registered. If there are some mappings or adjustments of call parameters needed, this has to be done before routing to the sip-location-service. The address-translation of the destined sip interface is the only mapping that happens after the sip-location-service.

If calls from an ISDN, FXS or FXO interface are routed to the sip-location-service, it is necessary to bind a location-service to the sip-location-service because the domain information is needed. An alternative way would be to map a complete sip-uri to the call destination properties.

The mode command in the sip-location-service configures the behavior of the service when multiple contacts are registered for one address of record. In “distribute” mode, the call is distributed to all contacts at the same time. The first phone that picks up receives the call. In “hunt” mode, one contact after each other is called, and the hunt-timeout parameter defines how long to wait until proceeding to the next contact. The contacts with higher priority are hunted first. In “distribute-and-hunt” mode, all contacts with the same priority are distrib- uted together and the hunt searches from the higher priority contacts to the lower priority contacts. If no hunt- timeout is configured, there is no hunting.

context cs switch interface sip IF_SIP

bind context sip-gateway GW_SIP route call dest-service SERVICE_SIP remote inalp.com

local inalp.com

interface isdn IF_ISDN

route call dest-service SERVICE_SIP

service sip-location-service SERVICE_SIP bind location-service INALP

location-service INALP domain inalp.com

identity-group default registration inbound

context sip-gateway GW_SIP

sip-interface SIP_WAN

bind interface IF_WAN port 5060

context sip-gateway GW_SIP bind location-service INALP

Applications

571

Page 571
Image 571
Patton electronic SmartNode 4110 Series manual B2B User Agent with Registered Clients