Legs

Complete an accepted inbound transfer

Changed on

Terminates an accepted inbound transfer with a final sipfrag NOTIFY and emits leg.transfer_completed (on success) or leg.transfer_failed. success:true sends 200 OK; otherwise status_code/reason (default 500) carry the failure. The referrer leg is left for the app to hang up.

post/legs/{id}/transfer/complete

Request

  • Base URL
    http://localhost:8080/v1
  • URL
    http://localhost:8080/v1/legs/{id}/transfer/complete
  • Auth
    none declared

Request body

successboolean required
status_codeinteger
reasonstring

Response

Terminal NOTIFY queued

Changes