Ratnaprabha Bhoir
Ratnaprabha Bhoir

Reputation: 50

Ringcentral Webhooks - caller name shows extention number instead of mobile number

We have created Webhook Subscription for getting missed calls.

We are using "/restapi/v1.0/account/~/telephony/sessions?direction=Inbound&missedCall=true" to get all missed calls/voice calls.

Webhook works good as we get all call information but somehow for some number we get only extention value(101) instead of phone number(refer attahced files)

enter image description hereis there any way to get actual phone number instead of extention number?

Upvotes: 0

Views: 40

Answers (1)

user7970564
user7970564

Reputation:

It looks like you are using password based authentication.

You can use JWT authentication instead of password based authentication

and then add following api to get call for each extension(replace second ~ with extension id)

"/restapi/v1.0/account/~/extension/~/voicemail",

alongwith

 "/restapi/v1.0/account/~/telephony/sessions?direction=Inbound&missedCall=true",

Upvotes: 0

Related Questions