We've Moved! Please visit our new and improved forum over at our new portal: https://portal.plumvoice.com/hc/en-us/community/topics

Post-Call Webservice - can it include Call_id?

Questions and answers about Plum Fuse+

Moderators: admin, support

Post Reply
jparnell
Posts: 38
Joined: Wed Aug 22, 2018 12:45 pm

Post-Call Webservice - can it include Call_id?

Post by jparnell »

We are looking at ways to receive a few additional variables from the result of a call execution. We need this to determine if a given call should be reattempted or not.

I understand that Plum communicates call execution variables in the following ways:
• Post-attempt, via API call to whatever API we define in the “result_url” of the request. Tied to "call_id". Includes status: completed, failed or canceled.
• Post-successful connection, via API call to whatever API we define in the Post-Call Webservice. Can include whatever custom variables were defined during the call. Can include "session_id" and live answer vs. voicemail.

We are hoping to receive the custom variables described in the 2nd bullet point, however, it’s not obvious how we can tie this into the “call_id” which is generated when we queue the call to the API. I’ve looked in the documentation but I don’t see how to retrieve the variable “call_id” and include it in the Post-Call Webservice. Can you help?

support
Posts: 3632
Joined: Mon Jun 02, 2003 3:47 pm
Location: Boston, MA
Contact:

Re: Post-Call Webservice - can it include Call_id?

Post by support »

Hi,

We do not currently have a feature in the Post-Call Webservice that allows for retrieving the "call_id" value and setting it as a parameter. You can, however, access and set any parameter that is used in your fuse+ application. Our team will look into possibly adding this functionality in a future release.

If you would like to access the "call_id", you are able to get this value from the result of our Outbound Call API. We have an additional API, with the URL: https://fuse.plumvoice.com/api/outbound/{call_id}, that will return various data values for a specified "call_id" (such as status, attempts, start_timestamp, duration, etc.). You may read more about that here: https://fuse.plumvoice.com/documentation, under the "Checking Status For an Outbound Call" section.

Please reach back out if you have any further questions.

Regards,
Plum Support

jparnell
Posts: 38
Joined: Wed Aug 22, 2018 12:45 pm

Re: Post-Call Webservice - can it include Call_id?

Post by jparnell »

Ok, thanks very much for your reply.

Post Reply