Moblie

Friday, August 7, 2015

CME Configuration with SIP Phone 7841

CME v2 10.5 and  2921 Router  CUE 8.6

Note:
1. Configuration for Cisco SIP IP Phones
2. Configuration of  Voice dial Peer
3. Configuration Translation rule.
4. Basic Configuration CUE
5. DHCP and IP configuration
  _____________________________________

--------First Step ----------------


voice service voip
 allow-connections h323 to h323
 allow-connections h323 to sip
 allow-connections sip to h323
 allow-connections sip to sip
 no supplementary-service sip moved-temporarily
 no supplementary-service sip refer
 no supplementary-service sip handle-replaces
 fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback none
 sip
  bind control source-interface Vlan100
  bind media source-interface Vlan100
  registrar server
  no silent-discard untrusted

---------Second Step -------

voice register global
 mode  cme
 source-address 10.1.110.1 port 5060
 max-dn 10
 max-pool 10
 load 6921 cmterm-69xx-sip.9-4-1-3.cop.sgn
 load 7841 cmterm-78xx.10-3-1-12.k3.cop.sgn
 timezone 12
 hold-alert
 voicemail 299
 tftp-path flash:
 create profile

------Third Step-----------

voice register dn  1
 number 202
 call-forward b2bua busy 299 
 call-forward b2bua noan 299 timeout 18
 name Sebastian USERNAME-1
 label Sebastian USERNAME-1
 mwi
!
voice register dn  2
 number 203
 call-forward b2bua noan 299 timeout 18
 name Adriana USERNAME-2
 label Adriana USERNAME-2
 mwi

------Fourth Step ----------

!
voice register pool 1
 busy-trigger-per-button 1
 id mac 204C.9EB3.DA2D
 type 7841
 number 1 dn1
 dtmf-relay rtp-nte
 username USERNAME-1 password 123456
!
voice register pool 2
 busy-trigger-per-button 1
 id mac 204C.9EB3.D676
 type 7841
 number 1 dn 2
 dtmf-relay rtp-nte
 username USERNAME-2 password 123456

-------Fifth Step----Important ----

voice register global
 create profile
________________________________________

-------VOICE Port Configuration ----------

voice hunt-group 1 parallel
 final 299            // This is the Voicemail number
 list 202,203          // user will Recice the call
 timeout 30           // Call transfer to voicemail after time
 pilot 301
!

----------PSTN direct Number config------

I have only direct number or plane number .. NO ISDN , NO DID
----
!
trunk group DIRECT

!
voice-port 0/0/0
 trunk-group DIRECT
 connection plar opx 301
 description 2052611234  //MAIN Line 1
 caller-id enable
!
voice-port 0/0/1
 trunk-group DIRECT
 connection plar opx 301
 description 2052614567  //Line 2
 caller-id enable
!
voice-port 0/0/2
 trunk-group DIRECT
 connection plar opx 301
 description 2052616789  //Line 2
 caller-id enable


------Outgoing call Translation Rule--------


voice translation-rule 1
 rule 1 /^9/ //
!
!
voice translation-profile OutgoingProfile_1
 translate called 1

---------Voice Dial Pattren -----
dial-peer voice 1 pots
 trunkgroup DIRECT
 description Local
 translation-profile outgoing OutgoingProfile_1
 destination-pattern 9[2-9].........
 forward-digits all
!
dial-peer voice 2 pots
 trunkgroup DIRECT
 description National Long Distance
 translation-profile outgoing OutgoingProfile_1
 destination-pattern 91[2-9]..[2-9]......
 forward-digits all
!
dial-peer voice 3 pots
 trunkgroup DIRECT
 description International
 translation-profile outgoing OutgoingProfile_1
 destination-pattern 9011T
 forward-digits all
!

-----Voicemail Dial-----
dial-peer voice 4 voip
 destination-pattern 299
 session protocol sipv2
 session target ipv4:10.1.110.2
 dtmf-relay sip-notify
 codec g711ulaw
 no vad
!
dial-peer voice 5 voip
 destination-pattern 300
 session protocol sipv2
 session target ipv4:10.1.110.2
 dtmf-relay sip-notify
 codec g711ulaw
 no vad


--------------CUE IP Integration-------------
sip-ua
 mwi-server ipv4:10.1.110.2 expires 3600 port 5060 transport udp


interface ISM0/0
 description CUE
 ip unnumbered Vlan100
 ip nat inside
 ip virtual-reassembly in
 service-module ip address 10.1.110.2 255.255.255.0
 !Application: CUE Running on ISM
 service-module ip default-gateway 10.1.110.1

interface Vlan100
 ip address 10.1.110.1 255.255.255.0
 ip nat inside
 ip virtual-reassembly in

ip route 10.1.110.2 255.255.255.255 ISM0/0
!

-------DHCP For Voice ---------

ip dhcp pool Voice
 import all
 network 10.1.110.0 255.255.255.0
 option 150 ip 10.1.110.1
 default-router 10.1.110.1
!

-----------------Done-----------



No comments:

Post a Comment