Archive for the ‘Callmanager Express’ Category

Usually you call the B-ACD application by matching the incoming dial-peer and calling the application using the service command. You can also set it so that you can call from IP Phones and FXO ports directly to AA application

dial-peer voice 10 voip
destination-pattern 1000 (this is the pilot number defined in AA)
codec g711ulaw
session-target ipv4:10.1.1.1 (use a loopback address of the router so that the dial-peer will always stay up)

dial-peer voice 11 voip
incoming called-number 1000
codec g711ulaw
service aa (this dial-peer will invoke the aa application)

If you monitor calls you can actually see three legs for the calls. See below

Telephony call-legs: 1
SIP call-legs: 0
H323 call-legs: 2
Call agent controlled call-legs: 0
SCCP call-legs: 0
Multicast call-legs: 0
Total call-legs: 3

13DD : 403 633897060ms.1 +1490 pid:20011 Answer 5004 active
dur 00:00:11 tx:0/0 rx:543/86880
Tele 50/0/7 (403) [50/0/7.0] tx:9320/9320/0ms g711ulaw noise:0 acom:0 i/0:0/0 dBm

13DD : 404 633898520ms.1 +30 pid:204 Originate 5060 active
dur 00:00:11 tx:543/86880 rx:316/50560
IP 10.200.200.250:17668 SRTP: off rtt:0ms pl:0/0ms lost:0/0/0 delay:0/0/0ms g711ulaw
media inactive detected:n media contrl rcvd:n/a timestamp:n/a

13DD : 405 633898530ms.1 +10 pid:205 Answer 5004 active
dur 00:00:11 tx:316/50560 rx:543/86880
IP 10.200.200.250:19166 SRTP: off rtt:0ms pl:0/0ms lost:0/0/0 delay:0/0/0ms g711ulaw
media inactive detected:n media contrl rcvd:n/a timestamp:n/a

You can use transcoding resources available on a separate chassis with CME. You can go upto 5 sdspfarm sessions. CME will share all available resources.

CME configs:

ip source-address 10.1.11.4 port 2000 ———– 10.1.11.4 is the CME router.

sdspfarm units 2
sdspfarm transcode sessions 2
sdspfarm tag 1 mtp0013c3443150 —- this transcoder is on the same box as CME. Lets call this trancoder 1. This is on NM-HDV2
sdspfarm tag 2 mtp0009b7da6540 —- this transcoder is on a different box. Lets call this transcoder 2. This is on NM-HDV

Transcoder 1 configs:

voice-card 1
dspfarm
dsp service dspfarm

sccp local FastEthernet0/0
sccp ccm 10.1.11.4 identifier 1
sccp
!
sccp ccm group 1
associate ccm 1 priority 1
associate profile 1 register mtp0013c3443150
!
dspfarm profile 1 transcode
codec g711ulaw
codec g711alaw
codec g729ar8
codec g729abr8
codec gsmfr
codec g729r8
codec g729br8  ————— g729r8 and g729br8 are not there by default
maximum sessions 1
associate application SCCP

Transcoder 2 configs:

voice-card 1
dsp service dspfarm

sccp local FastEthernet0/0
sccp
sccp ccm 10.10.10.1 priority 1
!
dspfarm transcoder maximum sessions 4
dspfarm
!

Two calls were placed to force the transcoding and CME did utilize each transcoder (The number of transcoding sessions per transcoder was set to 1)

sh sccp connection output on Transcoder 1: (call1)

PSTNSw#sh sccp conn
sess_id conn_id stype mode codec ripaddr rport sport

1 1 xcode sendrecv g729 10.1.11.4 2000 17040
1 2 xcode sendrecv g711u 10.1.11.4 2000 16416

Total number of active session(s) 1, and connection(s) 2
sh sccp connection output on Transcoder 2: (call2)

br2#sh sccp conn
sess_id conn_id stype mode codec ripaddr rport sport

3 3 xcode sendrecv g729 10.1.11.4 2000 18014
3 4 xcode sendrecv g711u 10.1.11.4 2000 19080

Total number of active session(s) 1, and connection(s) 2

Scenario 1

Two phones need to have a shared line. When a call is answered on the first phone and a second call comes in to the shared line, you need to have the call ring at second phone with no call waiting on the first.

ephone-dn 1
number 3001
huntstop channel
no huntstop

ephone-dn 2
number 3001
huntstop channel
preference 1
ephone 1
button 1o1,2

ephone 2
button 1o1,2

Scenario 2

Two phones need to have a shared line. When a call is answered on the first phone and a second call comes in to the shared line, you need to have the call ring at second phone with call waiting on the first.

ephone-dn 1
number 3001
huntstop channel
no huntstop

ephone-dn 2
number 3001
huntstop channel
preference 1
ephone 1
button 1c1,2

