[cisco-voip] Problem with ev_alert in ivr tcl 2.0
Phoebe Shao
phoebe.shao at openwave.com
Sat Feb 26 05:48:20 EST 2005
Hi,
I need to catch the ev_alert and ev_connected events in ivr tcl 2.0 scripts.
The leg setup code is:
proc act_Setup { } {
leg proceeding leg_incoming
leg progress leg_incoming -p8
set callinfo(notifyEvents) "ev_connected ev_alert"
leg setup "xxxxxxx(a valid phone number)" callinfo leg_incoming
}
And my state machine has:
set TopFSM(CALL_INIT,ev_setup_indication) "act_Setup,AWAITING_ALERT"
set TopFSM(any_state,ev_alert) "act_Alert,AWAITING_TIMER"
set TopFSM(AWAITING_ALERT,ev_alert) "act_Alert,AWAITING_TIMER"
set TopFSM(any_state,ev_connected) "act_Alert,AWAITING_TIMER"
set TopFSM(AWAITING_ALERT,ev_connected) "act_Alert,AWAITING_TIMER"
My call did get connected to the phone number specified in leg setup. But
my act_Alert procedure is never entered.
Any help is appreciated.
More information about the cisco-voip
mailing list