![background image](http://html1.mh-extra.com/html/patton-electronics/smartware-r-3-20/smartware-r-3-20_software-configuration-manual_4044387375.webp)
SIP interface configuration task list
375
SmartWare Software Configuration Guide
32 • SIP interface configuration
Procedure:
To define a phone context for the SIP interface
Mode:
Interface SIP
Example:
Configure a phone-context
The following example shows how to configure a phone-context named mycompany for the SIP interface
MySipIf.
node>enable
node#configure
node(cfg)#context cs
node(ctx-cs)[switch]#interface sip MySipIf
node(if-sip)[MySipIf]#phone-context mycompany
Using the configuration of this example, the URIs build by the SmartNode look as follows:
sip:[email protected];user=phone
sip:[email protected];user=phone;phone-context=mycompany
[email protected]
Without the special configuration of this example, these URIs would look as follows:
sip:[email protected];user=phone
sip:[email protected]
[email protected]
Mapping call-control properties to SIP headers
The command
address-translation
in the interface sip configuration mode allows to map call-control proper-
ties to SIP headers for outbound SIP calls and it allows also to map SIP headers to call-control properties for SIP
inbound calls (see
figure 55
).
Outbound SIP calls map call-control properties
à
SIP headers
Inbound SIP calls map SIP headers
à
call-control properties
Figure 55. Mapping call-control properties to SIP headers diagram
Step
Command
Purpose
1
node(if-sip)[
if-name
]#phone-context
Specify a phone context for the interface
Call-control
properties
SIP headers
Inbound SIP calls
Outbound SIP calls