Override generated attributes when generating TwiML
@@ -32,7 +32,9 @@ class TwiMLException(Exception):
class TwiML(object):
MAP = {
- 'from_': 'from'
+ 'from_': 'from',
+ 'xml_lang': 'xml:lang',
+ 'interpret_as': 'interpret-as',
}
def __init__(self, **kwargs):
