(Re)Design of PJSUA API
Global Settings
Base settings
Global settings:
- Nameservers
- Max calls
- SIP worker thread count
- Outbound proxies
- Outbound proxy credentials
- STUN settings:
- Domain
- Host
- Put NAT type in outgoing SDP
- Default extension:
- 100rel
- User agent string
- Default SRTP settings
Logging Config
Logging config:
- Enable SIP message logging
- Input verbosity level
- Console output verbosity level
- Decoration
- Log file name
- Logging callback
Accounts Settings
Account settings:
- General:
- Account priority
- SIP settings:
- SIP AOR for this account
- Registration settings:
- Registrar URI
- Credentials (realm, username, password)
- Registration timeout
- Transport settings
- Enable STUN
- Keep-alive setting
- Pre-loaded route set
- Disable registration contact auto update
- Presence settings
- Enable PUBLISH
- Optional PIDF tuple ID
- SIP extensions:
- Enable 100rel
- authentication preference (IMS)
- Media settings:
- STUN setting:
- Enable STUN
- TURN setting:
- Enable TURN (when enabled and ICE is not used, TURN transport will override all transports)
- Server address/domain
- Credential (realm, username, password)
- Client transport type {UDP/TCP/TLS}
- TLS certificate setting
- Keep-alive interval for UDP
- Keep-alive interval for TCP/TLS
- Enable ICE
- Enable RTCP
- SRTP
- Enable SRTP
- SRTP secure signaling requirement
- Codec settings
- Codec priorities
- Quality settings
- STUN setting:
Callbacks
Callbacks:
- on_call_state
- on_incoming_call
- on_call_tsx_state
- on_call_media_state
- on_stream_created
- on_stream_destroyed
- on_dtmf_digit
- on_call_transfer_request
- on_call_transfer_status
- on_call_replace_request
- on_call_replaced
- on_reg_state
- on_incoming_subscribe
- on_buddy_state
- on_pager2
- on_pager_status2
- on_typing
- on_nat_detect
Last modified 17 years ago
Last modified on Mar 22, 2008 9:06:22 AM