Anonymous calling is a feature on the AT&T API Marketplace https://apimarket.att.com (APIM) where you don’t need a real APIM user in originating side of the call.
As an example use case, you have a web application with a browser app, and on the website you want to add a button that browsing customers can initiate a WebRTC call (with or without video), which can be routed to your application’s IVR number so that your representatives can talk with the customer.
To achieve this flow, there are two important points:
- The target number that is called when anonymous call initiated should be configured under APIM
project
of your app. You can navigate toAnonymous Destinations
tab inAPIM custome portal
and add your authorized numbers. - This functionality requires an
access_token
acquired for aproject
(viaprivate project key
andsecret
). This implies that your app must have a server-side component that can get authenticated. Note that browser apps cannot store secrets securily so that would be a bad idea to use the browser app for project authentication.
If, for any reason, you need to use a project’s
access_token
to make regular calls instead of anoymous calls, you need to addregular_call
intoscope
parameter while getting authenticated.
You can find more details on how to achieve anonymous calling here: Anonymous Calls on the AT&T API Marketplace Developer Documentation pages https://apimarket.att.com/developer