Transcription

Cisco ISDN PRI to SIP GatewaySupported features Full ISDN E1 emulation Early media support Inbound calling. Type SIP REGISTERED TRUNK Outbound Calling ISDN PRI equivalent Secure Calling via SIP Encrypt platform availableCisco Platforms ratified: Cisco 2800, 3800 Cisco 2900, 3900 Cisco AS5300 Cisco AS5350XM Cisco AS5400 Cisco AS5400XM Cisco UC560 T1/E1 varient (Single E1 only) **Cisco router chassis requires PVDM resource, voice enabled E1 cards and voice feature enabledsoftware / licence.UC560-T1/E1 is a ‘Small Business’ PBX and contains a PVDM2-64 and a single E1 card. Thisdevice has all the components needed for an ISDN to SIP Gateway, (or as a voice gateway forthe BE6000).E1 presentation of Cisco E1 line cards is wired as “CPE” side. To emulate the ISDN Network atLayer1 – use an E1 cross over cable made by swapping pins 1,4 and 2,5Example configuration snippits were configured on a 2821 router with x2 VWIC2-2MFT-T1/E1and x3 PVDM2-64. Recommended IOS version is 12.4(24)T3 and later.

Step one: Configure VoIP.co.uk portal for inbound calling type: SIPREGISTERED TRUNKCreate a SIP account for the Cisco router. A SIP Account is a username / password pair which aSIP phone / endpoint uses to authenticate itself.1. On the my.voip.co.uk portal, click on SIP-AOR and create a SIP account for the Cisco router.Give the SIP account a meaningful name – like “My Cisco gateway”. Also make sure thepassword is complex.2. Click on dashboard and then “Incoming targets”. Create a New Incoming Target; TYPE:SIP REGISTERED TRUNK and again call the incoming target something meaningful – “suchas Route calls to my Cisco gateway”. It is recommended that the alphanumeric characters“AAA” are pre-pended to an incoming call to facilitate call routing on the ISDN/SIP gateway.The Registered Trunk should contain the user template: “AAA {e164}”3. Click on the new incoming target and add in the new SIP account you just created.4. Click on Dashboard / Phone numbers and configure a telephone number to route calls to yournew incoming target.Step Two. Setup E1 cards1. Most Cisco E1 cards are T1/E1 capable and they need to be set for E1 (Europe)!card type e1 0 0card type e1 0 1!network-clock-participate wic 0network-clock-participate wic 1network-clock-select 5 E1 0/0/0network-clock-select 6 E1 0/0/1!

Step Three. Create 30 channels on each E1!controller E1 0/0/0pri-group timeslots 1-31!controller E1 0/0/1pri-group timeslots 1-31!controller E1 0/1/0pri-group timeslots 1-31!controller E1 0/1/1pri-group timeslots 1-31!interface Serial0/0/0:15description “use dial-peer voice 10″no ip addressencapsulation hdlcisdn switch-type primary-net5isdn timer T309 400000isdn protocol-emulate networkisdn incoming-voice modemisdn send-alertingisdn sending-completeno cdp enable!interface Serial0/0/1:15description “use dial-peer voice 11″no ip addressencapsulation hdlcisdn switch-type primary-net5isdn timer T309 400000isdn protocol-emulate networkisdn incoming-voice modemisdn send-alertingisdn sending-completeno cdp enable!interface Serial0/1/0:15description “use dial-peer voice 12″no ip addressencapsulation hdlc

isdn switch-type primary-net5isdn timer T309 400000isdn protocol-emulate networkisdn incoming-voice modemisdn send-alertingisdn sending-completeno cdp enable!interface Serial0/1/1:15description “use dial-peer voice 13″no ip addressencapsulation hdlcisdn switch-type primary-net5isdn timer T309 400000isdn protocol-emulate networkisdn incoming-voice modemisdn send-alertingisdn sending-completeno cdp enable!Step 4 – Configure region cadence!voice-port 0/0/0:15cptone GBbearer-cap Speech!voice-port 0/1/0:15cptone GBbearer-cap Speech!voice-port 0/0/1:15cptone GBbearer-cap Speech!voice-port 0/1/1:15cptone GBbearer-cap Speech!

