Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GetDigits Ignoring Action #37

Closed
mattwilliamson opened this issue Aug 19, 2011 · 3 comments
Closed

GetDigits Ignoring Action #37

mattwilliamson opened this issue Aug 19, 2011 · 3 comments
Assignees
Labels

Comments

@mattwilliamson
Copy link
Contributor

My GetDigits element is ignoring the action attribute. Upon further inspection, I found this in the Plivo source but have no idea what it means:

#action: DYNAMIC! MUST BE SET IN METHOD,

https://github.com/plivo/plivo/blob/master/src/plivo/rest/freeswitch/elements.py#L64

@mattwilliamson
Copy link
Contributor Author

Here's my XML:

<?xml version="1.0"?>
<Response>
    <Play loop="1">http://dl.dropbox.com/u/14573179/Audio/Freeswitch/sounds/en/us/callie/ivr/mp3/ivr-thank_you_for_calling.mp3</Play>
    <Record bothLegs="true" fileFormat="mp3" finishOnKey="#" maxLength="3600" playBeep="false" timeout="5"/>
    <GetDigits action="http://goliath:8000/_plivo/got_digits/GET/L2l2ci9oZWxsby1wZXJzb24vaGFuZGxlLWdhdGhlcj90ZXN0PTE=" finishOnKey="#" method="GET" numDigits="1" timeout="10">
        <Speak loop="1" voice="slt">To speak with a real person, press 1. Press 2 to 'record a message. Press any other key to start over.</Speak>
    </GetDigits>
</Response>

It posts to the initial URL instead of the one in the action.

@mike-plivo
Copy link
Member

Can you retry with the last revision ?

Maybe something wrong in is_valid_url() in helpers .

@mattwilliamson
Copy link
Contributor Author

Yes, it seems to be working now. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants