The following configuration file example is known to work when configuring sipX with a Cisco SIP ISDN Gateway setup. You must replace parameters within the file (e.g., sip-server dns:servername.com) with your site specific parameters when you copy the file through a terminal window into the Cisco Gateway.
!You have to configure your Serial Interface. As an example, you can configure the !serial interface as 5ess. isdn switch-type primary-5ess ! template mon ! voice call carrier capacity active voice rtp send-recv ! voice service voip sip ! Define the codecs you will be using. ! voice class codec 1 codec preference 1 g711ulaw codec preference 2 g729br8 ! !As indicated in the steps above, introducing this example file, the following is relevant for a T1 connection; your hardware may be different (e.g., you may have an E1 connection). no ip address no logging event link-status isdn switch-type primary-5ess isdn incoming-voice voice isdn send-alerting no cdp enable ! !You have to configure a dial peer to dial out of a specific interface. !Here, you will be dialing out T1 ports 0 through 23. The 7 digit !number will be prefixed by 1781 and sent out one of the T1 channels. !So if you dialed 5551212 your outgoing number would be 17815551212. ! ! dial-peer voice 20 pots huntstop application session destination-pattern .......$ port 1/0:23 forward-digits all prefix 1781 ! ! !For the voip calls you need to configure voip dial peers: ! Here all 3 digit calls will go to sip-server. dial-peer voice 200 voip huntstop application session destination-pattern ...$ rtp payload-type nte 98 voice-class codec 1 session protocol sipv2 session target sip-server dtmf-relay rtp-nte ! ! !The sip ua configuration will be similiar to what follows: ! sip-ua max-forwards 12 no oli sip-server dns:servername.com |