Asterisk Project : Asterisk 14 Function_PJSIP_CONTACT

PJSIP_CONTACT()

Synopsis

Get information about a PJSIP contact

Description

Syntax

PJSIP_CONTACT(name,field)
Arguments
  • name - The name of the contact to query.
  • field - The configuration option for the contact to query for. Supported options are those fields on the contact object.
    • type - Must be of type 'contact'.
    • uri - SIP URI to contact peer
    • expiration_time - Time to keep alive a contact
    • qualify_frequency - Interval at which to qualify a contact
    • qualify_timeout - Timeout for qualify
    • authenticate_qualify - Authenticates a qualify request if needed
    • outbound_proxy - Outbound proxy used when sending OPTIONS request
    • path - Stored Path vector for use in Route headers on outgoing requests.
    • user_agent - User-Agent header from registration.
    • endpoint - Endpoint name
    • reg_server - Asterisk Server name
    • via_addr - IP-address of the last Via header from registration.
    • via_port - IP-port of the last Via header from registration.
    • call_id - Call-ID header from registration.

See Also

Import Version

This documentation was imported from Asterisk Version GIT-master-7d17164