Follow CDYNE Blog on
Header Image -

Tag Archives

4 Articles

Conference Calling with Phone Notify! API

With over 50 programming methods, you can build powerful applications with Phone Notify! that will handle complex phone scripts, send immediate or scheduled phone calls, respond to call actions in real time, and manage call lists. One of the features included in Phone Notify! is the ability to create a conference, add a call to a conference, and cancel the conference. This tutorial will show the programming methods used along with sample call scripts.

This tutorial uses C# in Visual Studio 2010. You can find additional source code examples and download code examples from the Phone Notify! developer’s wiki.

Phone Notify! Operations Used

Step 1: Consuming Phone Notify! Web Service

  • Open a new or existing project in Visual Studio 2010
  • From the top tool bar, go to Project>Add Service Reference, which will open up the following screen:

  • Click on the Advanced button in the lower left-hand corner, which will open up another screen:

  • Click on the Add Web Reference button, which will open up a third screen:

  • Add the Phone Notify WSDL URL: to the URL box, and click on the green arrow. This will pull up the Phone Notify! Web Service Description as shown in the next screen:
  • Name the web reference. In this case, we named it WSDL. Then click the Add Reference button.

Step 2: Start Conference

The following example uses the NotifyPhoneAdvanced method to receive an incoming phone call, and the SetIncomingCallScript method to set the call script which will initiate a conference call. A dedicated phone number assigned to your account license key is required to receive phone calls.

The script in the code above uses advanced Notify commands that are available with Phone Notify! API. The following list includes notes on these commands:

~statuschangepostURL(“User’s specified URL”)~
This posts information about the call to a URL you specify. Using this method is highly suggested if you have a server to postback to on the web. The posturl must be in lower case. In this instance, when an inbound call is placed a conference key is posted to the URL specified here.

Turns off Message Interruption for digit commands (i.e., 1 for repeat). This is useful for a message that, for example, says “enter your zip code” and it won’t jump around in the Dial Plan when the digits are pressed.

Provides a clean slate for Acting on DTMF Commands. This will clear the default of “press 1 to repeat.”

Sets the label, “MainMenu,” which states in TTS “Thank you for calling CDYNE Corporation. Please choose a selection from one of the following options.”

Assigns 1 on the dial pad to go to the label “Join.” In this script, the star (*) is subsequently assigned to the label “MainMenu” and the pound sign (#) is assigned to go to the label “EndCall.”

This function will wait 5 seconds for a DTMF Command ( it accepts only one digit). Make sure that ActOnDigitPress(true) is set (It is true by default).

This will go to a label defined by the Label command. In this instance, if the recipient does not press a designated digit within 5 seconds, the Goto command instructs the script to go to the MainMenu.

Sets the label, “Join,” which states in TTS “Please wait while you are connected to the conference call.”

Provides a way to conference multiple Notifies together. The first Notify that uses the conference command will return a ConfKey variable (you must use StatusChangePostURL to get it). You can then start other Notifies with the same ConfKey to join the person to the same room using the ~SetVar(ConfKey|the confkey guid)~ command.

Sets the label, “Unavailable,” which states in TTS “We’re sorry no one is available at this time.”

Sets the label, “EndCall,” which will end the call.

Step 3: Add a Caller to Conference

In the example below, an outbound call to an operator or representative is initiated to let them know that the caller in Step 2 is in queue. This is done with the NotifyPhoneAdvanced method. If the operator or representative accepts the call, both calls will be joined in a conference.

~SetVar(ConfKey|”Conference Key”)~
The conference key is placed here. In most cases the servers handling the process will know to grab the conference key generated and posted to the URL during the phone call in Step 2.

Step 4: Cancel Conference

The CancelConference operation cancels the conference if the inbound call (from Step 2) is not accepted by the operator or representative in Step3. It will play the message, “We’re sorry no one is available at this time.” This is specified in Step 2 to play in the event the conference is cancelled.

For more information about CDYNE Phone Notify! API, please contact an account representative at 1-800-984-3710, inquire by email, or initiate a chat for more details.

Or sign up for a free trial license key to test CDYNE Phone Notify! API.

Developers find CDYNE Phone Notify! API integration details on the CDYNE developer’s wiki.


CDYNE Phone Verification Now Available With “Denali” Community Technology Preview 3

CDYNE Phone Verification is now available with the release of Microsoft SQL Server Code Name “Denali” Community Technology Preview 3 (CTP3). It was released yesterday, and publicly announced at Microsoft’s Worldwide Partner Conference (WPC). New capabilities include greater availability, unprecedented performance, credible and consistent data, and a productive development experience.

CDYNE Corporation is proud to be an integrated marketplace provider for Phone Verification, which will validate the first 7 digits of your phone number(s) and return what carrier the phone number id is assigned to, whether it is a cellular number or a land line, the telco, and additional information including time zone, area code and email address if it is a cellular number.

You can find more information about CDYNE Phone Verification on Denali here.


Say It in Spanish, Canadian French, and German: CDYNE Phone Notify! API Features Three New Text-To-Speech Voices

CDYNE has upgraded its existing text-to-speech (TTS) voices, as well as added three new voices to the text-to-speech engine. With the addition of TTS voices Miguel, Jean-Pierre, and Matthias, your business can add scalable, multilingual, and customizable voice calls to your application. All voices have an 8kHz sampling rate. This is best suited to telephony applications because it eliminates the overhead that is incurred when using voices of a higher sampling rate.

New voices details:

  • Miguel (Americas Spanish), Male, Age 30 –  sample
  • Jean-Pierre (Canadian French) , Male, Age 30 – sample
  • Matthias (German) , Male, Age 30 – sample

All voices may be found here.

CDYNE’s text-to-speech engine converts raw text to written-out words, and then assigns phonetic transcriptions to those words. Text-to-speech can also be combined with recorded .wav files to create relevant call scripts according to your phone messaging web service needs. Call 704-323-7777 to listen to a sample recorded file and text-to-speech example.

Request a trial key to test Phone Notify! API for free by calling 1-800-984-3710, inquire or initiate a chat.


How to tell if you’re dead

The government knows.  It always knows.  The Social Security Administration has a whole file dedicated to it.  Maybe a little creepy to think about, but be glad this file exists.  For one, if you die and someone pretends to be you, it’s a lot easier to pin down and prosecute for your children’s posterity, so they don’t lose their inheritance.

It also conveniently works for you while you’re alive, if you run a business. There’s a type of criminal out there that focuses purely on this kind of fraud, called “deceased person identity theft.”  And you could easily be a victim if you don’t have the records to screen for it.

One of our favorite Web Services, the Death Index API taps right into that SSA file and runs names and Social Security Numbers of your customers and patients against it in real time.  So you can say to the fake customer standing in front of you at the counter, “Wow, you’re looking pretty good for a dead guy!”