Step 5 – Configure router with Basic SIP settings!sip-uaauthentication username SIP username created in Step 1 password SIP password in step 1 credentials username SIP username created in Step 1 password SIP password in step 1 realm proxy.voip.co.ukretry invite 2registrar dns:proxy.voip.co.uk expires 120sip-server dns:proxy.voip.co.uk!voice class codec 1codec preference 1 g711alawcodec preference 2 g711ulawcodec preference 3 g729r8!Step 6 – ISDN to SIP call routingInbound POTS dial-peer to accept calls from ISDN!dial-peer voice 9 potsdescription incoming pots dial-peertranslation-profile incoming isdn-to-voipincoming called-number . direct-inward-dialno sip-register!Outbound VoIP dial-peer to route calls to VoIP.co.uk!dial-peer voice 1 voipdescription “Outbound SIP”destination-pattern Tvoice-class codec 1session protocol sipv2session target sip-serverdtmf-relay rtp-ntefax-relay ecm disablefax nsf 000000fax protocol t38 ls-redundancy 3 hs-redundancy 1 fallback pass-through g711alaw

no vad!Step 7 – SIP to ISDNInbound VoIP dial-peer to accept calls from VoIP.co.ukdial-peer voice 997 voipdescription incoming voiprtp payload-type cisco-codec-fax-ind 124voice-class codec 1session protocol sipv2session target sip-serverincoming called-number AAA. dtmf-relay rtp-ntefax-relay ecm disablefax nsf 000000fax protocol t38 ls-redundancy 3 hs-redundancy 1 fallback pass-through g711alawno vad!Outbound POTS dial-peer to route calls to the ISDN PBX:!dial-peer voice 10 potsdescription POTS talking dial peer for E1 #0translation-profile outgoing voip-to-isdnpreference 1destination-pattern AAA. port 0/0/0:15no sip-register!dial-peer voice 11 potsdescription POTS talking dial peer for E1 #1translation-profile outgoing voip-to-isdnpreference 1destination-pattern AAA. port 0/0/1:15no sip-register!dial-peer voice 12 potsdescription POTS talking dial peer for E1 #2translation-profile outgoing voip-to-isdnpreference 1

destination-pattern AAA. port 0/1/0:15no sip-register!dial-peer voice 13 potsdescription POTS talking dial peer for E1 #3translation-profile outgoing voip-to-isdnpreference 1destination-pattern AAA. port 0/1/1:15no sip-register!IOS 15.0 and later (Toll fraud feature)voice service voipip address trusted listipv4 193.203.210.0 255.255.254.0Step 8 – Set up number translationsvoice translation-rule 501rule 1 / 44\(. \) / /\1/ type any national plan any isdnrule 3 / \ 44\(. \) / /\1/ type any national plan any isdnrule 10 /\(. \)/ /0\1/ type any national plan any isdn!voice translation-rule 601rule 1 / AAA44\(. \) / /\1/ type any national plan any isdnvoice translation-profile voip-to-isdntranslate calling 501translate called 601!Note: translation-rule 601 presents the 10 digit phone number to the PBX. It is normal in the UKfor BT to present either the full number minus the leading zero (cities) or the trailing 6 or 4 digits.Example: Phone number AAA1869222500 arrives on the gatewayTDM Gateway#test voice translation-rule 601 AAA441869222500Matched with rule 1Original number: AAA441869222500Translated number: 1869222500

Original number type: noneTranslated number type: nationalOriginal number plan: noneTranslated number plan: isdnTDM Gateway#To present the trailing six digits, rule 601 would be re-written:voice translation-rule 601rule 1 / AAA441869\(. \) / /\1/ type any national plan any isdnStep 9 – TestTest inbound and outbound telephony. Check:DTMF operationEarly Media Rinback tones “ring ring”Some older phone systems required an “ISDN alerting” message to be sent by the gateway.Unless specifically enabled the Ringback tone may be not heard by the PBX user when diallingout.!voice call send-alert!

Create a SIP account for the Cisco router. A SIP Account is a username / password pair which a SIP phone / endpoint uses to authenticate itself. 1. On the my.voip.co.uk portal, click on SIP-AOR and create a SIP account for the Cisco router. Give the SIP account a meaningful name – like “My Ci