question

Dev Team avatar image
Dev Team asked Dev Team commented

Sending additional metadata while forwarding

I'm forwarding the call to some other extension and need to send additional metadata (just simple array of key-value pairs) with this request. Is it possible?

Forwarding looks like this:

rc.Restapi().Account().Telephony().Sessions(telephonySessionId).Parties(partyId).Forward().Post(forwardTarget)

Thank you in advance.


call forwarding
1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Phong Vu avatar image
Phong Vu answered Dev Team commented

No, the API does not take any extra data/metadata.

5 comments
1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Is it possible to send that data somehow else with RingCentral.Net? Maybe reuse some field or maybe send info in some header of RestClient?

0 Likes 0 ·

Where do you want to send it to? Any parameter which is not specified in an API endpoint should cause an error or be ignored.

0 Likes 0 ·
Dev Team avatar image Dev Team Phong Vu ♦♦ ·

We just need to send some data during forwarding and to receive it when the call arrives to the target client app. Just to avoid additional requests to get metadata for this call from our system.

So actually sending the data with forward in this case will give us possibility to work with this call immediately, without waiting when (if) the metadata will come.

Is there any plans to add such field for custom metadata in the future?

0 Likes 0 ·
Show more comments

Developer sandbox tools

Using the RingCentral Phone for Desktop, you can dial or receive test calls, send and receive test SMS or Fax messages in your sandbox environment.

Download RingCentral Phone for Desktop:

Tip: switch to the "sandbox mode" before logging in the app:

  • On MacOS: press "fn + command + f2" keys
  • On Windows: press "Ctrl + F2" keys