![Patton electronics SmartWare R.3.20 Software Configuration Manual Download Page 500](http://html1.mh-extra.com/html/patton-electronics/smartware-r-3-20/smartware-r-3-20_software-configuration-manual_4044387500.webp)
Gateway configuration task list
500
SmartWare Software Configuration Guide
39 • SIP gateway configuration
node(gw-sip)[sip]#call-transfer-version 2
SIP Profile
There is a new profile type, the SIP profile. It allows to specify disconnect cause mappings from SIP cause
codes to Q.931 cause codes, and vice versa.
As for all profiles, at system startup a profile called default exists, which can also be modified. As default, all SIP
gateways and interfaces use this profile default.
Only those causes have to be configured that differ from the default mapping. If a new profile is created, all
mappings are set to their default and only overwritten if configured. The default mapping in both directions is
according to RFC3398 - ISUP to SIP Mapping.
Mode:
Configure
Mode:
gateway sip
Mode:
interface sip
Manually configuring the SIP contact IP address
Normally SIP cannot pass a router, which does NAPT. However, if the router only replaces the IP addresses but
not the port numbers, it is possible to get SIP working through the NAT, by configuring the global IP address
of the NAT router as the contact-address in the SIP gateway. The following procedure shows how the contact
address can be configured.
Step
Command
Purpose
1
[
name
] (cfg)# [no] profile sip
name
Create a new SIP profile/enter SIP profile
configuration mode.
2
[
name
] (pf-sip)[
name
]# map cause from-
sip
sip-cause
to
q931-cause
Maps a specific SIP disconnect cause to a
Q.931 cause. Use tab completion for a com-
plete list of possible values for both
cause types.
3
[
name
] (pf-sip)[
name
]# map cause to-sip
q931-cause
to
sip-cause
Maps a specific Q.931 disconnect cause to
a SIP cause code. Use tab completion for a
complete list of possible values for both
cause types.
Step
Command
Purpose
1
[
name
] (gw-sip)[sip]# use profile sip
name Specifies the usage of a specific SIP profile
on this gateway. If no profile is configured,
profile “default” is used.
Step
Command
Purpose
1
[
name
] (if-sip)[
name
]# use profile sip
name Specifies the usage of a specific SIP profile
on this interface. If no profile is configured,
profile “default” is used.