cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
FXS handoff
New Contributor

FXS Handoff configuration

We nee to cofigure TA908 to a FXS handoff - using amphenol connector connecting to 66 block.   Anyone have a configuration we can use.  Thanks so much.

0 Kudos
4 Replies

Re: FXS Handoff configuration

Here's our sample configuration - any suggestion - corrections, etc...  Thanks a ton

!
!
! ADTRAN, Inc. OS version R13.12.1.E
! Boot ROM version 14.05.00.SA
! Platform: Total Access 916e (2nd Gen), part number 4242916L1
! Serial number CFG0941744
!
!
hostname "FOLK"
enable password encrypted 303ac99e4557a874a90df4f80f46390f099a
!
!
clock timezone -5-Eastern-Time
!
ip subnet-zero
ip classless
ip routing
ipv6 unicast-routing
!
!
domain-proxy
name-server 8.8.8.8 8.8.4.4
!
!
no auto-config
auto-config authname adtran encrypted password 1c1a98d571d663efb7cd7af7485d29c9883c
!
event-history on
no logging forwarding
no logging email
!
service password-encryption
!
username "admin" password encrypted "1d179daa3ff59b103151dafb4072fd1ae35b"
!
!
no ip firewall alg msn
no ip firewall alg mszone
no ip firewall alg h323
!
!
!
!
!
!
!
!
no dot11ap access-point-control
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface eth 0/1
  ip address  121.214.182.5  255.255.255.248
  no shutdown
  media-gateway ip primary
!
!
interface eth 0/2
  no ip address
  shutdown
!
!
!
!
interface t1 0/1
  no shutdown
!
interface t1 0/2
  no shutdown
!
interface t1 0/3
  no shutdown
!
interface t1 0/4
  no shutdown
!
!
interface fxs 0/1
  no shutdown
!
interface fxs 0/2
  no shutdown
!
interface fxs 0/3
  no shutdown
!
interface fxs 0/4
  no shutdown
!
interface fxs 0/5
  no shutdown
!
interface fxs 0/6
  no shutdown
!
interface fxs 0/7
  no shutdown
!
interface fxs 0/8
  no shutdown
!
interface fxs 0/9
  no shutdown
!
interface fxs 0/10
  no shutdown
!
interface fxs 0/11
  no shutdown
!
interface fxs 0/12
  no shutdown
!
interface fxs 0/13
  no shutdown
!
interface fxs 0/14
  no shutdown
!
interface fxs 0/15
  no shutdown
!
interface fxs 0/16
  no shutdown
!
!
interface fxo 0/0
  no shutdown
!
!
!
!
!
!
!
!
!
!
!
ip route 0.0.0.0 0.0.0.0 121.214.182.4
!
no tftp server
no tftp server overwrite
http server 15229
http secure-server
no snmp agent
no ip ftp server
no ip scp server
no ip sntp server
!
!
!
!
!
!
!
!
sip
sip udp 5060
no sip tcp
!
!
!
voice feature-mode network
voice forward-mode network
!
!
!
!
!
!
!
!
voice dial-plan 1 local NXX-NXX-XXXX
voice dial-plan 2 long-distance 1-NXX-NXX-XXXX
voice dial-plan 3 extensions 20XXX
!
!
!
!
voice codec-list 729-711
  codec g729
  codec g711ulaw
!
!
voice trunk-list PBX_TRUNKS
  trunk T02
!
voice trunk-list PROVIDER_TRUNKS
  trunk T01
!
!
voice trunk T01 type sip
  description "TO_PEERLESS_SIP"
  sip-server primary dw3.network.io
  registrar primary dw3.network.io
  sip-header-passthrough both
  outbound-proxy primary dw3.network.io
  domain "dw3.network.io"
  hmr outboundHmr out
  register 0314_HAMPTI301 auth-name "0314_HAMPTI301" password encrypted "343eedb4f8aac33e7c28cd2362d193cb80ee"
  codec-list 729-711 both
  grammar from host sip-server
  authentication username "0314_HAMPTI301" password encrypted "2b21b5a9aab6cba404b25effd72e2e28cc99"
