Gateway configuration task list 467SmartWare Software Configuration Guide 39 • SIP gateway configuration• Enable the Gateway• Registering with a registrar (Optional)• Configure a domain name (Optional)• Configure a default server (Optional)• Configure authentication parameters (Optional)• Enable the session timer (Optional)• Advanced configuration options (Optional)Configure DNS resolverThe SIP gateway requires the DNS resolver to be enabled. You can find additional information about how toconfigure the DNS resolver in the DNS configuration chapter of this configuration guide.Configure datapath related settingsTo retrieve configuration data about allowed codecs and other datapath related features such as T.38 and fax ormodem bypass, the SIP gateway uses a VoIP profile. You can find detailed information about how to create aVoIP profile in the chapter about VoIP profile configuration of this configuration guide. The following proce-dure describes how to use an existing VoIP profile with the gateway. If this configuration step is omitted, thedefault VoIP profile named ‘default’ will be used automatically.The most important information configured in the VoIP profile is the list of allowed audio codecs.In SIP the initiator of a call always sends an offer containing all the codecs in the VoIP profile used for the callto the remote gateway. The destination gateway for the call then selects the first codec of the received list,which is also included in its own VoIP profile used for that call. It will then open a media channel of that typeand send a response to the initiator of the call, which only contains the selected codec. This will force the initi-ator of the call to also open a media channel of the same type selected on the gateway, which is the destinationof the call.Note The VoIP profile defined in the gateway will be overridden by an optionalVoIP profile defined in the CS interface.Note If no codecs are configured in the codec list of the VoIP profile, you will beunable to establish calls over the gateway.Mode: Gateway SIPExample: Using a VoIP profileThe following example shows how to use the existing VoIP profile myvoip for the gateway.SN>enableSN#configureStep Command Purpose1node(gw-sip)[sip]#use profile voip profile-nameUse an existing VoIP profile for this gateway.