Welcome to the Ifbyphone Developers zone. This forum provides a place for the community of advanced Ifbyphone users and developers to share ideas, exchange code, and ask questions.  

Additional Resources

Ifbyphone Company Blog - Ifbyphone Twitter Page - Ifbyphone Company Web Site - Ifbyphone Partners Page
Ifbyphone's CEO's (Irv Shapiro's) Personal Blog - Irv Shapiro Twitter Page

It has been brought to our attention that the NEW MEMBER link does not always display in IE7. If you do not see the new member link in the login box on the right, please try another browser. (Firefox works fine.) In addition please note that Phonemashup accounts are completely separate from Ifbyphone accounts.

If you need help fast, call 877 295 5100 to reach the Ifbyphone "Success Team".   (Support is option 2.)

Members Login
Username 
 
Password 
    Remember Me  
Chatbox
Please log in to join the chat!
Post Info TOPIC: How to get Call Duration for API initiated outbound IVR calls


Veteran Member

Status: Offline
Posts: 58
Date: Feb 27, 2009
How to get Call Duration for API initiated outbound IVR calls
  
 


A common thing our customers need to do is to initiate outbound calls, and then find out exactly long the calls was.  An example would be that a lead generation company is making warm outbound calls to prospects, and then transferring to a call center.  It is  critical to get acccurate call duration data in these instances. 

First, when the call is initiated, give us a pass through parameter with a unique ID for that call.  Now when we come back after the Survo is done, we will give you the unique ID back. 

When you set up your Survo, type the following into Static Parameters (note that MySid is just the name of a variable):

MySID=sid

Now set up a Post call Action (under tools).  Copy that same text to static paramters in the Post Call Action.  Make sure the PCA (Post Call Action) is active.

Now when we ping your page after the Survo and PCA, you will have the SID.  The Survo will have information about what happened on that portion of the call, and the PCA will have call duration.

* Note that we cannot give the call duration as part of the Survo because you can run through several Survo's during a single call.



-- Edited by KhyleK at 16:18, 2009-02-27

__________________
Page 1 of 1  sorted by
 
Quick Reply

Please log in to post quick replies.

Post to Facebook Post to Digg Post to Del.icio.us

This is an open and public forum so Ifbyphone is unable to ensure that all code and suggestions posted to this forum are correct. Please use all code posted here at your own risk. Ifbyphone assumes no liability for code, recommendations and suggestions posted to this forum.

Users and developers will find hundreds of useful posts at the Ifbyphone company blog.