AS5300 Voice Gateway Configuration

Source: Internet
Author: User

I tried it for a friend a few days ago and pasted it to show it to everyone.

Sh run
Building configuration...

Current configuration: 4905 bytes

!
Version 12.2:
No service pad
No service timestamps debug uptime
No service timesta mps log uptime
Service password-encryption
No service dhcp
!
Hostname as5300-1
!
No logging rate-limit
Enable secret 5 $1 $3Br4 $ N9tSriHsHW4vg/A4O3kdL/
Enable password 7 070C2D494F1B0900161E
!
Username jtnet password 7 04511F39302F495A
!
!
Resource-pool disable
Resource-pool call treatment resource channel-not-available
!
Call rsvp-sync // RSVP call Synchronization
!
Call progress tone country china // the system time is the eighth time zone, Beijing time
Clock timezone china 8
Clock calendar-valid
Calltracker enable
Ip subnet-zero
No ip source-route
No ip domain-lookup
!
Isdn switch-type primary-net5 // ISDN switch type
Isdn voice-call-failure 0 // ISDN voice call failure is invalid
Isdn alert-end-to-end
Voice call send-alert // voice call sends an alarm
Voice rtp send-recv // real-time voice sending and receiving
!
Voice service voip // VOIP voice service
!
Voice class codec 88 // speech codec Classification
Codec preference 1 g729br8 // Level 1 Priority encoding/Decoding Method
Codec preference 2 g729r8 bytes 50 // Level 2 priority encoding/Decoding Method
Codec preference 3 g711alaw // Level 3 priority encoding/Decoding Method
Codec preference 4 g723ar53 // 4-level priority encoding/Decoding Method
Codec preference 5 g723ar63 bytes 144 // 5-level priority encoding/Decoding Method
Codec preference 6 g723r53 // 6-level priority encoding/Decoding Method
Codec preference 7 g723r63 bytes 120 // 7-level priority encoding/Decoding Method
Codec preference 8 g‑r16 // 8-level priority encoding/Decoding Method
Codec preference 9 g‑r24 // 9-level priority encoding/Decoding Method
Codec preference 10 g‑r32 // 10-level priority encoding/Decoding Method
Codec preference 11 g728 // 11-level priority encoding/Decoding Method
!
!
!
!
!
Fax interface-type modem // interface type of the fax machine modem
Mta receive maximum-recipients 1 // The maximum number of recipients received by the message transmission proxy is 1
Dial-control-mib retain-timer 60
Dial-control-mib max-size 1200
!
Controller E1 0 // configure E1 voice card 0
Framing NO-CRC4 // frame encoding method: NO-CRC4 encoding method (linecode): Default HDB3
Clock source line primary
Pri-group timeslots 1-31 // the PRI interface is divided into 31 channels. Among them, 16th channels (logical port s0: 15) are management channels.
!
Controller E1 1
Framing NO-CRC4
Clock source line secondary 1
Pri-group timeslots 1-31
!
Controller E1 2
Framing NO-CRC4
Clock source line secondary 2
Pri-group timeslots 1-31
!
Controller E1 3
Shutdown
Framing NO-CRC4
Clock source line secondary 3
Pri-group timeslots 1-31
!
Translation-rule 101 // conversion rule 101
Rule 0 any 55514400
!
Translation-rule 102 // conversion rule 102
Rule 0 any 55514401
!
Translation-rule 103
Rule 0 any 55514403
!
Translation-rule 104
Rule 0 any 88588858
!
Translation-rule 112
!
!
!
Interface Loopback0
No ip address
!
Interface Ethernet0
No ip address
No ip route-cache
No ip mroute-cache
Shutdown
No cdp enable
!
Interface Serial0
No ip address
No ip route-cache
No ip mroute-cache
Shutdown
No fair-queue
Clockrate 2015232
No cdp enable
!
Interface Serial1
No ip address
No ip route-cache
No ip mroute-cache
Shutdown
No fair-queue
Clockrate 2015232
No cdp enable
!
Interface serial
No ip address
No ip route-cache
No ip mroute-cache
Shutdown
No fair-queue
Clockrate 2015232
No cdp enable
!
Interface seri_3
No ip address
No ip route-cache
No ip mroute-cache
Shutdown
No fair-queue
Clockrate 2015232
No cdp enable
!
Interface Serial0: 15
No ip address
Isdn switch-type primary-net5
No fair-queue
No cdp enable
!
Interface Serial1: 15
No ip address
Isdn switch-type primary-net5
No fair-queue
No cdp enable
!
Interface serial: 15
No ip address
Isdn switch-type primary-net5
No fair-queue
No cdp enable
!
Interface seri_3: 15
No ip address
Isdn switch-type primary-net5
No fair-queue
No cdp enable
!
Interface FastEthernet0 // interface configuration of the Fast Ethernet Management Port
Ip address xxx. xxx 255.255.255.255.248 // configure the ip address and subnet mask of the Fast Ethernet NIC.
No ip route-cache
No ip mroute-cache
Duplex full
Speed100
No cdp enable
H323-gateway voip interface // h323 gateway VOIP connection
H323-gateway voip H323-ID AS5300 // h323 gateway VOIP connection h323ID AS5300
!
Ip classless
Ip route 0.0.0.0 0.0.0.0 xxx. xxx
Ip route 0.0.0.0 0.0.0.0 xxx. xxx
No ip http server
Ip pim bidir-enable
!
No logging trap
No cdp run
!
!
Voice-port 0: D // configure the analog voice port
Input gain 5
Output attenuation 11 // The output attenuation is 11.
Echo-cancel coverage 32 // echo offset coverage rate is 32
Cptone CN
!
Voice-port 1: D
Input gain-5
Output attenuation 11
Echo-cancel coverage 32
Cptone CN
!
Voice-port 2: D
Input gain 5
Output attenuation 11
Echo-cancel coverage 32
Cptone CN
!
Voice-port 3: D
Input gain 5
Output attenuation 11
Echo-cancel coverage 32
Cptone CN
!
Dial-peer voice 427 pots // defines the physical port from the dial peer to the voice.
Destination-pattern 88770081 T // assign a telephone number to the dial-up peer
Translate-outgoing calling 101 // The conversion outbound caller is 1
Port 2: D // define the voice port
Prefix 0081
!
Dial-peer voice 428 pots
Destination-pattern 55600081 T
Translate-outgoing calling 103
Port 2: D
Prefix 0081
!
Dial-peer voice 432 pots
Destination-pattern 55600081 T
Translate-outgoing calling 102
Port 1: D
Prefix 0081
!
Dial-peer voice 429 pots
Destination-pattern 88770 T
Port 2: D
Prefix 0
!
Dial-peer voice 500 pots
Destination-pattern 67890063 T
Port 0: D
Prefix 0063
!
Dial-peer voice 510 pots
Destination-pattern 55990063 T
Translate-outgoing calling 101
Port 2: D
Prefix 0063
!
Dial-peer voice 511 pots
Destination-pattern 559900639 T
Translate-outgoing calling 101
Port 1: D
Prefix 00639
!
Dial-peer voice 513 pots
Destination-pattern 5580008869 T
Translate-outgoing calling 101
Prefix 008869
!
Dial-peer voice 600 pots
Destination-pattern 17811 T
Port 0: D
Prefix 00
!
Dial-peer voice 601 pots
Destination-pattern 17811 T
Port 1: D
Prefix 00
!
Gateway
!
Alias exec VA show call act voi br
!
Line con 0
Exec-timeout 5 0
Line aux 0
Exec-timeout 5 0
Line vty 0 4
Exec-timeout 5 0
Password 7 030555130F0174111c
Login
!
Scheduler interval 1000
End

As5300-1 #

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.