ephone 2
button 1c1,2

B-ACD Queue-Debugs

Posted: July 17, 2006 by sankar in Callmanager Express

Give param queue-manager-debugs 1 and from privilege mode, “debug voip application script”.

 Site2#
*Jul 17 00:44:53.311: //89//TCL :/tcl_PutsObjCmd:
proc init_perCallvars
*Jul 17 00:44:53.311:
*Jul 17 00:44:53.323: //89//TCL :/tcl_PutsObjCmd: TCL AA: ++ Playing Welcome Prompt and options menu ++
*Jul 17 00:44:58.383: //89//TCL :/tcl_PutsObjCmd: TCL AA: +++ No option selected +++
*Jul 17 00:44:58.455: //40//TCL :/tcl_PutsObjCmd: TCL B-ACD:  >>> B-ACD Service Running <<<
*Jul 17 00:45:06.699: //40//TCL :/tcl_PutsObjCmd: TCL B-ACD: +++ New incoming call to queue 3210 +++
*Jul 17 00:45:06.703: //40//TCL :/tcl_PutsObjCmd: TCL B-ACD:  >>> THE QUEUE IS {TclModule_2227448556_0_5762376 {CALL_NEW} {1153097106}} <<<
*Jul 17 00:45:06.703: //40//TCL :/tcl_PutsObjCmd: TCL B-ACD: +++ 3210 Queue Length = 1 +++
*Jul 17 00:45:06.719: //89//TCL :/tcl_PutsObjCmd: TCL AA: >>> Destination Huntgroup = 3210 <<<
*Jul 17 00:45:06.747: //40//TCL :/tcl_PutsObjCmd: TCL B-ACD:  >>> THE QUEUE IS {TclModule_2227448556_0_5762376 {CALL_PROGRESS} {1153097106}} <<<
*Jul 17 00:45:06.767: //89//TCL :/tcl_PutsObjCmd: TCL AA: — MEDIA STATUS = ms_001 —
*Jul 17 00:45:06.767: //89//TCL :/tcl_PutsObjCmd: TCL AA: — ERROR: Unable to play prompt; File not found —
*Jul 17 00:45:06.771: //89//TCL :/tcl_PutsObjCmd: TCL AA: +++ Playing MOH +++
*Jul 17 00:45:16.699: //40//TCL :/tcl_PutsObjCmd: TCL B-ACD:  >>> THE QUEUE IS {TclModule_2227448556_0_5762376 {CALL_PROGRESS} {1153097116}} <<<
*Jul 17 00:45:16.699: //40//TCL :/tcl_PutsObjCmd: TCL B-ACD: >>> Received HELLO from TclModule_2227448556_0_5762376 <<<
*Jul 17 00:45:26.699: //40//TCL :/tcl_PutsObjCmd: TCL B-ACD:  >>> THE QUEUE IS {TclModule_2227448556_0_5762376 {CALL_PROGRESS} {1153097126}} <<<
*Jul 17 00:45:26.703: //40//TCL :/tcl_PutsObjCmd: TCL B-ACD: >>> Received HELLO from TclModule_2227448556_0_5762376 <<<
*Jul 17 00:45:30.815: //89//TCL :/tcl_PutsObjCmd:
 proc act_CallSetupDone
*Jul 17 00:45:30.819:
*Jul 17 00:45:30.819: //89//TCL :/tcl_PutsObjCmd:
 IP IVR Leg Setup Status = ls_002