!
!
voice grouped-trunk SIP
  trunk T01
  accept NXX-NXX-XXXX cost 0
  accept 1-NXX-NXX-XXXX cost 0
  accept 011-$ cost 0
  accept 411 cost 0
  accept 611 cost 0
  accept 911 cost 0
  accept 933 cost 0
  accept NXX-XXXX cost 0
  permit list PBX_TRUNKS
  !deny all other trunks
  !deny all other ani
!
!
voice grouped-trunk PEERLESS
  trunk T01
  accept $ cost 0
  permit list PROVIDER_TRUNKS
  !deny all other trunks
  !deny all other ani
!
!
voice user 101
  connect fxs 0/1
  no cos
  password encrypted "3b3f04c024158ab1b6d961202185124bef3f"
  did "7574909800"
  sip-authentication password encrypted "3733e6f0177ef1e697734b9d9a707cb09fe3"
!
!
!
voice user 102
  connect fxs 0/2
  no cos
  password encrypted "1d19ceda69a42a9bef9c14274072fd1ae35b"
  did "7574900540"
  sip-authentication password encrypted "393d0220721d4b8477cde8216266871c7b46"
!
!
!
voice user 103
  connect fxs 0/3
  no cos
  password encrypted "3135e1c931c57f186b963c832c6893169202"
  did "7574900576"
  sip-authentication password encrypted "191d6d2607a0b620443811b254d8f6fb7ecb"
!
!
!
voice user 104
  connect fxs 0/4
  no cos
  password encrypted "3135e1c931c57f186b963c832c6893169202"
  did "7574900577"
  sip-authentication password encrypted "2723ef1bace523e88dc1839aa58a7da49d2f"
!
!
!
voice user 105
  connect fxs 0/5
  no cos
  password encrypted "4044a0ec1b99ec2e460b8f2203161619f745"
  did "7574900745"
  sip-authentication password encrypted "1713e73a78380e1a6ad88c2154f6ae69bcb2"
!
!
!
voice user 106
  connect fxs 0/6
  no cos
  password encrypted "43475f36f75fb13660802c7be4f5683a5ecd"
  did "7574901006"
  sip-authentication password encrypted "3d39879abc1d03f78fa1b48a8a1f24e4a871"
!
!
!
voice user 107
  connect fxs 0/7
  no cos
  password encrypted "4044a0ec1b99ec2e460b8f2203161619f745"
  did "7574901558"
  sip-authentication password encrypted "3632c4555bae3c30d946651decec5e91b7ef"
!
!
!
voice user 108
  connect fxs 0/8
  no cos
  password encrypted "4145659f50aadcfe924b3de59c00a79337ee"
  did "7574901637"
  sip-authentication password encrypted "1b1f258bde4c9f3b85c50fc983ce3e214e68"
!
!
!
voice user 109
  connect fxs 0/9
  no cos
  password encrypted "4440a949abed9808f0d80d5c2ebcf4063a41"
  did "7574901641"
  sip-authentication password encrypted "353137ad1740f72c81782ec3266d6bc6f99f"
!
!
voice ring-group 17574909800
  type linear
  num-rings 4
  member 101
  login-member 101
  coverage  internal 20102
  coverage  internal 20103
!
!
voice ring-group 20101
  type linear
  num-rings 4
  member 101
  login-member 101
!
!
voice ring-group 20102
  type linear
  num-rings 4
  member 102
  login-member 102
!
!
voice ring-group 20103
  type linear
  num-rings 4
  member 103
  login-member 103
!
!
voice ring-group 20104
  type linear
  num-rings 4
  member 104
  login-member 104
!
!
voice ring-group 20105
  type linear
  num-rings 4
  member 105
  login-member 105
