Cisco IOS - IP Auth SIP Trunk Config with Dial-Peers
Click here for sample data !------------------------------------ !-- SIP Provider Config !------------------------------------ voice service voip ip address trusted list ipv4 [[SIP Proxy]] no supplementary-service sip moved-temporarily no supplementary-service sip refer no supplementary-service sip handle-replaces !------------------------------------ !-- From SIP Provider !------------------------------------ voice class codec 1 codec preference 1 g711ulaw codec preference 2 g729r8 codec preference 3 g711alaw codec preference 4 ilbc voice class uri siptrunk sip host ^[[SIP Proxy]]$ dial-peer voice 20 voip description Inbound voip dial-peer for calls from SIP Trunk session protocol sipv2 incoming uri from siptrunk voice-class codec 1 dtmf-relay rtp-nte no vad ! !------------------------------------ !-- To SIP Provider !------------------------------------ voice translation-rule 3 voice translation-rule 4 ! voice translation-profile UCM-to-PSTN translate calling 3 translate called 4 dial-peer voice 51 voip description 10-Digit Local translation-profile outgoing UCM-to-PSTN destination-pattern [2-9]..[2-9]......$ session protocol sipv2 session target ipv4:[[SIP Proxy]] dtmf-relay rtp-nte voice-class codec 1 voice-class sip bind control source-interface [[Outside Interface]] voice-class sip bind media source-interface [[Outside Interface]] dial-peer voice 52 voip description 7-Digit Local translation-profile outgoing UCM-to-PSTN destination-pattern [2-9]......$ session protocol sipv2 session target ipv4:[[SIP Proxy]] dtmf-relay rtp-nte voice-class codec 1 voice-class sip bind control source-interface [[Outside Interface]] voice-class sip bind media source-interface [[Outside Interface]] dial-peer voice 53 voip description 10-Digit Local translation-profile outgoing UCM-to-PSTN destination-pattern 011.T session protocol sipv2 session target ipv4:[[SIP Proxy]] dtmf-relay rtp-nte voice-class codec 1 voice-class sip bind control source-interface [[Outside Interface]] voice-class sip bind media source-interface [[Outside Interface]] dial-peer voice 54 voip description 911 preference 1 translation-profile outgoing UCM-to-PSTN destination-pattern 911 session protocol sipv2 session target ipv4:[[SIP Proxy]] dtmf-relay rtp-nte voice-class codec 1 voice-class sip bind control source-interface [[Outside Interface]] voice-class sip bind media source-interface [[Outside Interface]]



SIP Proxy:
Outside Interface:


Use this code to post the full script to your own page:



Use this code to post only the variables to your own page: