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

Unanswered Question
Dec 3rd, 2007
User Badges:

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

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
paolo bevilacqua Mon, 12/03/2007 - 18:43
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    Founding Member

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
User Badges:

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
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    Founding Member

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