Here is a sample config thanks to Khamlin! I was able to figure it out based on his config. Thanks again Khamlin! :
<<< show running-config
access-control
realm-id SIP-Trunk2
description
source-address x.x.x.x
destination-address x.x.x.x
application-protocol SIP
transport-protocol UDP
access permit
average-rate-limit 0
trust-level high
minimum-reserved-bandwidth 0
invalid-signal-threshold 0
maximum-signal-threshold 0
untrusted-signal-threshold 0
nat-trust-threshold 0
deny-period 30
last-modified-by 91.93
last-modified-date 2013-01-11 18:06:15
access-control
realm-id SIP-Trunk2
description
source-address x.x.x.x
destination-address x.x.x.x
application-protocol SIP
transport-protocol TCP
access permit
average-rate-limit 0
trust-level high
minimum-reserved-bandwidth 0
invalid-signal-threshold 0
maximum-signal-threshold 0
untrusted-signal-threshold 0
nat-trust-threshold 0
deny-period 30
last-modified-by 91.93
last-modified-date 2013-01-11 18:08:56
local-policy
from-address
*
to-address
x.x.x.x
source-realm
core
description
activate-time N/A
deactivate-time N/A
state enabled
policy-priority none
last-modified-by 201.91
last-modified-date 2010-06-17 18:27:31
next-hop x.x.x.x
realm SIP-Trunk2
action none
terminate-recursion disabled
app-protocol
methods
media-manager
state enabled
latching enabled
flow-time-limit 86400
initial-guard-timer 300
subsq-guard-timer 300
tcp-flow-time-limit 86400
tcp-initial-guard-timer 300
tcp-subsq-guard-timer 300
tcp-number-of-ports-per-flow 2
hnt-rtcp enabled
algd-log-level NOTICE
mbcd-log-level NOTICE
red-flow-port 1985
red-mgcp-port 1986
red-max-trans 10000
red-sync-start-time 5000
red-sync-comp-time 1000
media-policing enabled
max-signaling-bandwidth 703040
max-untrusted-signaling 5
min-untrusted-signaling 4
app-signaling-bandwidth 0
tolerance-window 30
rtcp-rate-limit 0
min-media-allocation 32000
min-trusted-allocation 60000
deny-allocation 32000
anonymous-sdp disabled
arp-msg-bandwidth 32000
fragment-msg-bandwidth 0
rfc2833-timestamp disabled
default-2833-duration 100
rfc2833-end-pkts-only-for-non-sig enabled
translate-non-rfc2833-event disabled
dnsalg-server-failover disabled
last-modified-by 103.232
last-modified-date 2013-07-02 04:47:33
network-interface
name Mx00
sub-port-id 0
description access
hostname
ip-address xxx.xx6.x9.254
pri-utility-addr xxx.xx6.x9.253
sec-utility-addr xxx.xx6.x9.252
netmask 255.255.255.0
gateway xxx.xx6.x9.1
sec-gateway
gw-heartbeat
state disabled
heartbeat 0
retry-count 0
retry-timeout 1
health-score 0
dns-ip-primary
dns-ip-backup1
dns-ip-backup2
dns-domain
dns-timeout 11
hip-ip-list
ftp-address
icmp-address
snmp-address
telnet-address
last-modified-by 201.91
last-modified-date 2010-07-06 16:11:05
network-interface
name Mx10
sub-port-id 0
description core
hostname
ip-address x.x.x.98
pri-utility-addr x.x.x.96
sec-utility-addr x.x.x.97
netmask 255.255.255.0
gateway x.x.x.1
sec-gateway
gw-heartbeat
state disabled
heartbeat 0
retry-count 0
retry-timeout 1
health-score 0
dns-ip-primary
dns-ip-backup1
dns-ip-backup2
dns-domain
dns-timeout 11
hip-ip-list
ftp-address
icmp-address
snmp-address
telnet-address
last-modified-by admin@console
last-modified-date 2010-05-29 02:45:02
network-interface
name wancom1
sub-port-id 0
description
hostname
ip-address
pri-utility-addr 169.254.1.1
sec-utility-addr 169.254.1.2
netmask
gateway
sec-gateway
gw-heartbeat
state disabled
heartbeat 0
retry-count 0
retry-timeout 1
health-score 0
dns-ip-primary
dns-ip-backup1
dns-ip-backup2
dns-domain
dns-timeout 11
hip-ip-list
ftp-address
icmp-address
snmp-address
telnet-address
last-modified-by 190.19
last-modified-date 2010-05-28 20:48:39
network-interface
name wancom2
sub-port-id 0
description
hostname
ip-address
pri-utility-addr 169.254.2.1
sec-utility-addr 169.254.2.2
netmask
gateway
sec-gateway
gw-heartbeat
state disabled
heartbeat 0
retry-count 0
retry-timeout 1
health-score 0
dns-ip-primary
dns-ip-backup1
dns-ip-backup2
dns-domain
dns-timeout 11
hip-ip-list
ftp-address
icmp-address
snmp-address
telnet-address
last-modified-by 190.19
last-modified-date 2010-05-28 20:49:10
phy-interface
name Mx00
operation-type Media
port 0
slot 0
virtual-mac 00:08:25:a1:6a:4e
admin-state enabled
auto-negotiation enabled
duplex-mode
speed
last-modified-by 190.19
last-modified-date 2010-05-28 20:39:51
phy-interface
name Mx10
operation-type Media
port 0
slot 1
virtual-mac 00:08:25:a1:6a:4f
admin-state enabled
auto-negotiation enabled
duplex-mode
speed
last-modified-by 190.19
last-modified-date 2010-05-28 20:42:47
phy-interface
name wancom1
operation-type Control
port 1
slot 0
virtual-mac
wancom-health-score 8
last-modified-by 190.19
last-modified-date 2010-05-28 20:46:38
phy-interface
name wancom2
operation-type Control
port 2
slot 0
virtual-mac
wancom-health-score 9
last-modified-by 190.19
last-modified-date 2010-05-28 20:47:24
realm-config
identifier SIP-Trunk2
description test second trunk group
addr-prefix x.x.x.x/30
network-interfaces
Mx00:0
mm-in-realm disabled
mm-in-network enabled
mm-same-ip enabled
mm-in-system enabled
bw-cac-non-mm disabled
msm-release disabled
generate-UDP-checksum disabled
max-bandwidth 0
fallback-bandwidth 0
max-priority-bandwidth 0
max-latency 0
max-jitter 0
max-packet-loss 0
observ-window-size 0
parent-realm
dns-realm
media-policy
in-translationid
out-translationid
in-manipulationid
out-manipulationid
manipulation-string
class-profile
average-rate-limit 0
access-control-trust-level high
invalid-signal-threshold 0
maximum-signal-threshold 0
untrusted-signal-threshold 0
nat-trust-threshold 0
deny-period 30
ext-policy-svr
symmetric-latching disabled
pai-strip disabled
trunk-context
early-media-allow
enforcement-profile
additional-prefixes
restricted-latching none
restriction-mask 32
accounting-enable enabled
user-cac-mode none
user-cac-bandwidth 0
user-cac-sessions 0
icmp-detect-multiplier 0
icmp-advertisement-interval 0
icmp-target-ip
monthly-minutes 0
net-management-control disabled
delay-media-update disabled
refer-call-transfer disabled
codec-policy
codec-manip-in-realm disabled
constraint-name
call-recording-server-id
stun-enable disabled
stun-server-ip 0.0.0.0
stun-server-port 3478
stun-changed-ip 0.0.0.0
stun-changed-port 3479
match-media-profiles
qos-constraint
last-modified-by 91.93
last-modified-date 2013-01-11 15:30:59
realm-config
identifier core
description Core realm containing MetaSwitch CA
addr-prefix 0.0.0.0
network-interfaces
Mx10:0
mm-in-realm disabled
mm-in-network enabled
mm-same-ip enabled
mm-in-system enabled
bw-cac-non-mm disabled
msm-release disabled
generate-UDP-checksum disabled
max-bandwidth 0
fallback-bandwidth 0
max-priority-bandwidth 0
max-latency 0
max-jitter 0
max-packet-loss 0
observ-window-size 0
parent-realm
dns-realm
media-policy
in-translationid
out-translationid
in-manipulationid
out-manipulationid
manipulation-string
class-profile
average-rate-limit 0
access-control-trust-level high
invalid-signal-threshold 0
maximum-signal-threshold 0
untrusted-signal-threshold 0
nat-trust-threshold 0
deny-period 30
ext-policy-svr
symmetric-latching disabled
pai-strip disabled
trunk-context
early-media-allow
enforcement-profile
additional-prefixes
restricted-latching sdp
restriction-mask 32
accounting-enable enabled
user-cac-mode none
user-cac-bandwidth 0
user-cac-sessions 0
icmp-detect-multiplier 0
icmp-advertisement-interval 0
icmp-target-ip
monthly-minutes 0
net-management-control disabled
delay-media-update disabled
refer-call-transfer disabled
codec-policy
codec-manip-in-realm disabled
constraint-name
call-recording-server-id
stun-enable disabled
stun-server-ip 0.0.0.0
stun-server-port 3478
stun-changed-ip 0.0.0.0
stun-changed-port 3479
match-media-profiles
qos-constraint
last-modified-by 91.93
last-modified-date 2013-01-11 15:31:29
realm-config
identifier access
description
addr-prefix 0.0.0.0
network-interfaces
Mx00:0
mm-in-realm enabled
mm-in-network disabled
mm-same-ip disabled
mm-in-system enabled
bw-cac-non-mm disabled
msm-release disabled
generate-UDP-checksum disabled
max-bandwidth 0
fallback-bandwidth 0
max-priority-bandwidth 0
max-latency 0
max-jitter 0
max-packet-loss 0
observ-window-size 0
parent-realm
dns-realm
media-policy
in-translationid
out-translationid
in-manipulationid
out-manipulationid
manipulation-string
class-profile
average-rate-limit 0
access-control-trust-level medium
invalid-signal-threshold 1
maximum-signal-threshold 8000
untrusted-signal-threshold 100
nat-trust-threshold 0
deny-period 30
ext-policy-svr
symmetric-latching disabled
pai-strip disabled
trunk-context
early-media-allow
enforcement-profile
additional-prefixes
restricted-latching none
restriction-mask 32
options release-media-at-same-nat
accounting-enable enabled
user-cac-mode none
user-cac-bandwidth 0
user-cac-sessions 0
icmp-detect-multiplier 0
icmp-advertisement-interval 0
icmp-target-ip
monthly-minutes 0
net-management-control disabled
delay-media-update disabled
refer-call-transfer disabled
codec-policy
codec-manip-in-realm disabled
constraint-name
call-recording-server-id
stun-enable disabled
stun-server-ip 0.0.0.0
stun-server-port 3478
stun-changed-ip 0.0.0.0
stun-changed-port 3479
match-media-profiles
qos-constraint
last-modified-by 95.103
last-modified-date 2013-07-03 16:59:54
redundancy-config
state enabled
log-level INFO
health-threshold 75
emergency-threshold 50
port 9090
advertisement-time 500
percent-drift 210
initial-time 1250
becoming-standby-time 180000
becoming-active-time 100
cfg-port 1987
cfg-max-trans 10000
cfg-sync-start-time 5000
cfg-sync-comp-time 1000
gateway-heartbeat-interval 0
gateway-heartbeat-retry 0
gateway-heartbeat-timeout 1
gateway-heartbeat-health 0
media-if-peercheck-time 0
peer
name SBC1
state enabled
type Primary
destination
address 169.254.2.1:9090
network-interface wancom2:0
destination
address 169.254.1.1:9090
network-interface wancom1:0
peer
name SBC2
state enabled
type Secondary
destination
address 169.254.2.2:9090
network-interface wancom2:0
destination
address 169.254.1.2:9090
network-interface wancom1:0
last-modified-by admin@console
last-modified-date 2010-05-29 02:12:52
session-agent
hostname x.x.x.x
ip-address
port 5060
state enabled
app-protocol SIP
app-type
transport-method UDP+TCP
realm-id SIP-Trunk2
egress-realm-id
description
carriers
allow-next-hop-lp enabled
constraints disabled
max-sessions 0
max-inbound-sessions 0
max-outbound-sessions 0
max-burst-rate 0
max-inbound-burst-rate 0
max-outbound-burst-rate 0
max-sustain-rate 0
max-inbound-sustain-rate 0
max-outbound-sustain-rate 0
min-seizures 5
min-asr 0
time-to-resume 0
ttr-no-response 0
in-service-period 0
burst-rate-window 0
sustain-rate-window 0
req-uri-carrier-mode None
proxy-mode
redirect-action
loose-routing enabled
send-media-session enabled
response-map
ping-method
ping-interval 0
ping-send-mode keep-alive
ping-in-service-response-codes
out-service-response-codes
media-profiles
in-translationid
out-translationid
trust-me disabled
request-uri-headers
stop-recurse
local-response-map
ping-to-user-part
ping-from-user-part
li-trust-me disabled
in-manipulationid
out-manipulationid
manipulation-string
p-asserted-id
trunk-group
max-register-sustain-rate 0
early-media-allow
invalidate-registrations disabled
rfc2833-mode none
rfc2833-payload 0
codec-policy
enforcement-profile
refer-call-transfer disabled
reuse-connections NONE
tcp-keepalive none
tcp-reconn-interval 0
max-register-burst-rate 0
register-burst-window 0
last-modified-by 91.93
last-modified-date 2013-01-11 15:40:12
session-agent
hostname ip.of.metaswitch
ip-address
port 5060
state enabled
app-protocol SIP
app-type
transport-method UDP+TCP
realm-id core
egress-realm-id
description
carriers
allow-next-hop-lp enabled
constraints disabled
max-sessions 0
max-inbound-sessions 0
max-outbound-sessions 0
max-burst-rate 0
max-inbound-burst-rate 0
max-outbound-burst-rate 0
max-sustain-rate 0
max-inbound-sustain-rate 0
max-outbound-sustain-rate 0
min-seizures 5
min-asr 0
time-to-resume 0
ttr-no-response 0
in-service-period 0
burst-rate-window 0
sustain-rate-window 0
req-uri-carrier-mode None
proxy-mode
redirect-action
loose-routing enabled
send-media-session enabled
response-map
ping-method
ping-interval 0
ping-send-mode keep-alive
ping-in-service-response-codes
out-service-response-codes
media-profiles
in-translationid
out-translationid
trust-me enabled
request-uri-headers
stop-recurse
local-response-map
ping-to-user-part
ping-from-user-part
li-trust-me disabled
in-manipulationid
out-manipulationid
manipulation-string
p-asserted-id
trunk-group
max-register-sustain-rate 0
early-media-allow
invalidate-registrations enabled
rfc2833-mode none
rfc2833-payload 0
codec-policy
enforcement-profile
refer-call-transfer disabled
reuse-connections NONE
tcp-keepalive enabled
tcp-reconn-interval 0
max-register-burst-rate 0
register-burst-window 0
last-modified-by 95.103
last-modified-date 2013-06-24 16:40:48
sip-config
state enabled
operation-mode dialog
dialog-transparency enabled
home-realm-id core
egress-realm-id
nat-mode Public
registrar-domain *
registrar-host *
registrar-port 5060
register-service-route always
init-timer 500
max-timer 4000
trans-expire 32
invite-expire 180
inactive-dynamic-conn 32
enforcement-profile
pac-method
pac-interval 10
pac-strategy PropDist
pac-load-weight 1
pac-session-weight 1
pac-route-weight 1
pac-callid-lifetime 600
pac-user-lifetime 3600
red-sip-port 1988
red-max-trans 10000
red-sync-start-time 5000
red-sync-comp-time 1000
add-reason-header disabled
sip-message-len 4096
enum-sag-match disabled
extra-method-stats disabled
registration-cache-limit 0
register-use-to-for-lp disabled
options cache-challenges
max-register-forward=45
max-register-refresh=200
max-upd-length=0
reg-cache-mode=append
reg-overload-protect
register-grace-timer=120
reject-register=refresh
add-ucid-header disabled
proxy-sub-events
allow-pani-for-trusted-only disabled
set-disconnect-time-on-bye disabled
last-modified-by 95.103
last-modified-date 2013-06-24 16:42:23
sip-interface
state enabled
realm-id SIP-Trunk2
description
sip-port
address xxx.xx6.x9.11
port 5060
transport-protocol TCP
tls-profile
allow-anonymous agents-only
ims-aka-profile
sip-port
address xxx.xx6.x9.11
port 5060
transport-protocol UDP
tls-profile
allow-anonymous agents-only
ims-aka-profile
carriers
trans-expire 0
invite-expire 0
max-redirect-contacts 0
proxy-mode
redirect-action Proxy
contact-mode none
nat-traversal none
nat-interval 30
tcp-nat-interval 90
registration-caching disabled
min-reg-expire 300
registration-interval 3600
route-to-registrar disabled
secured-network disabled
teluri-scheme disabled
uri-fqdn-domain
trust-mode all
max-nat-interval 3600
nat-int-increment 10
nat-test-increment 30
sip-dynamic-hnt disabled
stop-recurse 401,407
port-map-start 0
port-map-end 0
in-manipulationid
out-manipulationid out
manipulation-string
sip-ims-feature disabled
operator-identifier
anonymous-priority none
max-incoming-conns 0
per-src-ip-max-incoming-conns 0
inactive-conn-timeout 0
untrusted-conn-timeout 0
network-id
ext-policy-server
default-location-string
charging-vector-mode pass
charging-function-address-mode pass
ccf-address
ecf-address
term-tgrp-mode none
implicit-service-route disabled
rfc2833-payload 101
rfc2833-mode transparent
constraint-name
response-map
local-response-map
ims-aka-feature disabled
enforcement-profile
refer-call-transfer disabled
route-unauthorized-calls
tcp-keepalive none
add-sdp-invite disabled
add-sdp-profiles
tcp-conn-dereg 0
last-modified-by 95.103
last-modified-date 2013-06-24 16:56:32
sip-interface
state enabled
realm-id core
description
sip-port
address x.x.x.98
port 5060
transport-protocol UDP
tls-profile
allow-anonymous agents-only
ims-aka-profile
sip-port
address x.x.x.98
port 5060
transport-protocol TCP
tls-profile
allow-anonymous agents-only
ims-aka-profile
carriers
trans-expire 0
invite-expire 0
max-redirect-contacts 0
proxy-mode
redirect-action Proxy
contact-mode none
nat-traversal none
nat-interval 30
tcp-nat-interval 90
registration-caching enabled
min-reg-expire 300
registration-interval 3600
route-to-registrar disabled
secured-network disabled
teluri-scheme disabled
uri-fqdn-domain
trust-mode all
max-nat-interval 3600
nat-int-increment 10
nat-test-increment 30
sip-dynamic-hnt disabled
stop-recurse 401,407
port-map-start 0
port-map-end 0
in-manipulationid
out-manipulationid
manipulation-string
sip-ims-feature disabled
operator-identifier
anonymous-priority none
max-incoming-conns 0
per-src-ip-max-incoming-conns 0
inactive-conn-timeout 0
untrusted-conn-timeout 0
network-id
ext-policy-server
default-location-string
charging-vector-mode pass
charging-function-address-mode pass
ccf-address
ecf-address
term-tgrp-mode none
implicit-service-route disabled
rfc2833-payload 101
rfc2833-mode transparent
constraint-name
response-map
local-response-map
ims-aka-feature disabled
enforcement-profile
refer-call-transfer disabled
route-unauthorized-calls
tcp-keepalive none
add-sdp-invite disabled
add-sdp-profiles
tcp-conn-dereg 0
last-modified-by 95.103
last-modified-date 2013-06-24 16:56:56
sip-interface
state enabled
realm-id access
description
sip-port
address xxx.xx6.x9.20
port 5060
transport-protocol UDP
tls-profile
allow-anonymous registered
ims-aka-profile
sip-port
address xxx.xx6.x9.20
port 5060
transport-protocol TCP
tls-profile
allow-anonymous registered
ims-aka-profile
carriers
trans-expire 0
invite-expire 0
max-redirect-contacts 0
proxy-mode
redirect-action Proxy
contact-mode none
nat-traversal always
nat-interval 30
tcp-nat-interval 90
registration-caching enabled
min-reg-expire 300
registration-interval 3600
route-to-registrar enabled
secured-network disabled
teluri-scheme disabled
uri-fqdn-domain
trust-mode all
max-nat-interval 3600
nat-int-increment 10
nat-test-increment 30
sip-dynamic-hnt disabled
stop-recurse 401,407
port-map-start 0
port-map-end 0
in-manipulationid
out-manipulationid
manipulation-string
sip-ims-feature disabled
operator-identifier
anonymous-priority none
max-incoming-conns 0
per-src-ip-max-incoming-conns 0
inactive-conn-timeout 0
untrusted-conn-timeout 0
network-id
ext-policy-server
default-location-string
charging-vector-mode pass
charging-function-address-mode pass
ccf-address
ecf-address
term-tgrp-mode none
implicit-service-route disabled
rfc2833-payload 101
rfc2833-mode transparent
constraint-name
response-map
local-response-map
ims-aka-feature disabled
enforcement-profile
refer-call-transfer disabled
route-unauthorized-calls
tcp-keepalive none
add-sdp-invite disabled
add-sdp-profiles
tcp-conn-dereg 0
last-modified-by 95.103
last-modified-date 2013-06-24 20:14:55
sip-manipulation
name out
description to_others
header-rule
name From
header-name From
action manipulate
comparison-type case-sensitive
match-value
msg-type any
new-value
methods
element-rule
name From
parameter-name From
type uri-host
action replace
match-val-type any
comparison-type case-sensitive
match-value
new-value $LOCAL_IP
last-modified-by 95.103
last-modified-date 2013-06-24 22:00:06
sip-nat
realm-id access
domain-suffix .customer.com
ext-proxy-address 1.1.1.1
ext-proxy-port 5060
ext-address external.public.ip
home-address proxy.ip.of.acme.from.meta
home-proxy-address ip.address.of.metaswitch
home-proxy-port 5060
route-home-proxy disabled
address-prefix *
tunnel-redirect disabled
use-url-parameter none
parameter-name
user-nat-tag -acme-
host-nat-tag ACME-
headers Call-ID Contact f From i Join m r
Record-Route Refer-To Replaces Reply-To
Route t To v Via
last-modified-by 201.91
last-modified-date 2010-07-08 17:58:42
steering-pool
ip-address x.x.x.x
start-port 32000
end-port 33999
realm-id SIP-Trunk2
network-interface Mx00:0
last-modified-by 201.91
last-modified-date 2010-07-07 18:46:25
steering-pool
ip-address x.x.x.98
start-port 10000
end-port 19999
realm-id core
network-interface Mx10:0
last-modified-by admin@172.24.34.48
last-modified-date 2008-12-30 15:28:05
steering-pool
ip-address xxx.xx6.x9.20
start-port 20000
end-port 29999
realm-id access
network-interface Mx00:0
last-modified-by 201.91
last-modified-date 2010-07-23 23:05:41
system-config
hostname
description Peering & Access - MetaSwitch standard config
location
mib-system-contact
mib-system-name
mib-system-location
snmp-enabled enabled
enable-snmp-auth-traps disabled
enable-snmp-syslog-notify disabled
enable-snmp-monitor-traps disabled
enable-env-monitor-traps disabled
snmp-syslog-his-table-length 1
snmp-syslog-level WARNING
system-log-level WARNING
syslog-server
address x.x.x.x
port 514
facility 3
process-log-level NOTICE
process-log-ip-address 0.0.0.0
process-log-port 0
collect
sample-interval 5
push-interval 15
boot-state disabled
start-time now
end-time never
red-collect-state disabled
red-max-trans 1000
red-sync-start-time 5000
red-sync-comp-time 1000
push-success-trap-state disabled
call-trace disabled
internal-trace disabled
log-filter all
default-gateway x.x.x.1
restart enabled
exceptions
telnet-timeout 1800
console-timeout 0
remote-control enabled
cli-audit-trail enabled
link-redundancy-state disabled
source-routing disabled
cli-more enabled
terminal-height 24
debug-timeout 0
trap-event-lifetime 0
cleanup-time-of-day 00:00
last-modified-by 95.103
last-modified-date 2013-06-24 17:39:46
task done
>>> show running-config