
Chapter 9 Outbound Line Group Commands
X6004 CLI Reference Guide
54
9.2.1 SIP Trunk Command Examples
This example:
• Creates a SIP trunk called ITSPTrunk.
• Configures the connection settings for ITSPTrunk.
• Displays the configuration details of ITSPTrunk.
pbx outbound sip_trunk_group set
matchdigit byname <name> <match_digit>
Specifies the number of digits to match for the DID feature
for a SIP trunk.
pbx outbound sip_trunk_group set
matchpart bygroupid <group_id>
<first|last>
Specifies whether to match the first or last part of incoming
calls for the DID feature of a SIP trunk.
pbx outbound sip_trunk_group set
matchpart byname <name> <match_part>
Specifies whether to match the first or last part of incoming
calls for the DID feature of a SIP trunk.
pbx outbound sip_trunk_group set
partialmatch bygroupid <group_id>
<enable|disable>
Enables or disables partial match of DID feature.
pbx outbound sip_trunk_group set
partialmatch byname <name>
<enable|disable>
Enables or disables partial match of DID feature.
pbx outbound sip_trunk_group show all Displays configuration details of all SIP trunks.
Table 26 SIP Trunk Commands (continued)
COMMAND DESCRIPTION
> pbx outbound sip_trunk_group add IPPBX_001 ITSPTrunk
Info: Add a specific authority group ok.
groupid=dg_002
> pbx outbound siptrunk set attribute IPPBX_001 dg_002
sip_codec=g729:ulaw:alaw:g723:g726:,sip_server=www.sipserver.com,sip_regist
erserver=www.sipserver.com,sip_serverport=5060,sip_username=22232323,sip_se
cret=2222,sip_number=5555555
Info: Set specific SIP Trunk attribute ok.
> pbx outbound siptrunk show all IPPBX_001 dg_002
Profile of SIP Trunk Group
groupid = dg_002
mid = IPPBX_001
recordingflag = no
recordingtime =
sip%codec = g729:ulaw:alaw:
sip%context = dg_002
sip%dtmfmode = info
sip%insecure = very
sip%type = friend
sip_codec = g729:ulaw:alaw:g723:g726:
sip_number = 5555555
sip_registerserver = www.sipserver.com
sip_secret = 2222
sip_server = www.sipserver.com
sip_serverport = 5060
sip_username = 22232323
Comentários a estes Manuais