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

Set fallback_url from application instace #289

Open
jazz7381 opened this issue Jul 24, 2021 · 0 comments
Open

Set fallback_url from application instace #289

jazz7381 opened this issue Jul 24, 2021 · 0 comments

Comments

@jazz7381
Copy link

I want to set fallback_url

Expected Behavior

I want to set voice fallback url like set event and answer url from application instance.

Example:

$application->getVoiceConfig()->setWebhook(\Vonage\Application\VoiceConfig::ANSWER, new \Vonage\Application\Webhook($data['voice_fallback_url_address'], strtoupper($data['voice_fallback_url_method'])));

Current Behavior

Possible Solution

Add method to set voice fallback url

Steps to Reproduce (for bugs)

Context

Your Environment

  • Version used: "vonage/client-core": "^2.0"
  • Environment name and version (e.g. PHP 7.2 on nginx 1.19.1): PHP 7.4 on Apache
  • Operating System and version: Windows 10 with WSL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants