cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
304
Views
5
Helpful
4
Replies

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

alig.norbert
Level 4
Level 4

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

4 Replies 4

paolo bevilacqua
Hall of Fame
Hall of Fame

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

Hi Paolo,

Thanks for the script.

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

Greets,

Norbert

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.

Thanks,

I'll try the workaround solution.

Greets,

Norbert