|
Patton SmartNode - SmartNode Settings |
|
|
|
Page 3 of 4
3 Patton SmartNode Settings
3.1 Configuration of SmartNode
a) Configuration provided below is to be applied via the CLI (Command Line Interface) of the Patton. This can be accessed via the SmartNode console port or via a telnet session. (refer to the SmartNode Software Configuration Guide for further information) b) Ensure the Patton SmartNode menu fields are populated as per below:
profile service-policy qos rate-limit 1000 header-length 30 voice-margin 0 debug queue statistics detail 3
source traffic-class local-voice share 50 priority
profile napt NAPT_WAN profile ppp default profile tone-set default profile voip default codec 1 g711alaw64k rx-length 20 tx-length 20 codec 2 g711ulaw64k rx-length 20 tx-length 20
dejitter-max-delay 60 fax transmission 1 relay t38-udp fax transmission 2 bypass g711alaw64k fax redundancy low-speed 4 high-speed 4 fax ced-retransmission 5
profile voip voice codec 1 g711alaw64k rx-length 20 tx-length 20 codec 2 transparent-clearmode rx-length 20 tx-length 20 no dtmf-relay rtp traffic-class local-default no dtmf-mute-encoder dejitter-mode static dejitter-max-delay 60 fax transmission 1 bypass g711alaw64k fax redundancy low-speed 4 high-speed 4 fax volume -13.5 fax dejitter-max-delay 60 fax max-bit-rate 9600 fax detection fax-frames no fax ced-retransmission modem transmission 1 bypass g711alaw64k modem dejitter-max-delay 60 no modem detection on-remote-fax-request
profile voip data codec 1 transparent-clearmode rx-length 20 tx-length 20 no high-pass-filter no post-filter no dtmf-relay
profile voip modem codec 1 g711alaw64k rx-length 20 tx-length 20 no dtmf-relay rtp traffic-class local-default no dtmf-mute-encoder dejitter-mode static dejitter-max-delay 60 fax dejitter-max-delay 60
modem transmission 1 bypass g711alaw64k modem dejitter-max-delay 60 no modem detection on-remote-fax-request profile pstn default profile sip default
profile dhcp-server dhcp network 192.168.1.0 255.255.255.0 include 1 192.168.1.100 192.168.1.200 lease 3 hours default-router 1 192.168.1.1 domain-name-server 1 192.168.1.1 context ip router dhcp-server use profile dhcp
profile aaa default method 1 local method 2 none
context ip router interface WAN ipaddress 10.0.0.2 255.255.255.0 mtu 1400 use profile acl management in use profile napt NAPT_WAN no napt-inside tcp adjust-mss rx mtu tcp adjust-mss tx mtu
interface LAN ipaddress 192.168.1.1 255.255.255.0 tcp adjust-mss rx mtu tcp adjust-mss tx mtu context ip router route 0.0.0.0 0.0.0.0 10.0.0.1 0 context cs switch national-prefix 0 international-prefix 00
routing-table itc RT_FROM_ISDN_2_PP route default dest-table RT_FROM_ISDN_3_PP route restricted-digital dest-interface IF_SIP_DATA_PP route unrestricted-digital dest-interface IF_SIP_DATA_PP
routing-table itc RT_FROM_ISDN_2_PMP route default dest-table RT_FROM_ISDN_3_PMP route restricted-digital dest-interface IF_SIP_DATA_PMP route unrestricted-digital dest-interface IF_SIP_DATA_PMP
routing-table called-e164 RT_TO_ISDN route .% dest-service QoS_LOG.ISDN_HG CF_FROM_SIP_UNKNO_PP
routing-table called-e164 RT_FROM_ISDN_1_PP route .T4 dest-table RT_FROM_ISDN_2_PP CF_FROM_ISDN_PP
routing-table calling-e164 RT_FROM_ISDN_3_PP route default dest-interface IF_SIP_PP
routing-table called-e164 RT_FROM_ISDN_1_PMP route .T4 dest-table RT_FROM_ISDN_2_PMP CF_FROM_ISDN_PMP
routing-table calling-e164 RT_FROM_ISDN_3_PMP route default dest-interface IF_SIP_PMP
mapping-table calling-e164 to calling-e164 MT_SET_CALLING_OUT_PP map ([1-9][0-9]+) to 12345678 map 12345678(.+) to 12345678 map 35212345678(.+) to 35212345678 map 0035212345678(.+) to 35212345678
mapping-table calling-e164 to calling-e164 MT_SET_CALLING_OUT_PMP mapping-table calling-e164 to calling-e164 MT_SET_NUMBER_NAT_PP map (12345678)(.+) to
mapping-table called-type-of-number to called-type-of-number MT_SET_TON_UNK map default to unknown
mapping-table called-type-of-number to called-type-of-number MT_SET_TON_SUB map default to subscriber
mapping-table called-type-of-number to called-type-of-number MT_SET_TON_NAT map default to national
mapping-table called-e164 to called-e164 MT_SET_NUMBER_UNK_PP map (12345678)(.+) to
mapping-table called-e164 to called-e164 MT_SET_NUMBER_SUB_PP map (12345678)(.+) to
mapping-table called-e164 to called-e164 MT_SET_NUMBER_UNK_PMP mapping-table called-e164 to called-e164 MT_SET_NUMBER_SUB_PMP
mapping-table called-e164 to called-e164 MT_SET_NUMBER_NAT_PMP mapping-table called-e164 to calling-si MT_SET_CALLING_SI map default to user-not-screened
mapping-table calling-e164 to calling-name MT_SET_CALLING_NAME_PP map (.+) to
mapping-table calling-e164 to calling-name MT_SET_CALLING_NAME_PMP map 352(.+) to complex-function CF_FROM_ISDN_PP execute 1 MT_SET_CALLING_OUT_PP execute 2 MT_SET_CALLING_SI execute 3 MT_SET_CALLING_NAME_PP complex-function CF_FROM_ISDN_PMP execute 1 MT_SET_CALLING_OUT_PMP execute 2 MT_SET_CALLING_SI execute 3 MT_SET_CALLING_NAME_PMP
complex-function CF_FROM_SIP_UNKNO_PP execute 1 MT_SET_NUMBER_UNK_PP execute 2 MT_SET_TON_UNK
complex-function CF_FROM_SIP_SUBNO_PP execute 1 MT_SET_NUMBER_SUB_PP execute 2 MT_SET_TON_SUB
complex-function CF_FROM_SIP_NATNO_PP execute 1 MT_SET_NUMBER_NAT_PP execute 2 MT_SET_TON_NAT
complex-function CF_FROM_SIP_UNKNO_PMP execute 1 MT_SET_NUMBER_UNK_PMP execute 2 MT_SET_TON_UNK
complex-function CF_FROM_SIP_SUBNO_PMP execute 1 MT_SET_NUMBER_SUB_PMP execute 2 MT_SET_TON_SUB
complex-function CF_FROM_SIP_NATNO_PMP execute 1 MT_SET_NUMBER_NAT_PMP execute 2 MT_SET_TON_NAT
interface isdn IF_ISDN_1 route call dest-service QoS_LOG.ethernet_PP network-type public isdn-date-time
interface isdn IF_ISDN_2 route call dest-service QoS_LOG.ethernet_PP network-type public isdn-date-time
interface isdn IF_ISDN_3 route call dest-service QoS_LOG.ethernet_PP network-type public isdn-date-time
interface sip IF_SIP_PP bind context sip-gateway voipgate route call dest-table RT_TO_ISDN remote register.voipgate.com local register.voipgate.com hold-method direction-attribute aoc-d accept overlap-dialing new-transaction accept overlap-dialing new-transaction emit privacy address-translation outgoing-call from-header user-part fix 352123456780 host-part fix register.voipgate.com address-translation incoming-call called-e164 to-header use profile voip voice
interface sip IF_SIP_DATA_PP bind context sip-gateway voipgate remote register.voipgate.com local register.voipgate.com hold-method direction-attribute aoc-d accept overlap-dialing new-transaction accept overlap-dialing new-transaction emit privacy address-translation outgoing-call from-header user-part fix 352123456780 host-part fix register.voipgate.com address-translation incoming-call called-e164 to-header use profile voip data
interface sip IF_SIP_MODEM_PP bind context sip-gateway voipgate remote register.voipgate.com local register.voipgate.com hold-method direction-attribute aoc-d accept overlap-dialing new-transaction accept overlap-dialing new-transaction emit privacy address-translation outgoing-call from-header user-part fix 352123456780 host-part fix register.voipgate.com address-translation incoming-call called-e164 to-header use profile voip modem
interface sip IF_SIP_PMP bind context sip-gateway voipgate remote register.voipgate.com local register.voipgate.com hold-method direction-attribute aoc-d accept overlap-dialing new-transaction accept overlap-dialing new-transaction emit privacy address-translation incoming-call called-e164 to-header use profile voip voice
interface sip IF_SIP_DATA_PMP bind context sip-gateway voipgate remote register.voipgate.com local register.voipgate.com hold-method direction-attribute aoc-d accept overlap-dialing new-transaction accept overlap-dialing new-transaction emit privacy address-translation incoming-call called-e164 to-header use profile voip data interface sip IF_SIP_MODEM_PMP bind context sip-gateway voipgate remote register.voipgate.com local register.voipgate.com hold-method direction-attribute aoc-d accept overlap-dialing new-transaction accept overlap-dialing new-transaction emit privacy address-translation incoming-call called-e164 to-header use profile voip modem
service hunt-group HG_SIP2PBX timeout 2 drop-cause normal-unspecified drop-cause no-circuit-channel-available drop-cause network-out-of-order drop-cause temporary-failure drop-cause switching-equipment-congestion drop-cause access-info-discarded drop-cause circuit-channel-not-available drop-cause resources-unavailable drop-cause channel-does-not-exist drop-cause user-busy unavailable drop transparent route call 1 dest-interface IF_ISDN_1 route call 2 dest-interface IF_ISDN_2 route call 3 dest-interface IF_ISDN_3
service aaa QoS_LOG accounting use profile aaa default
port ISDN_HG route call dest-service HG_SIP2PBX
port ethernet_PP route call dest-table RT_FROM_ISDN_1_PP
port ethernet_PMP route call dest-table RT_FROM_ISDN_1_PMP
authentication-service auth realm 1 register.voipgate.com username 352123456780 password password
location-service voipgate domain 1 register.voipgate.com 5060
identity-group register
authentication outbound authenticate none
registration outbound registrar register.voipgate.com 5060 proxy 1 register.voipgate.com 5060 lifetime 3600 register auto retry-timeout on-system-error 10 retry-timeout on-client-error 10 retry-timeout on-server-error 10 call outbound proxy 1 register.voipgate.com 5060 traffic-class local-voice identity 352123456780 inherits register
authentication outbound authenticate 1 authentication-service auth username 352123456780 context sip-gateway voipgate interface sip_interface bind interface WAN context router port 5060
context sip-gateway voipgate bind location-service voipgate no shutdown
port ethernet 0 0 medium auto encapsulation ip bind interface WAN router no shutdown
port ethernet 0 1 medium auto encapsulation ip bind interface LAN router no shutdown
port bri 0 0 clock master encapsulation q921 q921 permanent-layer2 protocol pp uni-side net encapsulation q931 q931 protocol dss1 uni-side net bchan-number-order ascending encapsulation cc-isdn bind interface IF_ISDN_1 switch port bri 0 0 no shutdown
port bri 0 1 clock master encapsulation q921 q921 permanent-layer2 protocol pp uni-side net encapsulation q931 q931 protocol dss1 uni-side net bchan-number-order ascending encapsulation cc-isdn bind interface IF_ISDN_2 switch port bri 0 1 no shutdown
port bri 0 2 clock master encapsulation q921 q921 permanent-layer2 protocol pp uni-side net encapsulation q931 q931 protocol dss1 uni-side net bchan-number-order ascending encapsulation cc-isdn bind interface IF_ISDN_3 switch port bri 0 2 no shutdown
|