!
!
voice ring-group 20106
  type linear
  num-rings 4
  member 106
  login-member 106
!
!
voice ring-group 20107
  type linear
  num-rings 4
  member 107
  login-member 107
!
!
voice ring-group 20108
  type linear
  num-rings 4
  member 108
  login-member 108
!
!
voice ring-group 20109
  type linear
  num-rings 4
  member 109
  login-member 109
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
sip grammar from host local
!
!
!
!
ip rtp symmetric-filter
!
!
hmr policy outboundHmr
  rule-set outboundHmr 10
!
!
hmr rule-set outboundHmr
  message-rule insertPai message-type request 10
    set private-variable paiVar  header from position first match-value /(.*sip:)(.*)(@.*)/ new-value /\1\2\3/  10
    add header p-asserted-identity position if-not-present new-value %private.paiVar%  20
  message-rule fromUserReplace message-type request 20
    modify header from position first match-value /(.*sip:)(.*)(@.*)/ new-value /\10314_HAMPTI301\3/  10
  message-rule contactUserReplace message-type request 30
    modify header contact position first match-value /(.*sip:)(.*)(@.*)/ new-value /\10314_HAMPTI301\3/  10
!
!
!
line con 0
  no login
  password encrypted 292358c2049270b6ffe2b1d047b1f88ac22d
!
line telnet 0 4
  login
  password encrypted 353fbfb0f388fb31b96dc6b41426810c37c1
  no shutdown
line ssh 0 4
  login local-userlist
  no shutdown
!
!
!
!
!
end

 

 

curtc
New Contributor III

Re: FXS Handoff configuration

That's not too specific.  If you just want a DNIS match for copper FXS:

voice user 1614xxxxxxx  <--Your phone number
  connect fxs 0/1

Re: FXS Handoff configuration

Hi Curtc,

 

I work in the same team. For reference, I am attaching the Config. It will be a great help if you can check if this config is ok.

 

! ADTRAN, Inc. OS version R13.12.1.E
! Boot ROM version 14.05.00.SA
! Platform: Total Access 916e (2nd Gen), part number 4242916L1
! Serial number CFG0941744
!
!
hostname "FOLK"
enable password encrypted 303ac99e4557a874a90df4f80f46390f099a
!
!
clock timezone -5-Eastern-Time
!
ip subnet-zero
ip classless
ip routing
ipv6 unicast-routing
!
!
domain-proxy
name-server 8.8.8.8 8.8.4.4
!
!
no auto-config
auto-config authname adtran encrypted password 1c1a98d571d663efb7cd7af7485d29c9883c
!
event-history on
no logging forwarding
no logging email
!
service password-encryption
!
username "admin" password encrypted "1d179daa3ff59b103151dafb4072fd1ae35b"
!
!
no ip firewall alg msn
no ip firewall alg mszone
no ip firewall alg h323
!
!
!
!
!
!
!
!
no dot11ap access-point-control
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface eth 0/1
  ip address  121.214.182.5  255.255.255.248
  no shutdown
  media-gateway ip primary
!
!
interface eth 0/2
  no ip address
  shutdown
!
!
!
!
interface t1 0/1
  no shutdown
!
interface t1 0/2
  no shutdown
!
interface t1 0/3
  no shutdown
!
interface t1 0/4
  no shutdown
!
!
interface fxs 0/1
  no shutdown
!
interface fxs 0/2
  no shutdown
!
interface fxs 0/3
  no shutdown
!
interface fxs 0/4
  no shutdown
!
interface fxs 0/5
  no shutdown
!
interface fxs 0/6
  no shutdown
!
interface fxs 0/7
  no shutdown
!
interface fxs 0/8
  no shutdown
!
interface fxs 0/9
  no shutdown
!
interface fxs 0/10
  no shutdown
!
interface fxs 0/11
  no shutdown
!
interface fxs 0/12
  no shutdown
!
interface fxs 0/13
  no shutdown
