Looking for TCL-Script (CME) for "out of business" message

Unanswered Question
Dec 3rd, 2007

Hi all,

I'm looking for a basic TCL-Script for only associate an audio.au file to a phone-nr.

Tried with B-ACD/AA from CCME but is too oversized for my purpose.

Any ideas?

Thanks,

Norbert

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Paolo Bevilacqua Mon, 12/03/2007 - 18:43

Hi Norbert,

this would be minimal script that does that.

Hope this helps, please rate post if it does!

proc act_Setup { } {

leg setupack leg_incoming

leg proceeding leg_incoming

leg connect leg_incoming

media play leg_incoming disconnect.au

}

proc act_Close { } {

call close

}

set fsm(any_state,ev_disconnected) "act_Close same_state"

set fsm(any_state,ev_media_done) "act_Close same_state"

set fsm(INIT,ev_setup_indication) "act_Setup same_state"

fsm define fsm INIT

alig.norbert Tue, 12/04/2007 - 00:02

Hi Paolo,

Thanks for the script.

Is there no way to reload a TCL-Script without rebooting the whole router?

Greets,

Norbert

Paolo Bevilacqua Tue, 12/04/2007 - 07:08

You can reload the script, the problem is with the audio files when loaded from flash.

I've found that these become sticky and no command helps. One workaround is changing the name of the file in the script.

Actions

This Discussion