Пример #1
0
 def __init__(self, main, name, greeting_sound, short_greeting_sound,
              invalid_sound, exit_sound, transfer_sound, confirm_macro,
              confirm_key, tts_engine, tts_voice, confirm_attempts,
              inter_timeout, digit_len, timeout, max_failures,
              max_timeouts):
     this = _freeswitch.new_IVRMenu(
         main, name, greeting_sound, short_greeting_sound, invalid_sound,
         exit_sound, transfer_sound, confirm_macro, confirm_key, tts_engine,
         tts_voice, confirm_attempts, inter_timeout, digit_len, timeout,
         max_failures, max_timeouts)
     try:
         self.this.append(this)
     except __builtin__.Exception:
         self.this = this
Пример #2
0
 def __init__(self, *args):
     this = _freeswitch.new_IVRMenu(*args)
     try:
         self.this.append(this)
     except:
         self.this = this
Пример #3
0
 def __init__(self, *args):
     this = _freeswitch.new_IVRMenu(*args)
     try:
         self.this.append(this)
     except:
         self.this = this