!
interface fxs 0/14
  no shutdown
!
interface fxs 0/15
  no shutdown
!
interface fxs 0/16
  no shutdown
!
!
interface fxo 0/0
  no shutdown
!
!
!
!
!
!
!
!
!
!
!
ip route 0.0.0.0 0.0.0.0 121.214.182.4
!
no tftp server
no tftp server overwrite
http server 15229
http secure-server
no snmp agent
no ip ftp server
no ip scp server
no ip sntp server
!
!
!
!
!
!
!
!
sip
sip udp 5060
no sip tcp
!
!
!
voice feature-mode network
voice forward-mode network
!
!
!
!
!
!
!
!
voice dial-plan 1 local NXX-NXX-XXXX
voice dial-plan 2 long-distance 1-NXX-NXX-XXXX
voice dial-plan 3 extensions 20XXX
!
!
!
!
voice codec-list 729-711
  codec g729
  codec g711ulaw
!
!
voice trunk-list PBX_TRUNKS
  trunk T02
!
voice trunk-list PROVIDER_TRUNKS
  trunk T01
!
!
voice trunk T01 type sip
  description "TO_PEERLESS_SIP"
  sip-server primary dw3.network.io
  registrar primary dw3.network.io
  sip-header-passthrough both
  outbound-proxy primary dw3.network.io
  domain "dw3.network.io"
  hmr outboundHmr out
  register 0314_HAMPTI301 auth-name "0314_HAMPTI301" password encrypted "343eedb4f8aac33e7c28cd2362d193cb80ee"
  codec-list 729-711 both
  grammar from host sip-server
  authentication username "0314_HAMPTI301" password encrypted "2b21b5a9aab6cba404b25effd72e2e28cc99"
!
!
voice grouped-trunk SIP
  trunk T01
  accept NXX-NXX-XXXX cost 0
  accept 1-NXX-NXX-XXXX cost 0
  accept 011-$ cost 0
  accept 411 cost 0
  accept 611 cost 0
  accept 911 cost 0
  accept 933 cost 0
  accept NXX-XXXX cost 0
  permit list PBX_TRUNKS
  !deny all other trunks
  !deny all other ani
!
!
voice grouped-trunk PEERLESS
  trunk T01
  accept $ cost 0
  permit list PROVIDER_TRUNKS
  !deny all other trunks
  !deny all other ani
!
!
voice user 101
  connect fxs 0/1
  no cos
  password encrypted "3b3f04c024158ab1b6d961202185124bef3f"
  did "7574XXXXXX"
  sip-authentication password encrypted "3733e6f0177ef1e697734b9d9a707cb09fe3"
!
!
!
voice user 102
  connect fxs 0/2
  no cos
  password encrypted "1d19ceda69a42a9bef9c14274072fd1ae35b"
  did "757XXXXXXX"
  sip-authentication password encrypted "393d0220721d4b8477cde8216266871c7b46"
!
!
!
voice user 103
  connect fxs 0/3
  no cos
  password encrypted "3135e1c931c57f186b963c832c6893169202"
  did "7574XXXXXX"
  sip-authentication password encrypted "191d6d2607a0b620443811b254d8f6fb7ecb"
!
!
!
voice user 104
  connect fxs 0/4
  no cos
  password encrypted "3135e1c931c57f186b963c832c6893169202"
  did "7574XXXXXX"
  sip-authentication password encrypted "2723ef1bace523e88dc1839aa58a7da49d2f"
!
!
!
voice user 105
  connect fxs 0/5
  no cos
  password encrypted "4044a0ec1b99ec2e460b8f2203161619f745"
  did "7574XXXXXX"
  sip-authentication password encrypted "1713e73a78380e1a6ad88c2154f6ae69bcb2"
!
!
!
voice user 106
  connect fxs 0/6
  no cos
  password encrypted "43475f36f75fb13660802c7be4f5683a5ecd"
  did "7574XXXXXX"
  sip-authentication password encrypted "3d39879abc1d03f78fa1b48a8a1f24e4a871"
