Skip to content
Snippets Groups Projects
  1. Mar 23, 2017
    • Kevin Harwell's avatar
      pjproject_bundled: raise timeout value used when downloading · 12dde3b5
      Kevin Harwell authored
      After configuring Asterisk with '--with-pjproject-bundled' the configure/build
      process attempts to download pjproject from its download site. Currently, a
      timeout of 10 seconds is used that will stop the download process if pjproject
      has not been fully downloaded in that time. For some systems this was not enough
      time and the process was timing out too early.
      
      This patch raises the download timeout value to '60'. Also, this patch fixes
      another bug where the DOWNLOAD_TIMEOUT variable was not being properly exported
      due to a naming error. DOWNLOAD_MAX_TIMEOUT is now properly renamed to
      DOWNLOAD_TIMEOUT.
      
      ASTERISK-26814 #close
      
      Change-Id: Ia56e4e8a3d39db76bc8a1852b2cf07ec10b39842
      12dde3b5
  2. Mar 22, 2017
  3. Mar 21, 2017
  4. Mar 20, 2017
  5. Mar 19, 2017
  6. Mar 18, 2017
  7. Mar 17, 2017
  8. Mar 16, 2017
    • Richard Mudgett's avatar
      app_confbridge: Fix ConfbridgeTalking AMI event description. · 57656e2b
      Richard Mudgett authored
      Thanks to Chris Howard for pointing this out on the wiki.
      
      Change-Id: I18e56de09a70e736b5d04719d45ef29cf0636705
      57656e2b
    • Richard Mudgett's avatar
      res_pjsip_asterisk.c: Fix compile error if libsrtp is not installed. · 82982a19
      Richard Mudgett authored
      struct ast_rtcp does not define the dtls member if SRTP is not enabled.
      
      ASTERISK-26732
      
      Change-Id: Id15ea212e04490e012f2cf4a56818b4dd948875e
      82982a19
    • Joshua Colp's avatar
      Merge "res_pjsip: Symmetric transports" · 732367e8
      Joshua Colp authored
      732367e8
    • Richard Mudgett's avatar
      res_pjsip_sdp_rtp.c: Fix cut-n-paste error · 49b1f1ca
      Richard Mudgett authored
      We were inadvertenly referencing the cos_video option to determine if we
      should set the tos_audio and cos_audio value on the RTP instance.
      
      Change-Id: Ia7964f486801d39dc6f5dae570baff079e1595b0
      49b1f1ca
    • Matt Jordan's avatar
      res/res_pjsip_session: Only check localnet if it is defined · e6dc28b7
      Matt Jordan authored
      If local_net is not defined on a transport, transport_state->localnet
      will be NULL. ast_apply_ha will, be default, return AST_SENSE_ALLOW in
      this case, causing the external_media_address, if set, to be skipped.
      
      This patch causes us to only check if we are sending within a network if
      local_net is defined.
      
      ASTERISK-26879 #close
      
      Change-Id: Ib661c31a954cabc9c99f1f25c9c9a5c5b82cbbfb
      e6dc28b7
    • Joshua Colp's avatar
      Merge "RFC sdp: Initial SDP creation" · 76e64f55
      Joshua Colp authored
      76e64f55
    • Richard Begg's avatar
      res_pjsip_sdp_rtp: RTP instance does not use same IP as explicit transport · 44568fc7
      Richard Begg authored
      Currently a wildcard address is used for the local RTP socket, which
      will not always result in the same address as used by the SIP socket
      (e.g. if explicit transport addresses are configured).
      Use the transport's host address when binding new local RTP sockets if
      available.
      
      ASTERISK-26851
      
      Change-Id: I098c29c9d1f79a4f970d72ba894874ac75954f1a
      44568fc7
    • George Joseph's avatar
      res_pjsip: Symmetric transports · 5013d8f5
      George Joseph authored
      A new transport parameter 'symmetric_transport' has been added.
      
      When a request from a dynamic contact comes in on a transport with
      this option set to 'yes', the transport name will be saved and used
      for subsequent outgoing requests like OPTIONS, NOTIFY and INVITE.
      It's saved as a contact uri parameter named 'x-ast-txp' and will
      display with the contact uri in CLI, AMI, and ARI output.  On the
      outgoing request, if a transport wasn't explicitly set on the
      endpoint AND the request URI is not a hostname, the saved transport
      will be used and the 'x-ast-txp' parameter stripped from the
      outgoing packet.
      
      * config_transport was modified to accept and store the new parameter.
      
      * config_transport/transport_apply was updated to store the transport
        name in the pjsip_transport->info field using the pjsip_transport->pool
        on UDP transports.
      
      * A 'multihomed_on_rx_message' function was added to
        pjsip_message_ip_updater that, for incoming requests, retrieves the
        transport name from pjsip_transport->info and retrieves the transport.
        If transport->symmetric_transport is set, an 'x-ast-txp' uri parameter
        containing the transport name is added to the incoming Contact header.
      
      * An 'ast_sip_get_transport_name' function was added to res_pjsip.
        It takes an ast_sip_endpoint and a pjsip_sip_uri and returns a
        transport name if endpoint->transport is set or if there's an
        'x-ast-txp' parameter on the uri and the uri host is an ipv4 or
        ipv6 address.  Otherwise it returns NULL.
      
      * An 'ast_sip_dlg_set_transport' function was added to res_pjsip
        which takes an ast_sip_endpoint, a pjsip_dialog, and an optional
        pjsip_tpselector.  It calls ast_sip_get_transport_name() and if
        a non-NULL is returned, sets the selector and sets the transport
        on the dialog.  If a selector was passed in, it's updated.
      
      * res_pjsip/ast_sip_create_dialog_uac and ast_sip_create_dialog_uas
        were modified to call ast_sip_dlg_set_transport() instead of their
        original logic.
      
      * res_pjsip/create_out_of_dialog_request was modified to call
        ast_sip_get_transport_name() and pjsip_tx_data_set_transport()
        instead of its original logic.
      
      * Existing transport logic was removed from endpt_send_request
        since that can only be called after a create_out_of_dialog_request.
      
      * res_pjsip/ast_sip_create_rdata was converted to a wrapper around
        a new 'ast_sip_create_rdata_with_contact' function which allows
        a contact_uri to be specified in addition to the existing
        parameters.  (See below)
      
      * res_pjsip_pubsub/internal_pjsip_evsub_send_request was eliminated
        since all it did was transport selection and that is now done in
        ast_sip_create_dialog_uac and ast_sip_create_dialog_uas.
      
      * 'contact_uri' was added to subscription_persistence.  This was
        necessary because although the parsed rdata contact header has the
        x-ast-txp parameter added (if appropriate),
        subscription_persistence_update stores the raw packet which
        doesn't have it.  subscription_persistence_recreate was then
        updated to call ast_sip_create_rdata_with_contact with the
        persisted contact_uri so the recreated subscription has the
        correct transport info to send the NOTIFYs.
      
      * res_pjsip_session/internal_pjsip_inv_send_msg was eliminated since
        all it did was transport selection and that is now done in
        ast_sip_create_dialog_uac.
      
      * pjsip_message_ip_updater/multihomed_on_tx_message was updated
        to remove all traces of the x-ast-txp parameter from the
        outgoing headers.
      
      NOTE:  This change does NOT modify the behavior of permanent
      contacts specified on an aor.  To do so would require that the
      permanent contact's contact uri be updated with the x-ast-txp
      parameter and the aor sorcery object updated.  If we need to
      persue this, we need to think about cloning permanent contacts into
      the same store as the dynamic ones on an aor load so they can be
      updated without disturbing the originally configured value.
      
      You CAN add the x-ast-txp parameter to a permanent contact's uri
      but it would be much simpler to just set endpoint->transport.
      
      Change-Id: I4ee1f51473da32ca54b877cd158523efcef9655f
      5013d8f5
    • Joshua Colp's avatar
      res_rtp_asterisk: Fix crash when RTCP is not present when DTLS is stopped. · 68749a9f
      Joshua Colp authored
      This change removes an assumption that when DTLS is stopped
      an RTCP session will be present on the RTP session. This is not
      always the case.
      
      ASTERISK-26732
      
      Change-Id: Ib9f7c09ce0b005efe362dbcc8795202b18f94611
      68749a9f
    • Joshua Colp's avatar
      Merge "Add rtcp-mux support" · 84f0871c
      Joshua Colp authored
      84f0871c
Loading