[cisco-voip] CME - Auto Attendant

Andrew Dignan cisco at dignans.com
Tue May 30 22:36:55 EDT 2006


I am having an issue with the auto attendant .tcl script and CME.  I have
calls routing properly to the script and if I enter a 4 digit extension or
0 it attempts to transfer the call but fails.  "debug voice application"
shows the following:

*Mar  3 04:25:07.258: //-1//APPL:HN0B3F71C4:LG75:/AFS_CALLSETUPIND:
Calling #(6017772002), Called #(4002), peerTag(4000), handoffReturn?(1)
*Mar  3 04:25:07.258: //75//APPL:/afsSettlementValidateCall: target=,
tokenp=0x0
*Mar  3 04:25:07.258: //-1//APPL:HN0B3F71C4:/AFS_CALLSETUPIND: Cannot ACK
this leg.LEG[75     ][AFS_HAND][LEG_INCCONNECTED(5)][Cause(0)][UC=1 ]
*Mar  3 04:25:07.258: //-1//APPL:/AppFreeEvent: Freeing event 0x82F77AD0
CC_EV_CALL_HANDOFF[19]
*Mar  3 04:25:07.262: //-1//APPL:HN0B3F71C4:LG75:/afsMsgHandler:
(CALLINIT)--(CC_EV_CALL_HANDOFF)-->>(CALLINIT)
*Mar  3 04:25:07.262: //-1//APPL:/AppNewEvent: New event 0x82F783C8
*Mar  3 04:25:07.262: //-1//APPL:/AppFreeEvent: Freeing event 0x82F783C8
APP_EV_NULL[0]

4002 is the ephone thats registered but I see this strange error of
"Cannot ACK this leg".

config (i have also just tried removing the dial-peer 1 and only leaving
the dial-peer 4000 but same result):

controller E1 0/0
 framing NO-CRC4
 pri-group timeslots 1-4,16
!
call application voice autoatt flash:its-CISCO.2.0.1.0.tcl
call application voice autoatt aa-pilot 4000
call application voice autoatt operator 4002
call application voice autoatt language 1 en
call application voice autoatt set-location en 0 flash:
!
voice-port 0/0:15
!
dial-peer cor custom
 name Emergency
 name Local
 name LD
 name Intl
!
!
dial-peer cor list Emergency-PT
 member Emergency
!
dial-peer cor list Local-PT
 member Local
!
dial-peer cor list LD-PT
 member LD
!
dial-peer cor list Intl-PT
 member Intl
!
dial-peer cor list Internal-CSS
 member Emergency
!
dial-peer cor list Local-CSS
 member Emergency
 member Local
!
dial-peer cor list LD-CSS
 member Emergency
 member Local
 member LD
!
dial-peer cor list Intl-CSS
 member Emergency
 member Local
 member LD
 member Intl
!
!
dial-peer voice 1 pots
 incoming called-number .
 direct-inward-dial
 port 0/0:15
!
dial-peer voice 4000 pots
 application autoatt
 incoming called-number 4000
 port 0/0:15
!
dial-peer voice 9 pots
 corlist outgoing Local-PT
 description 8 DIGIT LOCAL
 destination-pattern 9[2-9].......
 direct-inward-dial
 port 0/0:15
 forward-digits 8
!
dial-peer voice 999 pots
 corlist outgoing Emergency-PT
 description Emergency dialing
 destination-pattern 999
 port 0/0:15
 forward-digits 3
!
dial-peer voice 9999 pots
 corlist outgoing Intl-PT
 description Long Distance - National - Dialing
 destination-pattern 9011T
 port 0/0:15
 forward-digits 3
 prefix 011
!
ephone-dn  2  dual-line
 number 4002


More information about the cisco-voip mailing list