Showing posts with label Callmanager Express. Show all posts
Showing posts with label Callmanager Express. Show all posts

Tuesday, June 14, 2011

Sccp and sip phone registration

SCCP phones registration:

telephony-service

ephone

ephone-dn

ephone-template


SIP phones registration:

voice register global

voice register pool

voice register dn

voice register template

Monday, April 18, 2011

Extension mobility on CME

Hello,

In order to do extension mobility, you must first create the extension:
ephone-dn  18
 number 5002
 description Extension for mobility
 name Extension mobility

The we must create user profile and user logout profile:
voice logout-profile 1
 user test password 7911
 number 6000 type feature-ring  //extension to assign to the phone after logout
!
voice user-profile 2
 pin 1111
 user user password 1111
 number 5002 type normal //extension to assign to the phone

The final step is to assign the logout profile to a phone:
ephone  6
 device-security-mode none
 description Phone Extension mobility
 mac-address xxxx.xxxx.xxxx
 type 7911
 logout-profile 1

Monday, April 4, 2011

CME b-acd script how to

I'll show you how to configure b-acd script on cme version 7.0. I used a 2811 router with ios version 12.4(13r)T.
This script is used to do a mini callcenter with callmanager express.
I downloaded b-acd-2.1.2.3 script from cisco and copied to router flash by tftp.
Then i defined 1235 and 1236 as 2 hunt groups:
ephone-hunt 1 longest-idle
 pilot 1235
 list 1002, 1115 #those are the extensions
!
ephone-hunt 2 longest-idle
 pilot 1236
 list 1003, 1116

This is the working script:

application
 service callcenter_queue flash:cme-b-acd-2.1.2.3/app-b-acd-2.1.2.3.tcl
  param queue-len 10
  param aa-hunt0 1235
  param aa-hunt1 1236
  param queue-manager-debugs 1
  param number-of-hunt-grps 2
 !
 service callcenter_aa flash:cme-b-acd-2.1.2.3/app-b-acd-aa-2.1.2.3.tcl
  paramspace english index 1
  param call-retry-timer 15
  param service-name callcenter_queue
  paramspace english language en
  param second-greeting-time 60
  paramspace english location flash:cme-b-acd-2.1.2.3/
  param max-time-vm-retry 2
  param voice-mail 5003
  param max-time-call-retry 700
  param aa-pilot 1234
  param number-of-hunt-grps 2
  param dial-by-extension-option 3
  param handoff-string callcenter_aa
  param welcome-prompt flash:cme-b-acd-2.1.2.3/en_bacd_welcome.au

Dial-peer made for reaching the script pilot (1234) is:

dial-peer voice 22222 voip
 service callcenter_aa
 destination-pattern 1234
 session target ipv4:192.168.1.1 #this is the loopback address of the router
 incoming called-number 1234
 dtmf-relay rtp-nte
 codec g711ulaw
 no vad

To make things happen, you have to also assign the moh file:
telephony-service
 moh flash:cme-b-acd-2.1.2.3/en_bacd_music_on_hold.au

 The debug commands that i used were:
 debug voip application script
 debug voip application tcl
  If you have any questions feel free to ask and i'll answer you as soon as possible.

Thursday, March 10, 2011

Night service feature configuration

Night service bell feature activated on a phone means that if that phone is called in a preconfigured interval of time, another phone will be notified of this. This are the lines of configuration in cme:

telephony-service
night-service code *12345           //a code user to activate/deactivate night service
night-service day Mon 18:00 09:00      //interval of time when night service is active

ephone-dn 1
night-service bell              //the line to monitor

ephone 2
night-service bell             //the phone to notify

If we want to also callforward the call, not just notify:
ephone-dn 1
call-forward night-service other-phone-dn

Friday, March 4, 2011

CME sip phone registration how to

Hello,

The configuration below is running on CME and it was tested with X-lite sip phone.

voice service voip
   allow-connections sip to sip //Allows SIP phones to call other SIP phones
   sip
   registrar server

voice register global
    mode cme
    source-address 10.1.1.80 port 5060 //cme ip and default sip port
    authenticate register
    tftp-path flash:
    create profile

voice register dn  1
    number 4001
    name SIPtest

voice register pool  1
    id mac 000A.E4C4.E777 //phone mac
    number 1 dn 1
    username 4001 password test //sip username and password
    codec g711ulaw

X-lite phone configuration is below. Pay attention that authentication username and registration number must be the same, eg 4001.

Debug commands i used on router are:
debug voice register events and debug voice register errors

Friday, January 28, 2011

How to implement restrictions in Call Manager Express

COR lists are assigned to dial-peers or ephone dns.
There are incoming and outgoing cor lists.
The incoming call list is matched against the outgoing. The call will be routed only if the outgoing call list is a subset of incoming cor list.
This is a great article from Cisco:
http://www.cisco.com/en/US/tech/tk652/tk90/technologies_configuration_example09186a008019d649.shtml
For those who have a background with Call Manager, the similarities of concepts between CME and CM are in the "COR vs Cisco CallManager" section of the article.