SRST for SCCP and SIP devices: Difference between revisions
Appearance
Created page with "==Enable SIP SRST voice service voip ip address trusted list ''ipv4 10.x.x.x 255.x.x.x'' ipv4 1.1.1.1 255.255.255.255 allow-connections h323 to h323 allow-connectio..." |
|||
| (6 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
==Enable SIP SRST | [[Category:IOS]] | ||
==Enable SIP SRST== | |||
voice service voip | voice service voip | ||
ip address trusted list | ip address trusted list | ||
| Line 28: | Line 29: | ||
codec g711alaw | codec g711alaw | ||
no vad | no vad | ||
---- | |||
- | ==Translation rules and -profiles== | ||
If the phones are configured with E.164 extension on the line you can use the following translation rules and profiles: | If the phones are configured with E.164 extension on the line you can use the following translation rules and profiles:== | ||
! | ! | ||
| Line 71: | Line 73: | ||
---- | ---- | ||
To provide MoH to the PSTN you need a Loopback interface: | ==Loopback Interface for MoH== | ||
To provide MoH to the PSTN you need a Loopback interface:== | |||
interface Loopback0 | interface Loopback0 | ||
| Line 78: | Line 81: | ||
ip pim sparse-mode | ip pim sparse-mode | ||
! | ! | ||
Check Multicast routing is enabled on the gateway and a MoH file is available. | Check Multicast routing is enabled on the gateway and a MoH file is available. Make sure 1.1.1.1 is not a used IP in your environment! | ||
---- | ---- | ||
| Line 102: | Line 105: | ||
---- | ---- | ||
Enabling SRST for SCCP devices: | ==Enabling SRST for SCCP devices:== | ||
call-manager-fallback | call-manager-fallback | ||
| Line 113: | Line 116: | ||
system message primary Notfallbetrieb | system message primary Notfallbetrieb | ||
system message secondary Notfallbetrieb | system message secondary Notfallbetrieb | ||
translation-profile incoming shortdial | |||
moh "flash:/music-on-hold.au" | moh "flash:/music-on-hold.au" | ||
multicast moh 239.1.1.1 port 16384 route 1.1.1.1 | multicast moh 239.1.1.1 port 16384 route 1.1.1.1 x.x.x.x | ||
time-zone 23 | time-zone 23 | ||
time-format 24 | time-format 24 | ||
date-format dd-mm-yy | date-format dd-mm-yy | ||
! | ! | ||
---- | |||
==MGCP Gateways== | |||
If the E1 / BRI interfaces are controlled by CUCM via MGCP you need: | |||
! | |||
application | |||
global | |||
service alternate default | |||
! | |||
! | |||
Latest revision as of 11:16, 7 February 2017
Enable SIP SRST
voice service voip ip address trusted list ipv4 10.x.x.x 255.x.x.x ipv4 1.1.1.1 255.255.255.255 allow-connections h323 to h323 allow-connections h323 to sip allow-connections sip to h323 allow-connections sip to sip no supplementary-service h225-notify cid-update fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback none sip bind control source-interface GigabitEthernet0/0 bind media source-interface GigabitEthernet0/0 registrar server expires max 600 min 60 ! ! voice register global timeouts interdigit 6 system message Primary Connection Lost max-dn 400 max-pool 100 ! voice register pool 10 translation-profile incoming shortdial id network 10.x.x.x mask 255.x.x.x dtmf-relay rtp-nte cisco-rtp sip-notify codec g711alaw no vad
Translation rules and -profiles
If the phones are configured with E.164 extension on the line you can use the following translation rules and profiles:==
! voice translation-rule 1 rule 1 // /+49711/ type subscriber subscriber rule 2 // /+49/ type national national rule 3 // /+/ type international international ! voice translation-rule 2 rule 1 /^xxxxx.../ /+49711&/ ! voice translation-rule 3 rule 1 /^\+49/ // type any national plan any isdn rule 2 /^\+/ // type any international plan any isdn ! voice translation-rule 4 rule 1 /^\+49711/ // rule 2 /^\+49/ /0/ rule 3 /^\+/ /00/ ! voice translation-rule 6 rule 1 /^[2-4]../ /+49711xxxxx&/ ! ! voice translation-profile incoming translate calling 1 translate called 2 ! voice translation-profile outgoing translate calling 3 translate called 4 ! voice translation-profile shortdial translate calling 5 translate called 6 !
The example works for Stuttgart Germany Office Code xxxxx
Loopback Interface for MoH
To provide MoH to the PSTN you need a Loopback interface:==
interface Loopback0 description MoH to PSTN ip address 1.1.1.1 255.255.255.255 ip pim sparse-mode !
Check Multicast routing is enabled on the gateway and a MoH file is available. Make sure 1.1.1.1 is not a used IP in your environment!
The following Dial Peers use 0 or + as PSTN access code:
! dial-peer voice 1 pots incoming called-number . direct-inward-dial ! dial-peer voice 100 pots description Outgoing Dial Peer destination-pattern 0T direct-inward-dial port 0/0/0:15 ! dial-peer voice 101 pots description Outgoing Dial Peer destination-pattern +T direct-inward-dial port 0/0/0:15 !
Enabling SRST for SCCP devices:
call-manager-fallback secondary-dialtone 0 max-conferences 8 gain -6 transfer-system full-consult ip source-address 10.14.2.1 port 2000 max-ephones 100 max-dn 400 system message primary Notfallbetrieb system message secondary Notfallbetrieb translation-profile incoming shortdial moh "flash:/music-on-hold.au" multicast moh 239.1.1.1 port 16384 route 1.1.1.1 x.x.x.x time-zone 23 time-format 24 date-format dd-mm-yy !
MGCP Gateways
If the E1 / BRI interfaces are controlled by CUCM via MGCP you need:
! application global service alternate default ! !