r)# destination-pattern 9[2-9]11 And another that allows for international calls (from the US): R1-PBX(config-dial-peer)# destination-pattern 9011T At this point, our system is capable of sending and receiving calls over the SIP trunk. If someone calls either number provided to us, extension 133 will ring. If a user dials any properly formed phone number, it will forward out the SIP trunk. Users can extension-to-extension with ease, and voicemail works all around. Troubleshooting Troubleshooting VoIP and SIP on CME is pretty straightforward, but as with any fea- ture on Cisco equipment, you need to know the magic commands that show the useful bits of information. Phone Registration When phones register properly, they will generate console messages, which you can see through Telnet or SSH if you've issued the terminal monitor command. Here are the console messages that resulted when I turned on my softphone: Feb 3 01:44:52.667: %IPPHONE-6-UNREGISTER NORMAL: ephone-10:SEP001C42D15650 IP: 192.168.10.1 Socket: DeviceType: Phone has unregistered normally. Feb 3 01:45:32.264: %IPPHONE-6-REG_ALARM: 25: Name=SEP001C42D1565D Load= 7.0.5.0 Last=Initialized Feb 3 01:45:32.268: %IPPHONE-6-REGISTER: ephone-10:SEP001C42D1565D IP:10.211.55.11 Socket:8 DeviceType: Phone has registered. Here's the message that resulted when I stopped the program without properly shutting it down (similar to unplugging an IP phone): Feb 3 02:08:03.692: %IPPHONE-6-UNREGISTER ABNORMAL: ephone-10:SEP001C42D1565D IP: 192.168.10.1 Socket: DeviceType:Phone has unregistered abnormally. To see if your ephones are properly registered, use the show ephone command. Here, you can see that the first two configured ephones are not registered, but the third phone has registered properly. You can see which buttons are configured, which numbers are assigned to those buttons, and in what way: R1-PBX#sho ephone ephone-1[0] Mac:0019.AA96.D096 TCP socket: [-1] activeLine:0 whisperLine:0 UNREGISTERED mediaActive:0 whisper_mediaActive:0 startMedia:0 offhook:0 ringing:0 