*Jul 17 00:45:30.819:
*Jul 17 00:45:30.823: //89//TCL :/tcl_PutsObjCmd: TCL AA: >> Agent did not answer; Received Call NOAN <<
*Jul 17 00:45:30.835: //40//TCL :/tcl_PutsObjCmd: TCL B-ACD:  >>> THE QUEUE IS {TclModule_2227448556_0_5762376 {CALL_NOAN} {1153097130}} <<<
*Jul 17 00:45:36.695: //89//TCL :/tcl_PutsObjCmd: TCL AA: +++ Now playing second greeting prompt +++
*Jul 17 00:45:36.715: //40//TCL :/tcl_PutsObjCmd: TCL B-ACD:  >>> THE QUEUE IS {TclModule_2227448556_0_5762376 {CALL_NOAN} {1153097136}} <<<
*Jul 17 00:45:36.715: //40//TCL :/tcl_PutsObjCmd: TCL B-ACD: >>> Received HELLO from TclModule_2227448556_0_5762376 <<<
*Jul 17 00:45:45.831: //40//TCL :/tcl_PutsObjCmd: TCL B-ACD:  >>> THE QUEUE IS {TclModule_2227448556_0_5762376 {CALL_RETRY} {1153097145}} <<<
*Jul 17 00:45:45.879: //40//TCL :/tcl_PutsObjCmd: TCL B-ACD:  >>> THE QUEUE IS {TclModule_2227448556_0_5762376 {CALL_RETRY_PROGRESS} {1153097145}} <<<
*Jul 17 00:45:46.163: //89//TCL :/tcl_PutsObjCmd: TCL AA: — MEDIA STATUS = ms_000 —
*Jul 17 00:45:46.167: //89//TCL :/tcl_PutsObjCmd: TCL AA: +++ Playing MOH Livefeed +++
*Jul 17 00:45:46.219: //89//TCL :/tcl_PutsObjCmd: TCL AA: — MEDIA STATUS = ms_001 —
*Jul 17 00:45:46.219: //89//TCL :/tcl_PutsObjCmd: TCL AA: — ERROR: Unable to play prompt; File not found —
*Jul 17 00:45:46.223: //89//TCL :/tcl_PutsObjCmd: TCL AA: +++ Playing MOH +++
*Jul 17 00:45:46.711: //40//TCL :/tcl_PutsObjCmd: TCL B-ACD:  >>> THE QUEUE IS {TclModule_2227448556_0_5762376 {CALL_RETRY_PROGRESS} {1153097146}} <<<
*Jul 17 00:45:46.715: //40//TCL :/tcl_PutsObjCmd: TCL B-ACD: >>> Received HELLO from TclModule_2227448556_0_5762376 <<<
*Jul 17 00:45:56.711: //40//TCL :/tcl_PutsObjCmd: TCL B-ACD:  >>> THE QUEUE IS {TclModule_2227448556_0_5762376 {CALL_RETRY_PROGRESS} {1153097156}} <<<
*Jul 17 00:45:56.715: //40//TCL :/tcl_PutsObjCmd: TCL B-ACD: >>> Received HELLO from TclModule_2227448556_0_5762376 <<<
*Jul 17 00:45:57.415: //40//TCL :/tcl_PutsObjCmd: TCL B-ACD:  >>> Call Abandoned Time = 64 Seconds<<<
*Jul 17 00:45:57.427: //40//TCL :/tcl_PutsObjCmd: TCL B-ACD ++ Service Counter = 6 ++
*Jul 17 00:45:57.431: //40//TCL :/tcl_PutsObjCmd: TCL B-ACD: >>> Queue 3210 Statistics = {“Total calls presented to the queue: ” 5}
        {“Calls answered by agents: ” 1}
        {“Number of calls in the queue: ” 1}
        {“Average time to answer (secs): ” 20}
        {“Longest time to answer (secs): ” 20}
        {“Number of abandoned calls: ” 4}
        {“Average time before abandon (secs): ” 133}
        {“Calls forwarded to voice mail: ” 0}
        {“Calls answered by voice mail: ” 0} <<<
*Jul 17 00:45:57.435: //40//TCL :/tcl_PutsObjCmd: TCL B-ACD: +++ 3210 Queue Length = 0 +++
*Jul 17 00:45:57.439: //40//TCL :/tcl_PutsObjCmd: TCL B-ACD:  >>> 3210 Queue Length = 0 <<<
*Jul 17 00:45:57.439: //40//TCL :/tcl_PutsObjCmd: TCL B-ACD:  >>> Queue 3210 is Empty <<<
*Jul 17 00:45:58.455: //40//TCL :/tcl_PutsObjCmd: TCL B-ACD:  >>> B-ACD Service Running <<<

Keep Conference in CME

Posted: July 17, 2006 by sankar in Callmanager Express

By default if conference initiator hangs up the call, the conference is terminated.

To keep the conference parties connected when the conference initator leaves, configure under the  ephone “keep-conference“. When the initiator hangsup the remaining parties stay connected. If he uses the end-call soft key, the conference is terminated.

To keep the conference parties connected when the conference initator leaves by hanging up or pressing the end-call softkey, use “keep- conference endcall” option under ephone

CME – Caller ID block

Posted: July 17, 2006 by cciestudy in Callmanager Express

For both internal and external calls

ephone-dn

caller-id block

* This does not apply for E1R2, because caller id blocking is a flag in the setup messages and E1R2 does not support that. This does not apply for FXO, because caller id is controllerd by Telco on FXO. Use translation patterns to change caller ID to null

Only external calls

dial-peer voice 10 pots

clid strip – to block only the number

clid strip name – to block only the name

To send only caller name

telephony-service

caller-id name-only

To block caller id on a call by call basis

telephony-service

caller-id block code *67

If you need to integrate CME with a CUE on a different chassis, you would need the following.

1. Create a h323 dial-peer in CME gateway and point it to the gateway that hosts CUE.

2. Create a SIP dial-peer in the gateway that hosts CUE to point to CUE ip address.

You cannot create a SIP dial-peer on the CME gateway and point it directly to the CUE IP Address.