Skip to content

Commit

Permalink
redirect to _make_calls instead of make_single_call if skipping star …
Browse files Browse the repository at this point in the history
…confirm, new mp3s
  • Loading branch information
rubbingalcoholic committed Sep 3, 2014
1 parent 110fd61 commit c5e65ec
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ def connection():
play_or_say(resp, campaign['msg_intro'])

if campaign.get('skip_star_confirm'):
resp.redirect(url_for('make_single_call', **params))
resp.redirect(url_for('_make_calls', **params))

return str(resp)

Expand Down
14 changes: 7 additions & 7 deletions data/campaigns.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -161,18 +161,18 @@

- id: battleforthenet
numbers:
- 650-614-5872
- 650-716-1243
target_house: true
target_senate: true
target_house_first: false
msg_intro: http://tfrce.s3.amazonaws.com/tdwfb/msg_intro.mp3
msg_ask_zip: http://tfrce.s3.amazonaws.com/tdwfb/msg_ask_zip.mp3
msg_invalid_zip: http://tfrce.s3.amazonaws.com/tdwfb/msg_invalid_zip.mp3
msg_call_block_intro: http://tfrce.s3.amazonaws.com/tdwfb/msg_call_block_intro_number.mp3
msg_intro: http://battleforthenet.s3.amazonaws.com/audio/msg_intro.mp3
msg_ask_zip: http://battleforthenet.s3.amazonaws.com/audio/msg_ask_zip.mp3
msg_invalid_zip: http://battleforthenet.s3.amazonaws.com/audio/msg_invalid_zip.mp3
msg_call_block_intro: http://battleforthenet.s3.amazonaws.com/audio/msg_call_block_intro.mp3
msg_rep_intro: We're now connecting you to {{name}}. Press star once you're done.
msg_special_call_intro: First we're connecting you to {{name}}. Press star once you're done.
msg_between_thanks: http://tfrce.s3.amazonaws.com/tdwfb/msg_between_thanks.mp3
msg_final_thanks: http://tfrce.s3.amazonaws.com/tdwfb/msg_final_thanks.mp3
msg_between_thanks: Thanks.
msg_final_thanks: http://battleforthenet.s3.amazonaws.com/audio/msg_final_thanks.mp3
randomize_order: true
overrides_google_spreadsheet_id: 1SxJWmzjNAnpkcKrMDbbnUJjx4qBX6vsF5MiyOXwf-NM
skip_star_confirm: true
Expand Down

0 comments on commit c5e65ec

Please sign in to comment.