!
!
!
voice user 107
  connect fxs 0/7
  no cos
  password encrypted "4044a0ec1b99ec2e460b8f2203161619f745"
  did "7574XXXXXX"
  sip-authentication password encrypted "3632c4555bae3c30d946651decec5e91b7ef"
!
!
!
voice user 108
  connect fxs 0/8
  no cos
  password encrypted "4145659f50aadcfe924b3de59c00a79337ee"
  did "7574XXXXXX"
  sip-authentication password encrypted "1b1f258bde4c9f3b85c50fc983ce3e214e68"
!
!
!
voice user 109
  connect fxs 0/9
  no cos
  password encrypted "4440a949abed9808f0d80d5c2ebcf4063a41"
  did "7574XXXXXX"
  sip-authentication password encrypted "353137ad1740f72c81782ec3266d6bc6f99f"
!
!
voice ring-group 17574XXXXXX
  type linear
  num-rings 4
  member 101
  login-member 101
  coverage  internal 20102
  coverage  internal 20103
!
!
voice ring-group 20101
  type linear
  num-rings 4
  member 101
  login-member 101
!
!
voice ring-group 20102
  type linear
  num-rings 4
  member 102
  login-member 102
!
!
voice ring-group 20103
  type linear
  num-rings 4
  member 103
  login-member 103
!
!
voice ring-group 20104
  type linear
  num-rings 4
  member 104
  login-member 104
!
!
voice ring-group 20105
  type linear
  num-rings 4
  member 105
  login-member 105
!
!
voice ring-group 20106
  type linear
  num-rings 4
  member 106
  login-member 106
!
!
voice ring-group 20107
  type linear
  num-rings 4
  member 107
  login-member 107
!
!
voice ring-group 20108
  type linear
  num-rings 4
  member 108
  login-member 108
!
!
voice ring-group 20109
  type linear
  num-rings 4
  member 109
  login-member 109
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
sip grammar from host local
!
!
!
!
ip rtp symmetric-filter
!
!
hmr policy outboundHmr
  rule-set outboundHmr 10
!
!
hmr rule-set outboundHmr
  message-rule insertPai message-type request 10
    set private-variable paiVar  header from position first match-value /(.*sip:)(.*)(@.*)/ new-value /\1\2\3/  10
    add header p-asserted-identity position if-not-present new-value %private.paiVar%  20
  message-rule fromUserReplace message-type request 20
    modify header from position first match-value /(.*sip:)(.*)(@.*)/ new-value /\10314_HAMPTI301\3/  10
  message-rule contactUserReplace message-type request 30
    modify header contact position first match-value /(.*sip:)(.*)(@.*)/ new-value /\10314_HAMPTI301\3/  10
!
!
!
line con 0
  no login

 

 

Re: FXS Handoff configuration

Hi Curtc,

 

I work in the same team. For reference, I am attaching the Config. It will be a great help if you can check if this config is ok.

 

! ADTRAN, Inc. OS version R13.12.1.E
! Boot ROM version 14.05.00.SA
! Platform: Total Access 916e (2nd Gen), part number 4242916L1
! Serial number CFG0941744
!
!
hostname "FOLK"
enable password encrypted 303ac99e4557a874a90df4f80f46390f099a
!
!
clock timezone -5-Eastern-Time
!
ip subnet-zero
ip classless
ip routing
ipv6 unicast-routing
!
!
domain-proxy
name-server 8.8.8.8 8.8.4.4
!
!
no auto-config
auto-config authname adtran encrypted password 1c1a98d571d663efb7cd7af7485d29c9883c
!
event-history on
no logging forwarding
no logging email
!
service password-encryption
!
username "admin" password encrypted "1d179daa3ff59b103151dafb4072fd1ae35b"
!
!
no ip firewall alg msn
no ip firewall alg mszone
no ip firewall alg h323
!
!
!
!
!
!
!
!
no dot11ap access-point-control
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface eth 0/1
  ip address  121.214.182.5  255.255.255.248
  no shutdown
  media-gateway ip primary
