Legacy Dev Forum Posts

 View Only

Sign Up

Why are optionsStatus and registersStatus empty arrays for GET trunk by ID

  • 1.  Why are optionsStatus and registersStatus empty arrays for GET trunk by ID

    Posted 06-05-2025 18:19

    draeder | 2021-06-05 19:41:46 UTC | #1

    Good afternoon..

    Using REST calls to /api/v2/telephony/providers/edges/trunks/{trunkId}, I am getting:

    "optionsStatus": [], "registersStatus": []

    However, using the Notifications API endpoint, for trunk metrics, these elements have values, specifically the following for both (when connecting or disconnecting a call through that trunk):

    [ { proxyAddress: '', registerState: false, errorInfo: { text: '', code: '', details: [Object] } } ]

    Is it expected behavior that REST calls have an empty array for these elements? Notably, using the REST API call response for trunk metrics doesn't contain these elements at all.

    Also, the ipStatus element returned by the Notifications API, contains more information than the get trunk by ID rest call.

    Thanks, Dan


    system | 2021-07-06 19:47:28 UTC | #2

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 11123