Permalink
Browse files

fixed terminator and added ring event for transfer

  • Loading branch information...
1 parent 3177f3d commit f103562cabf9aedfa41bd7c6f69a561a8fc868d3 Justin Dupree committed Apr 29, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 tropo.py
View
@@ -426,7 +426,7 @@ class Transfer(TropoAction):
"timeout": Float } }
"""
action = 'transfer'
- options_array = ['answerOnMedia', 'choices', 'from', 'name', 'required', 'terminator', 'allowSignals']
+ options_array = ['answerOnMedia', 'choices', 'from', 'name', 'on', 'required', 'allowSignals']
def __init__(self, to, **options):
self._dict = {'to': to}
@@ -435,7 +435,7 @@ def __init__(self, to, **options):
if (opt == 'from'):
self._dict['from'] = options['from']
elif(opt == 'choices'):
- self._dict['choices'] = {'value' : options['choices']}
+ self._dict['choices'] = options['choices']
else:
self._dict[opt] = options[opt]

0 comments on commit f103562

Please sign in to comment.