• Hello,

    I have an outsourcer working on a project that makes wordpress into a interactive voice response system using the tropo.com api.

    One problem he had is that security does not allow outside programs to call a php file located in a wordpress plugin directory. So when a call comes it to tropo.com it needs to call the plugin php code in the wordpress plugin directory. I am sure other plugins deal with type of issue… does anyone have any knowledge or feedback about how to deal with this?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello,

    You dont need to actually serve the file w/ a PHP extension in Tropo to get Tropo to use it, but please dont mistake that as the file type is not important, infact it is. Tropo uses the file type to determine the “Scripting Engine” it intends to use to render the script, eg PHP, Ruby, Python, Groovy, Ect..
    So that being said you actually have a few options here; First you can change the file type to tPHP, eg http://awesomeServer.com/tropo/script.tPHP, or you could even serve it as .txt?tropo-engine=php, adding that query string parameter tells Tropo what engine to use. Lastly you could serve it us as anything provided you pass the correct content-type header in the response. I do hope this helps, and if there are any other questions please dont hesitate to drop by our IRC channel #tropo on Freenode, or email [email protected]

    Thanks!

    -John

    Thread Starter awmorris

    (@awmorris)

    wow… i am impressed that i got your support here! thank you! will try that and get support directly from you…

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘WP-IVR tropo.com api integration’ is closed to new replies.