Repository navigation
Releases
Releases · ondewo/ondewo-sip-api
Release 5.7.0
Release ONDEWO SIP API 5.7.0
New Features
- [OND236-120] Transfer delegation: in a container started with
SIP_TRANSFER_DELEGATION_ACTIVE=Truea transfer the in-container speech-to-speech pipeline asks for is parked in
SipStatus.delegated_transfer(field 17,SipDelegatedTransfer) and returned asexception_name=TransferDelegated;
the call is kept. The status reports onlyrequest_id,requested_atandtarget_is_phone_number, never the target
or the headers.SipTransferCallRequest.delegation(field 4, top-level enumSipTransferDelegation) and
delegated_request_id(field 5) claim it:SIP_TRANSFER_DELEGATION_CLAIMreturns the target and the headers and
stops the expiry,SIP_TRANSFER_DELEGATION_EXECUTEsends the transfer of the request,SIP_TRANSFER_DELEGATION_DISCARD
sends nothing. Claims need the call-control token and the call'sx-ondewo-expected-call-id; refusals are returned
(DelegatedRequestMismatch,CallScopeMismatch,CallControlUnauthenticated,TransferInProgress). A parked
transfer that is not claimed in time is dropped without a REFER. - [OND236-120] Warm-transfer outcome notice:
SipSetCallMediaControlRequest.warm_transfer_outcome(field 5,SipWarmTransferOutcomeNoticewithrequest_id,
outcome,intro_session,callee_display_name,cause,fallback_text; participant owner only) tells the bot
that the warm transfer was declined or the target was unreachable (SipWarmTransferOutcome, which also names
SIP_WARM_TRANSFER_OUTCOME_DELEGATION_EXPIRED). The pipeline's answer is returned in
SipStatus.warm_transfer_outcome_notice_status(field 19,SipWarmTransferOutcomeNoticeStatus); a refused notice is
exception_name=InvalidWarmTransferOutcomeNotice. - [OND236-120]
SipStatus.capabilities(field 18): the optional
features of the container as stable tokens, so a client can refuse a feature an older image lacks. First token:
warm-transfer-outcome-notice.
Improvements
- [OND236-120]
docs/warm_transfer.md: a hand-written guide to
transfer delegation and the warm-transfer outcome notice. - Purely additive: no field, enum value or RPC was renumbered or removed, no RPC and no
SipStatus.StatusTypevalue
was added, and every new field's zero value is the behaviour of 5.6.0, so a client built against 5.6.0 stays
wire-compatible.
Toolchain and runtime floors
- [OND236-120] The eleven
ondewo-sip-client-<language>SDKs of
5.7.0 are generated with ondewo-proto-compiler 5.17.0 (ONDEWO_PROTO_COMPILER_VERSION, was 5.15.7): protoc 35.1 for
every language except cpp. The generated code requires at least these runtimes (newer is fine, older is refused):- Python:
protobuf>=7.35.1,<8andgrpcio>=1.85.1, Python >= 3.10 (protobuf 7 dropped 3.9). Every_pb2.pyis
stamped# Protobuf Python Version: 7.35.1and every_pb2_grpc.pyGRPC_GENERATED_VERSION = '1.85.1'; both
refuse an older runtime at import.grpcio-tools,grpcio-reflectionandmypy-protobufare no longer runtime
dependencies ofondewo-sip-client. - Java: protobuf-java 4.35.1, grpc-java 1.85.1, proto-google-common-protos 2.82.0.
- C#: Google.Protobuf 3.35.1, Grpc.Core.Api / Grpc.Net.Client 2.85.0, Google.Api.CommonProtos 2.17.0.
- PHP:
google/protobuf5.35.1 (a major step from 4.x; php >= 8.2.0) andgrpc/grpc1.85.0. - Go:
google.golang.org/grpcv1.85.0,google.golang.org/protobufv1.36.12,go 1.26.0. - Rust: prost / prost-types 0.14.6, tonic / tonic-prost 0.14.9.
- js, typescript:
grpc-web2.1.1 andgoogle-protobuf^4.0.3. grpc-web 2.x limits a response to 4 MB unless
maxReceiveMessageSizeis set. - Angular:
grpc-web2.1.1 as an EXACT direct dependency plus"overrides": { "grpc-web": "$grpc-web" }(an app
installing the client needs the same),@ngx-grpc/*~3.1.2,google-protobuf~3.21.4. - Nodejs:
@grpc/grpc-js1.14.7 andgoogle-protobuf3.21.4. - Cpp: unchanged, protobuf 3.21.12 / grpc 1.51.1.
- Python:
Release 5.5.2
Release ONDEWO SIP API 5.5.2
Improvements
- No API change: the protos are identical to 5.5.0, so every client built against 5.5.0 stays wire-compatible. 5.5.1 was an angular-only client release and is skipped here so that the API and all eleven SDKs share one version again.
- All eleven
ondewo-sip-client-<language>SDKs (python, nodejs, typescript, angular, js, cpp, csharp, go, java, php, rust) are released from this repository.make release_all_clientsruns every client's read-onlyrelease_preflightfirst and releases nothing if one fails, then releases them in parallel; a client counts as released only when itsrelease_verifyconfirms the tag, a non-empty GitHub release and the registry serving the version. - The release driver clones ondewo-devops-accounts once per run into a private temporary directory and deletes it on every exit path, pins the proto compiler (5.15.7) instead of taking the newest tag, rewrites only anchored version assignments, and reports a half-finished client release as FAILED instead of SKIP.
- Release credentials are passed through the environment, never on a command line.
- The documentation deploy checks out the pushed commit detached, so it no longer logs git errors.
SDK fixes released with 5.5.2
- Every SDK implements the same release contract: a read-only preflight (credentials, version new on origin and on the registry, release notes present, host tools), the test suite as a gate before anything is committed, publish to the registry before anything is pushed to origin, and a read-only verification afterwards.
- API-surface tests in every SDK are derived from the pinned protos or the generated descriptors instead of hand-written RPC lists, so a new API release moves them with it.
- nodejs: the npm package no longer ships the auth TypeScript sources or
*.spec.tsfiles, so a consumer's stricttscno longer type-checks them. - nodejs, typescript, js: eslint 10; a build no longer silently downgrades eslint by re-resolving dev dependencies.
- angular: prettier no longer reformats the generated
index.d.tsandpublic-api.ts, so the committed typings stay byte-identical to the published ones; a dry run of the release clones and reads nothing. - cpp: a single uploader for the release asset, verified by sha256, and pinned gh and toolchain images.
- csharp: nuget.org is verified to serve the package before anything is pushed.
- go: the module is served by the Go proxy before the GitHub release is created.
- rust: the release waits for crates.io to serve the crate.
Release 5.5.0
Release ONDEWO SIP API 5.5.0
New Features
- [OND233-367] Answering machine detection: status
OUTGOING_CALL_ANSWERING_MACHINE_DETECTED = 22(not terminal),AnsweringMachineDetectionResult(verdict, cause, confidence, decision time, rule and cue ids, action taken, call id),SipStatus.amd_result(field 11),SipEndCallRequest.end_reasonwithANSWERING_MACHINE/ANSWERING_MACHINE_VOICE_MESSAGE_LEFTandSipEndCallRequest.amd_result, and the in-containerSipReportAnsweringMachineDetectedRPC. - [OND233-367] Call identity:
SipStatus.call_id(field 12), minted per call fromX-ondewo-vtsi-caller-call-idor a random UUID. Clients scope a request to the call with thex-ondewo-expected-call-idgRPC metadatum; a present but different value is refused (CallScopeMismatch) onSipTransferCall,SipMute,SipUnMuteandSipPlayWavFiles, and required on the new RPCs. - [OND233-367]
SipSetCallMediaControl: call-scoped operator media control (mute the bot, pause its listening) as per-owner holds (MediaControlSetting,MediaControlOwner,SipSetCallMediaControlRequest). Requires thex-ondewo-expected-call-idandx-ondewo-sip-call-control-tokenmetadata. The effective level is reported inSipStatus.bot_muted(13) andSipStatus.listening_paused(14). - [OND233-367]
SipSetCallMediaControlRequest.participants_present(field 4, participant owner only): while invited participants ring or are joined,SipTransferCallis refused withexception_name=ParticipantsPresent(reason=participants-present), because a REFER into a conference bridge transfers every party in it. Marking participants present while a transfer is in flight is refused withTransferInProgress. - [OND233-367]
SipStreamCallAudio: bidirectional live call audio (LISTEN, or TALK with a mandatory bot take-over), LINEAR16 mono 20 ms frames at 8 or 16 kHz (SipCallAudioConfig,SipCallAudioFrame,SipCallAudioRequest,SipCallAudioResponse,SipCallAudioStarted,SipCallAudioStats,SipCallAudioEnded,SipCallAudioMode,SipCallAudioEndReason). Connected streams are counted inSipStatus.call_audio_streams(15). - [OND233-367] Truthful transfers:
SipTransferCallRequest.outcome_timeout_ms(field 3).0keeps the legacy REFER-then-hangup flow; a positive value waits for the REFER outcome, keeps the call on a refusal or timeout and reports the SIP code inSipStatus.sip_response_code(16). NewSipEndCallRequest.EndCallReason.END_CALL_REASON_TRANSFERRED = 3for a completed WARM transfer; the call then ends as*_CALL_FINISHEDwith the descriptionCall transferred.
Improvements
- Documented that Asterisk does not forward the headers of a REFER to the transfer target.
- [OND211-2443]
SipGetSipStatusandSipGetSipStatusHistorydeclareoption idempotency_level = NO_SIDE_EFFECTS(they serve copies of the status taken under its lock), so clients built on ondewo-client-utils retry them on transient errors without a name-based allowlist. Every otherSipRPC is left unmarked on purpose; the reason is noted on each RPC. - Purely additive: no field, enum value or RPC was renumbered or removed, and no
SipStatus.StatusTypevalue was added beyond the answering machine status, so a client built against 5.4.0 stays wire-compatible.
Release 5.4.0
Release ONDEWO SIP API 5.4.0
Improvements
- [OND211-2418] Added Jenkins multibranch-scan guidance in CLAUDE.md and fixed pre-commit hook order for conventional commit validation
Release 5.3.0
Release ONDEWO SIP API 5.3.0
Improvements
- Added async support to SIP API client [[5.2.0]](
Release 5.2.0
Release 5.1.0
Release 5.0.0
Release ONDEWO SIP API 5.0.0
Improvements
- Prefix endpoints with "Sip"
Release 4.0.0
Release ONDEWO SIP API 4.0.0
Improvements
- Synchronize API Client Versions
Release 3.3.0
Release ONDEWO SIP API 3.3.0
New Features
- Added further SipStatus states including description and exception details as fields
- [OND236-20] - Refactor SIP and provide better API interfaces and
documentation