{"action":"opened","issue":{"url":"https://api.github.com/repos/twilio/twilio-python/issues/400","repository_url":"https://api.github.com/repos/twilio/twilio-python","labels_url":"https://api.github.com/repos/twilio/twilio-python/issues/400/labels{/name}","comments_url":"https://api.github.com/repos/twilio/twilio-python/issues/400/comments","events_url":"https://api.github.com/repos/twilio/twilio-python/issues/400/events","html_url":"https://github.com/twilio/twilio-python/issues/400","id":276883314,"number":400,"title":"dial callerid parameter not working","user":{"login":"alfozan","id":979984,"avatar_url":"https://avatars1.githubusercontent.com/u/979984?v=4","gravatar_id":"","url":"https://api.github.com/users/alfozan","html_url":"https://github.com/alfozan","followers_url":"https://api.github.com/users/alfozan/followers","following_url":"https://api.github.com/users/alfozan/following{/other_user}","gists_url":"https://api.github.com/users/alfozan/gists{/gist_id}","starred_url":"https://api.github.com/users/alfozan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alfozan/subscriptions","organizations_url":"https://api.github.com/users/alfozan/orgs","repos_url":"https://api.github.com/users/alfozan/repos","events_url":"https://api.github.com/users/alfozan/events{/privacy}","received_events_url":"https://api.github.com/users/alfozan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-11-27T02:28:52Z","updated_at":"2017-11-27T02:28:52Z","closed_at":null,"author_association":"NONE","body":"*Note: These issues are for bugs and feature requests for the helper libraries.\r\nIf you need help or support, please email help@twilio.com and one of our experts\r\nwill assist you!*\r\n\r\n\r\n**Version:**\r\n6.9.0\r\n\r\n### Code Snippet\r\n```python\r\nresponse.dial(number=\"+1234567890\", callerid=\"+1234567890\")\r\n```\r\n### Exception/Log\r\n```\r\nhttps://www.twilio.com/console/runtime/debugger:\r\nAttribute 'callerid' is not allowed to appear in element 'Dial'.\r\n\r\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<Response>\r\n    <Dial callerid=\"+1234567890\">+1234567890</Dial>\r\n</Response>\r\n\r\n<place exception/log here>\r\n```\r\n\r\n### Steps to Reproduce\r\n1. start with this example: https://www.twilio.com/docs/api/twiml/dial\r\n2. add callerid parameter to the Dial() object\r\n3. call the Twilio number and monitor the runtime/debugger\r\n\r\n### Issue:\r\nreturn str(response) generates an TwiML file with **callerid** instead of **callerId** (misspelling).\r\n\r\n### Temporary fix:\r\nuse `return str(response).replace('callerid', 'callerId')` instead of `return str(response)`"}}
{"actor":{"display_login":"alfozan"}}