Can I use my Cisco CallManager Express IP Phone system? |
Article ID: 125 |
Created On: 26 Aug 2005 |
Yes, here is a known working configuration to help you get started on configuring your CCME to work with ViaTalk's service: ! enable secret xxxxxx ! no aaa new-model clock timezone xxx -x no network-clock-participate slot 1 no network-clock-participate wic 0 ip cef ! ! ! If you plan to use session target dns: in your dial peers ! you will need to enter a valid name server here (dns) ip name-server x.x.x.x ! ! voice service voip ! Identify SIP as your primary voice service sip ! Bind SIP media and control traffic to F0/0 bind control source-interface FastEthernet0/0 bind media source-interface FastEthernet0/0 ! voice translation-rule 1 rule 1 /9911/ /911/ rule 2 /9411/ /411/ ! ! Replace xxx with your local area code voice translation-rule 2 rule 1 /9xxx+/ /xxx/ ! ! Matching 7 digit dialing voice translation-rule 3 rule 1 /9+/ // ! ! Matching 11 digit long distance voice translation-rule 4 rule 1 /91+/ /1/ ! ! Matching International Dialing voice translation-rule 5 rule 1 /9011+/ /011/ ! ! This rule is used to convert the incoming 11 digit number to a four digit extension voice translation-rule 6 rule 1 /1xxxxxxxxxx/ /xxxx/ ! ! Translate any extension using this SIP trunk to the full 11 digit account number ! Without this outgoing calls will fail voice translation-rule 7 rule 1 /1.../ /1xxxxxxxxxx/ ! ! Translation Profiles configured for ease of identification in the dial peers ! Translation is configured for the calling party to translate the extension to ! the full 11 digit SIP trunk account number voice translation-profile Services translate calling 7 translate called 1 ! voice translation-profile Local10 translate calling 7 translate called 2 ! voice translation-profile Local7 translate calling 7 translate called 3 ! voice translation-profile LongDistance translate calling 7 translate called 4 ! voice translation-profile International translate calling 7 translate called 5 ! voice translation-profile Incoming translate calling 7 translate called 6 ! ! interface FastEthernet0/0 ip address x.x.x.x 255.255.255.x speed 100 full-duplex ! ip route 0.0.0.0 0.0.0.0 x.x.x.x ! no ip http server ! ! dial-peer voice 10 voip translation-profile outgoing Services destination-pattern 9[49]11 session protocol sipv2 session target dns:server.vtnoc.net dtmf-relay rtp-nte codec g711ulaw ! dial-peer voice 11 voip translation-profile outgoing Local10 destination-pattern 9xxx[2-9]...... session protocol sipv2 session target dns:server.vtnoc.net dtmf-relay rtp-nte codec g711ulaw ! dial-peer voice 12 voip translation-profile outgoing Local7 destination-pattern 9[2-9]...... session protocol sipv2 session target dns:server.vtnoc.net incoming called-number . dtmf-relay rtp-nte codec g711ulaw ! dial-peer voice 13 voip translation-profile outgoing LongDistance destination-pattern 91[2-9]..[2-9]...... session protocol sipv2 session target dns:server.vtnoc.net dtmf-relay rtp-nte codec g711ulaw ! dial-peer voice 14 voip translation-profile outgoing International destination-pattern 9011T session protocol sipv2 session target dns:server.vtnoc.net dtmf-relay rtp-nte codec g711ulaw ! dial-peer voice 15 voip description Viatalk Voicemail destination-pattern *123 session protocol sipv2 session target dns:server.vtnoc.net codec g711ulaw ! dial-peer voice 16 voip description Set Caller ID to Anonymous for one call destination-pattern *67 session protocol sipv2 session target dns:server.vtnoc.net dtmf-relay rtp-nte codec g711ulaw ! dial-peer voice 17 voip description Unblock CallerID information destination-pattern *82 session protocol sipv2 session target dns:server.vtnoc.net dtmf-relay rtp-nte codec g711ulaw ! dial-peer voice 18 voip description Call Back The last incoming caller destination-pattern *69 session protocol sipv2 session target dns:server.vtnoc.net dtmf-relay rtp-nte codec g711ulaw ! dial-peer voice 19 voip description Broadcast Menu/Record Broadcast Messages destination-pattern *400 session protocol sipv2 session target dns:server.vtnoc.net dtmf-relay rtp-nte codec g711ulaw ! ! sip-ua authentication username 1xxxxxxxxx password yourpwd no remote-party-id mwi-server dns:server.vtnoc.net expires 300 port 5060 transport udp registrar dns:server.vtnoc.net expires 300 sip-server dns:server.vtnoc.net ! ! gatekeeper shutdown ! telephony-service load 7960-7940 P00303020214 max-ephones 10 max-dn 20 ip source-address x.x.x.x port 2000 time-zone 13 voicemail *123 max-conferences 4 gain -6 call-forward pattern .T moh flash:genericmusiconholdfile.au transfer-system full-consult transfer-pattern .T secondary-dialtone 9 ! ! ephone-dn 1 dual-line number xxxx no-reg primary ! ephone 1 mac-address xxxx.xxxx.xxxx button 1:1 ! ephone-dn 2 number 1xxxxxxxxxx call-forward all xxxx ! |