!
!
interface eth 0/2
  no ip address
  shutdown
!
!
!
!
interface t1 0/1
  no shutdown
!
interface t1 0/2
  no shutdown
!
interface t1 0/3
  no shutdown
!
interface t1 0/4
  no shutdown
!
!
interface fxs 0/1
  no shutdown
!
interface fxs 0/2
  no shutdown
!
interface fxs 0/3
  no shutdown
!
interface fxs 0/4
  no shutdown
!
interface fxs 0/5
  no shutdown
!
interface fxs 0/6
  no shutdown
!
interface fxs 0/7
  no shutdown
!
interface fxs 0/8
  no shutdown
!
interface fxs 0/9
  no shutdown
!
interface fxs 0/10
  no shutdown
!
interface fxs 0/11
  no shutdown
!
interface fxs 0/12
  no shutdown
!
interface fxs 0/13
  no shutdown
!
interface fxs 0/14
  no shutdown
!
interface fxs 0/15
  no shutdown
!
interface fxs 0/16
  no shutdown
!
!
interface fxo 0/0
  no shutdown
!
!
!
!
!
!
!
!
!
!
!
ip route 0.0.0.0 0.0.0.0 121.214.182.4
!
no tftp server
no tftp server overwrite
http server 15229
http secure-server
no snmp agent
no ip ftp server
no ip scp server
no ip sntp server
!
!
!
!
!
!
!
!
sip
sip udp 5060
no sip tcp
!
!
!
voice feature-mode network
voice forward-mode network
!
!
!
!
!
!
!
!
voice dial-plan 1 local NXX-NXX-XXXX
voice dial-plan 2 long-distance 1-NXX-NXX-XXXX
voice dial-plan 3 extensions 20XXX
!
!
!
!
voice codec-list 729-711
  codec g729
  codec g711ulaw
!
!
voice trunk-list PBX_TRUNKS
  trunk T02
!
voice trunk-list PROVIDER_TRUNKS
  trunk T01
!
!
voice trunk T01 type sip
  description "TO_PEERLESS_SIP"
  sip-server primary dw3.network.io
  registrar primary dw3.network.io
  sip-header-passthrough both
  outbound-proxy primary dw3.network.io
  domain "dw3.network.io"
  hmr outboundHmr out
  register 0314_HAMPTI301 auth-name "0314_HAMPTI301" password encrypted "343eedb4f8aac33e7c28cd2362d193cb80ee"
  codec-list 729-711 both
  grammar from host sip-server
  authentication username "0314_HAMPTI301" password encrypted "2b21b5a9aab6cba404b25effd72e2e28cc99"
!
!
voice grouped-trunk SIP
  trunk T01
  accept NXX-NXX-XXXX cost 0
  accept 1-NXX-NXX-XXXX cost 0
  accept 011-$ cost 0
  accept 411 cost 0
  accept 611 cost 0
  accept 911 cost 0
  accept 933 cost 0
  accept NXX-XXXX cost 0
  permit list PBX_TRUNKS
  !deny all other trunks
  !deny all other ani
!
!
voice grouped-trunk PEERLESS
  trunk T01
  accept $ cost 0
  permit list PROVIDER_TRUNKS
  !deny all other trunks
  !deny all other ani
!
!
voice user 101
  connect fxs 0/1
  no cos
  password encrypted "3b3f04c024158ab1b6d961202185124bef3f"
  did "7574XXXXXX"
  sip-authentication password encrypted "3733e6f0177ef1e697734b9d9a707cb09fe3"
!
!
!
voice user 102
  connect fxs 0/2
  no cos
  password encrypted "1d19ceda69a42a9bef9c14274072fd1ae35b"
  did "757XXXXXXX"
  sip-authentication password encrypted "393d0220721d4b8477cde8216266871c7b46"
