Automatic Detection Of The Nat Ip Address For Sip; Sip Remote-Party-Id - Patton electronics SmartWare R.3.20 Software Configuration Manual

Software for smartnode series
Table of Contents

Advertisement

SmartWare Software Configuration Guide
Mode: Gateway SIP
Step
1
node (gw- sip )[ sip ]#authentication realm user-
name password [default]
Repeat step 1 for any additional authentication credentials you need to add.
2
Example: Defining authentication credentials
The following example shows how to add a set of authentication credentials for realm MySipNetwork, which
uses the username Bob and the password MyPassword for any request message, for which the server requests
authentication.
node(cfg)#gateway sip sip
node(gw-sip)[sip]#authentication MySipNetwork Bob MyPassword default

Automatic detection of the NAT IP address for SIP

In some cases, it is possible to get SIP working through a NAT, if the user agent behind the NAT inserts the
public IP address of the NAT into the SIP contact and SDP headers instead of the devices own IP address. The
software is now able to automatically detect the address of the NAT in between and insert it into the SIP mes-
sages. This can be enabled using the contact-address nat-address command in the SIP service configuration
mode. The contact-address command was already available in previous software releases, but the IP-address
had to be specified explicitly there.
Note
This is not a general solution for all SIP nat-traversal problems. It only works
in some specific scenarios.
The complete syntax of the new command is as follows:
Mode: gateway sip <sip-gw-name> / service <sip-service-name>
[ name ] (svc-sip)[svc-name]# [no] contact-
address { <ip-address> | nat-address }

SIP Remote-Party-ID

This procedure enables support for the SIP Remote-Party-ID header according to draft-sip-privacy-01. If this
feature is enabled, the Remote-Party-ID SIP-Header will be used instead of the From-Header.
Gateway configuration task list
Command
Command
39 • SIP gateway configuration
Purpose
Add an authentication entry for a user.
Realm is the name of the authentication
realm as defined on the SIP server, which
requests authentication.
Username and Password are the credentials
to be used for authentication.
The default parameter indicates that this set
of credentials should also be used, if the user-
name does not match the username of the
local SIP URI. There is only one default set of
credentials allowed for each realm.
Purpose
Define the SIP contact / SDP IP address.
497

Advertisement

Table of Contents
loading

This manual is also suitable for:

Smartware release 3.20

Table of Contents