Domain types
Shared Asterisk constants are modeled in
asterisk_rs_core::types.
Rustdoc is the canonical inventory of types, variants, numeric conversions, and string parsing.
Use these types when a protocol boundary has a closed or meaningfully classified value set:
HangupCausefor Q.850/Q.931 cause codes;ChannelState,DeviceState, andExtensionStatefor observed state;DialStatusandCdrDispositionfor call outcomes;PeerStatusandQueueStrategyfor peer and queue state;AgiStatusfor numeric AGI response status.
Unknown or combined wire values are preserved where the protocol requires forward compatibility. Consult each type’s rustdoc for its exact conversion behavior rather than matching a copied table.