!
!
!
voice user 103
  connect fxs 0/3
  no cos
  password encrypted "3135e1c931c57f186b963c832c6893169202"
  did "7574XXXXXX"
  sip-authentication password encrypted "191d6d2607a0b620443811b254d8f6fb7ecb"
!
!
!
voice user 104
  connect fxs 0/4
  no cos
  password encrypted "3135e1c931c57f186b963c832c6893169202"
  did "7574XXXXXX"
  sip-authentication password encrypted "2723ef1bace523e88dc1839aa58a7da49d2f"
!
!
!
voice user 105
  connect fxs 0/5
  no cos
  password encrypted "4044a0ec1b99ec2e460b8f2203161619f745"
  did "7574XXXXXX"
  sip-authentication password encrypted "1713e73a78380e1a6ad88c2154f6ae69bcb2"
!
!
!
voice user 106
  connect fxs 0/6
  no cos
  password encrypted "43475f36f75fb13660802c7be4f5683a5ecd"
  did "7574XXXXXX"
  sip-authentication password encrypted "3d39879abc1d03f78fa1b48a8a1f24e4a871"
!
!
!
voice user 107
  connect fxs 0/7
  no cos
  password encrypted "4044a0ec1b99ec2e460b8f2203161619f745"
  did "7574XXXXXX"
  sip-authentication password encrypted "3632c4555bae3c30d946651decec5e91b7ef"
!
!
!
voice user 108
  connect fxs 0/8
  no cos
  password encrypted "4145659f50aadcfe924b3de59c00a79337ee"
  did "7574XXXXXX"
  sip-authentication password encrypted "1b1f258bde4c9f3b85c50fc983ce3e214e68"
!
!
!
voice user 109
  connect fxs 0/9
  no cos
  password encrypted "4440a949abed9808f0d80d5c2ebcf4063a41"
  did "7574XXXXXX"
  sip-authentication password encrypted "353137ad1740f72c81782ec3266d6bc6f99f"
!
!
voice ring-group 17574XXXXXX
  type linear
  num-rings 4
  member 101
  login-member 101
  coverage  internal 20102
  coverage  internal 20103
!
!
voice ring-group 20101
  type linear
  num-rings 4
  member 101
  login-member 101
!
!
voice ring-group 20102
  type linear
  num-rings 4
  member 102
  login-member 102
!
!
voice ring-group 20103
  type linear
  num-rings 4
  member 103
  login-member 103
!
!
voice ring-group 20104
  type linear
  num-rings 4
  member 104
  login-member 104
!
!
voice ring-group 20105
  type linear
  num-rings 4
  member 105
  login-member 105
!
!
voice ring-group 20106
  type linear
  num-rings 4
  member 106
  login-member 106
!
!
voice ring-group 20107
  type linear
  num-rings 4
  member 107
  login-member 107
!
!
voice ring-group 20108
  type linear
  num-rings 4
  member 108
  login-member 108
!
!
voice ring-group 20109
  type linear
  num-rings 4
  member 109
  login-member 109
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
sip grammar from host local
!
!
!
!
ip rtp symmetric-filter
!
!
hmr policy outboundHmr
  rule-set outboundHmr 10
!
!
hmr rule-set outboundHmr
  message-rule insertPai message-type request 10
    set private-variable paiVar  header from position first match-value /(.*sip:)(.*)(@.*)/ new-value /\1\2\3/  10
    add header p-asserted-identity position if-not-present new-value %private.paiVar%  20
  message-rule fromUserReplace message-type request 20
    modify header from position first match-value /(.*sip:)(.*)(@.*)/ new-value /\10314_HAMPTI301\3/  10
  message-rule contactUserReplace message-type request 30
    modify header contact position first match-value /(.*sip:)(.*)(@.*)/ new-value /\10314_HAMPTI301\3/  10
!
!
!
line con 0
  no login