Plivo

Author: J | 2025-04-24

★★★★☆ (4.3 / 943 reviews)

Download umark video watermarker

Create a Plivo application. Associate the Express server you created with Plivo by creating a Plivo application. Visit Voice Applications in the Plivo console and click on Add New Application, or use Plivo’s Application API. Give your application a namewe called ours Phone IVR.

pandora radio.com

plivo/plivo-php: Plivo PHP Helper Library - GitHub

To save.TestMake a call to your Plivo number using any phone.Forward an incoming callPlivo requests an answer URL when the call is answered (step 4) and expects the file at that address to hold a valid XML response from the application with instructions on how to handle the call. In this example, when an incoming call is received, Plivo forwards the call using the Dial XML element.You must have a voice-enabled Plivo phone number to receive incoming calls; you can rent numbers from the Numbers page of the Plivo console, or by using the Numbers API.Create an MVC controller to forward incoming callsCreate a controller called ForwardcallController.cs in the Controllers directory and paste into it this code.123456789101112131415161718192021222324252627using System;using Plivo.XML;using System.Collections.Generic;using Microsoft.AspNetCore.Mvc;namespace Receivecall{ public class ForwardcallController : Controller { public IActionResult Index() { Plivo.XML.Response resp = new Plivo.XML.Response(); Plivo.XML.Dial dial = new Plivo.XML.Dial(new Dictionarystring, string>() { }); dial.AddNumber("", new Dictionarystring, string>() { }); resp.Add(dial); var output = resp.ToString(); Console.WriteLine(output); return this.Content(output, "text/xml"); } }}Replace the destination number placeholder with an actual phone number (for example, 12025551234).If you haven’t done so already, expose your local server to the internet.Create a Plivo application to forward callsAssociate the .NET application you created with Plivo by creating a Plivo application. Visit Voice > Applications in the Plivo console and click on Add New Application, or use Plivo’s Application API.Give your application a name — we called ours Forward Call. Enter the server URL you want to use (for example in the Answer URL field and set the method to POST. Click Create Application to save your application.Assign a Plivo number to your applicationNavigate to the Numbers page and select the phone number you want to use for this application.From the Application Type drop-down, select XML Application.From the Plivo Application drop-down, select Forward Call (the name we gave the application).Click Update Number to save.TestMake a call to your Plivo number using any phone. Plivo will send a request to the answer URL you provided requesting an XML response and then forward the call according to the instructions in the XML document the server provides.More use casesWe illustrate more than 20 use cases with code for both API/XML and PHLO on our documentation pages. 🥳 Thank you! It means a lot to us! Help Us Improve Thank you so much for rating the page, we would like to get your input for further improvements! Thank you for your feedback!. Create a Plivo application. Associate the Express server you created with Plivo by creating a Plivo application. Visit Voice Applications in the Plivo console and click on Add New Application, or use Plivo’s Application API. Give your application a namewe called ours Phone IVR. Create a Plivo application. Associate the Go application you created with Plivo by creating a Plivo application. Visit Voice Applications in the Plivo console and click on Add New Application, or use Plivo’s Application API. Give your application a namewe called ours Number Masking. A Node.js SDK to make voice calls and send SMS using Plivo and to generate Plivo XML. Latest version: 4.69.5, last published: . Start using plivo in your project by running `npm i plivo`. There are 38 other projects in the npm registry using plivo. All requests made by Plivo to your server URLs include X-Plivo-Signature-V2, X-Plivo-Signature-Ma-V2, and X-Plivo-Signature-V2-Nonce HTTP headers. You can use them to validate that a request is from Plivo, as we discuss in our signature validation guide . Plivo provides voice and messaging communication services in more than 190 countries, each of which has local laws about telecommunication services, and we partner with carriers worldwide whose policies we need to be compliant with. To ensure compliance with regulations, and prevent scenarios of SMS phishing and unsolicited voice calls, we have put measures in place to proactively verify account signups on the Plivo platform.Why was my Plivo account signup put on hold?Plivo is required to comply with local laws for telecommunication services around the globe. To ensure compliance with such regulations globally, we perform a risk assessment on all signups from new potential customers. If our assessment indicates a high risk, we may put a business on a hold list, indicating that we are unable to provide service to them at this time. Unfortunately, we are unable to disclose the specific reasons or parameters considered during our evaluation.How can I get my account off the hold list?Our evaluation process is thorough, and decisions made by our team are final. We are unable to re-evaluate or reconsider account eligibility decisions.At what stage does Plivo apply restrictions to an account?Plivo may place restrictions on an account at the time of signup. Even after the signup our internal systems continuously review each account for anomalies. This may lead to your account being put under restrictions at a later time as well. If we apply restrictions to your account, we’ll send you an email detailing that and steps for you to raise a reassessment request.How can I check whether my account has any restrictions?You will be able to see an alert message when you log in to the Plivo console. Didn’t find what you are looking for? Create new ticket Related articles How can I create a Plivo account? What is a subaccount? Does Plivo support SSO authentication? What should I do if I suspect my account has been compromised? What is the process for renting a local number in India?

Comments

User2151

To save.TestMake a call to your Plivo number using any phone.Forward an incoming callPlivo requests an answer URL when the call is answered (step 4) and expects the file at that address to hold a valid XML response from the application with instructions on how to handle the call. In this example, when an incoming call is received, Plivo forwards the call using the Dial XML element.You must have a voice-enabled Plivo phone number to receive incoming calls; you can rent numbers from the Numbers page of the Plivo console, or by using the Numbers API.Create an MVC controller to forward incoming callsCreate a controller called ForwardcallController.cs in the Controllers directory and paste into it this code.123456789101112131415161718192021222324252627using System;using Plivo.XML;using System.Collections.Generic;using Microsoft.AspNetCore.Mvc;namespace Receivecall{ public class ForwardcallController : Controller { public IActionResult Index() { Plivo.XML.Response resp = new Plivo.XML.Response(); Plivo.XML.Dial dial = new Plivo.XML.Dial(new Dictionarystring, string>() { }); dial.AddNumber("", new Dictionarystring, string>() { }); resp.Add(dial); var output = resp.ToString(); Console.WriteLine(output); return this.Content(output, "text/xml"); } }}Replace the destination number placeholder with an actual phone number (for example, 12025551234).If you haven’t done so already, expose your local server to the internet.Create a Plivo application to forward callsAssociate the .NET application you created with Plivo by creating a Plivo application. Visit Voice > Applications in the Plivo console and click on Add New Application, or use Plivo’s Application API.Give your application a name — we called ours Forward Call. Enter the server URL you want to use (for example in the Answer URL field and set the method to POST. Click Create Application to save your application.Assign a Plivo number to your applicationNavigate to the Numbers page and select the phone number you want to use for this application.From the Application Type drop-down, select XML Application.From the Plivo Application drop-down, select Forward Call (the name we gave the application).Click Update Number to save.TestMake a call to your Plivo number using any phone. Plivo will send a request to the answer URL you provided requesting an XML response and then forward the call according to the instructions in the XML document the server provides.More use casesWe illustrate more than 20 use cases with code for both API/XML and PHLO on our documentation pages. 🥳 Thank you! It means a lot to us! Help Us Improve Thank you so much for rating the page, we would like to get your input for further improvements! Thank you for your feedback!

2025-03-31
User8604

Plivo provides voice and messaging communication services in more than 190 countries, each of which has local laws about telecommunication services, and we partner with carriers worldwide whose policies we need to be compliant with. To ensure compliance with regulations, and prevent scenarios of SMS phishing and unsolicited voice calls, we have put measures in place to proactively verify account signups on the Plivo platform.Why was my Plivo account signup put on hold?Plivo is required to comply with local laws for telecommunication services around the globe. To ensure compliance with such regulations globally, we perform a risk assessment on all signups from new potential customers. If our assessment indicates a high risk, we may put a business on a hold list, indicating that we are unable to provide service to them at this time. Unfortunately, we are unable to disclose the specific reasons or parameters considered during our evaluation.How can I get my account off the hold list?Our evaluation process is thorough, and decisions made by our team are final. We are unable to re-evaluate or reconsider account eligibility decisions.At what stage does Plivo apply restrictions to an account?Plivo may place restrictions on an account at the time of signup. Even after the signup our internal systems continuously review each account for anomalies. This may lead to your account being put under restrictions at a later time as well. If we apply restrictions to your account, we’ll send you an email detailing that and steps for you to raise a reassessment request.How can I check whether my account has any restrictions?You will be able to see an alert message when you log in to the Plivo console. Didn’t find what you are looking for? Create new ticket Related articles How can I create a Plivo account? What is a subaccount? Does Plivo support SSO authentication? What should I do if I suspect my account has been compromised? What is the process for renting a local number in India?

2025-04-23
User2117

Domestic calling is a better choice than international calling if your calls originate and terminate in India. If a non-Plivo IN number is used as the Caller ID, the calls will be processed on a best-effort basis, and Plivo cannot provide support for any issues. To ensure reliable service, Plivo strongly recommends using a Plivo IN number for outbound calls.It provides several advantages.The call media path is shorter, which means lower latency and better audio quality.Outbound callers can get better recognition with assured local caller ID.Pricing is attractive, and INR billing is available.RequirementsBusinesses should be aware of several requirements for domestic calling in India.Caller ID — Outbound calls must originate from the caller ID of an India Plivo phone number.Media anchoring — Media anchoring requires the media of the call to reside in the same country as the phone call. Simply put, the media cannot leave the country; your calls should originate from and terminate to users in India. If a domestic call leg is bridged with an international call leg, the call will fail with hangup cause “Violates Media Anchoring.”Business KYC — You must submit know-your-customer (KYC) documentation before you can rent India phone numbers and make and receive calls from your Plivo account. Didn’t find what you are looking for? Create new ticket Related articles What is the process for renting a local number in India? What is KYC? Calls per Second (CPS) How to Comply with TRAI's New PE-TM Binding Chain Requirement Restrictions on New and Existing Plivo Accounts

2025-04-06
User7360

To the Play Audio node using the Answered trigger state. Configure the Play Audio node to play a message to the user by entering text in the Speak Text box in the Prompt section of the Configuration pane — for example, “Hello, you just received your first call.” Connect the Initiate Call node’s Answered trigger state to the Play Audio node. After you complete the configuration, give the PHLO a name by clicking in the upper left, then click Save. Your PHLO is now ready to test.Trigger the PHLOYou integrate a PHLO into your application workflow by making an API request to trigger the PHLO with the required payload — the set of parameters you pass to the PHLO. You can define a static payload by specifying values when you create the PHLO, or define a dynamic payload by passing values through parameters when you trigger the PHLO from your application.In either case, you need your Auth ID and Auth Token, which you can get from the overview page of the Plivo console.You also need the PHLO ID, which you can copy from the PHLO list page.With a static payloadWhen you configure values when creating the PHLO, they act as a static payload.CodeIn Visual Studio, in the CS project, edit the file Program.cs and paste into it this code.12345678910111213141516using System;using Plivo;namespace test_PHLO{ class Program { public static void Main(string[] args) { var phloClient = new PhloApi("", ""); var phloID = ""; var phlo = phloClient.Phlo.Get(phloID); Console.WriteLine(phlo.Run()); } }}Replace the auth placeholders with your authentication credentials from the Plivo console. Replace the phlo_id placeholder with your PHLO ID from the Plivo console.With a dynamic payloadTo use dynamic values for the parameters, use Liquid templating parameters when you create the PHLO and pass the values from your code when you trigger it.CodeIn Visual Studio, in the CS project, open the file Program.cs and paste into it this code.1234567891011121314151617181920212223using System;using System.Collections.Generic;using Plivo;namespace test_PHLO{ class Program { public static void Main(string[] args) { var phloClient = new PhloApi("", ""); var phloID = ""; var phlo = phloClient.Phlo.Get(phloID); var data = new Dictionarystring, object> { { "from", "" }, { "to", "" } }; Console.WriteLine(phlo.Run(data)); } }}Replace the auth placeholders with your authentication credentials from the Plivo console. Replace the phlo_id placeholder with your PHLO ID from the Plivo console. Replace the phone number placeholders with actual phone numbers in E.164 format (for example, +12025551234).TestSave the file and run the code from the Visual Studio IDE.Receive your first inbound callYou can create and deploy a PHLO to receive an inbound call with a few clicks on the PHLO canvas, without writing a single line of code.PrerequisiteTo receive incoming calls, you must have a voice-enabled Plivo phone number. You can rent numbers from the Numbers page of the Plivo console, or by using the Numbers API.Create the PHLOTo create a PHLO, visit the PHLO page of the Plivo console. If this is your first PHLO, the PHLO page will be empty. Click Create New PHLO. In

2025-03-29
User6302

Configuration. Give the PHLO a name by clicking in the upper left, then click Save.Assign the PHLO to a Plivo numberOnce you’ve created and configured your PHLO, assign your PHLO to a Plivo number. On the Numbers page of the console, under Your Numbers, click the phone number you want to use for the PHLO. In the Number Configuration box, select PHLO from the Application Type drop-down. From the PHLO Name drop-down, select the PHLO you want to use with the phone number, then click Update Number.TestYou can now call your Plivo phone number and see how the inbound call is forwarded.For more information about creating a PHLO application, see the PHLO Getting Started guide. For information on components and their variables, see the PHLO Components Library.More use casesWe illustrate more than 20 use cases with code for both PHLO and API/XML on our documentation pages. Install .NET Framework and the Plivo .NET SDKYou must set up and install .NET Framework 4.6 or higher and Plivo’s .NET SDK before you make your first call.Install .NET FrameworkYou can check whether you already have .NET Framework installed under macOS or Linux and what version is installed by running the command dotnet --version in a terminal window. Under Windows there are several ways to check. If you don’t have it or need a more current version, download and install it.Install the Plivo .NET SDK using Visual StudioCreate a new project in Visual Studio.Choose Console Application as the template for the new project.Install the Plivo NuGet package.Once you’ve set up your development environment, you can start making and receiving calls using our APIs and XML documents. Here are three common use cases to get you started.Make your first outbound callPlivo requests an answer URL when the call is answered (step 4) and expects the file at that address to hold a valid XML response from the application with instructions on how to handle the call. To see how this works, you can use as an answer URL to test your first outgoing call. The file contains this XML code: Congratulations! You've made your first outbound call! This code instructs Plivo to say, “Congratulations! You’ve made your first outbound call!” to the call recipient. You can find the entire list of valid Plivo XML verbs in our XML Reference documentation.CodeIn Visual Studio, in the CS project, open the file Program.cs and paste into it this code.123456789101112131415161718192021using System;using System.Collections.Generic;using Plivo;namespace testplivo{ class Program { static void Main(string[] args) { var api = new PlivoApi("",""); var response = api.Call.Create( to: new ListString> { "" }, from: "", answerMethod: "GET", answerUrl: " ); Console.WriteLine(response); } }}Replace the auth placeholders with your authentication credentials from the Plivo console. Replace the phone number placeholders with actual phone numbers in E.164 format (for example, +12025551234).Note:We recommend that you store your credentials in the auth_id and auth_token environment variables to avoid the possibility of accidentally committing them to source control. If you do this, you can initialize the client with no arguments

2025-04-24
User6793

And Plivo will automatically fetch the values from the environment variables. You can use the Environment.SetEnvironmentVariable method to store environment variables and Environment.GetEnvironmentVariable to fetch them when initializing the client.TestSave the file and run it.Receive your first inbound callPlivo requests an answer URL when it answers the call (step 2) and expects the file at that address to hold a valid XML response from the application with instructions on how to handle the call. In this example, when an incoming call is received, Plivo’s text-to-speech engine plays a message using the Speak XML element.To be able to host answer and callback URLs and to be able to provide valid XML and accept notifications on these URLs, you need to host a web server.You must have a voice-enabled Plivo phone number to receive incoming calls; you can rent numbers from the Numbers page of the Plivo console, or by using the Numbers API.Create an MVC projectIn Visual Studio, create a new project. Use the template for Web Application (Model-View-Controller).Give the project a name — we used Receivecall.Navigate to the Controllers directory in the Receivecall project. Create a controller named ReceivecallController.cs and paste into it this code.1234567891011121314151617181920212223242526using System;using Plivo.XML;using System.Collections.Generic;using Microsoft.AspNetCore.Mvc;namespace Receivecall{ public class ReceivecallController : Controller { public IActionResult Index() { Plivo.XML.Response resp = new Plivo.XML.Response(); resp.AddSpeak("Hello, you just received your first call", new Dictionarystring, string>() { { "loop", "3" } }); var output = resp.ToString(); Console.WriteLine(output); return this.Content(output, "text/xml"); } }}Before you start the application, edit Properties/launchSettings.json and set applicationUrl. "applicationUrl": " the project and you should see your basic server application in action at your local server to the internetTo receive incoming calls, your local server must connect with Plivo API services. For that, we recommend using ngrok, which exposes local servers running behind NATs and firewalls to the public internet over secure tunnels. Using ngrok, you can set webhooks that can talk to the Plivo server.Install ngrok and run it on the command line, specifying the port that hosts the application on which you want to receive calls (80 in this case):This starts the ngrok server on your local server. Ngrok will display a forwarding link that you can use as a webhook to access your local server over the public network.You can check app in action at and check the XML response.Create a Plivo application to receive callsAssociate the controller you created with Plivo by creating a Plivo application. Visit Voice > Applications and click Add New Application. You can also use Plivo’s Application API.Give your application a name — we called ours Receive_call. Enter the server URL you want to use (for example in the Primary Answer URL field and set the method to POST. Click Create Application to save your application.Assign a Plivo number to your applicationNavigate to the Numbers page and select the phone number you want to use for this application.From the Application Type drop-down, select XML Application.From the Plivo Application drop-down, select Receive Call (the name we gave the application).Click Update Number

2025-04-17

Add Comment