Skip to content
Snippets Groups Projects
  1. Nov 12, 2018
  2. Nov 07, 2018
    • Chris-Savinovich's avatar
      res_pjsip: Send a 503 response when overload state if reliable transport. · a3fc97aa
      Chris-Savinovich authored
      When Asterisk's taskprocessors get overloaded we need to reduce the work
      load. res_pjsip currently ignores new SIP requests and relies on SIP
      retransmissions in the hope that the overload condition will clear soon
      enough to handle the retransmitted SIP request.
      This change adds the following code after ast_taskprocessor_alert_get()
      has returned TRUE:
      1- identifies transport type. If non-udp then send a 503 response
      2- if transport type is udp/udp6 then ignore, as before.
      
      Change-Id: I1c230b40d43a254ea0f226b7acf9ee480a5d3836
      a3fc97aa
    • Joshua Colp's avatar
      Merge "stasis: Clarify lifetime of topics." · d3bc9e67
      Joshua Colp authored
      d3bc9e67
  3. Nov 06, 2018
    • Kevin Harwell's avatar
      res_pjsip: formatting error in documentation · fdca9cb6
      Kevin Harwell authored
      The use of a '|' in the "global/debug" synopsis documentation caused the
      generated html table on the wiki to add an extra column that included the
      text after the pipe.
      
      This patch replaces the pipe with a comma.
      
      ASTERISK-28150
      
      Change-Id: I3d79a6ca6d733d9cb290e779438114884b98a719
      fdca9cb6
    • Alexei Gradinari's avatar
      res_pjsip.c: Make taskprocessor scheduling algorithm pick the shortest queue · 5f3f7077
      Alexei Gradinari authored
      The current round-robin method does not take the current taskprocessor
      load into consideration when distributing requests.  Using the least-size
      method the request goes to the taskprocessor that is servicing the least
      number of active tasks at the current time.
      
      Longer running tasks with the round-robin method can delay processing
      tasks.
      
      * Change the algorithm from round-robin to least-size for picking the
      PJSIP taskprocessor from the default serializer pool.
      
      Change-Id: I7b8d8cc2c2490494f579374b6af0a4868e3a37cd
      5f3f7077
  4. Nov 05, 2018
    • George Joseph's avatar
    • Joshua Colp's avatar
      stasis: Clarify lifetime of topics. · bf579222
      Joshua Colp authored
      As mentioned in the comment I've added in the code there is no
      ability to unsubscribe all subscribers from a topic and explicitly
      destroy it. This is not currently a problem as we have two types of
      topics:
      
      Long lived topics which exist for the lifetime of the system.
      Ephemeral topics which feed a long lived topic.
      
      In the case of the ephemeral topics there is no subscriber which does
      not have its lifetime managed by the same entity that has created
      the topic. This ensures that when the topic is being unreferenced the
      subscribers are also unsubscribed and destroyed, allowing the topic
      to ultimately be destroyed as well.
      
      Change-Id: Ic5e244da7b16b1895ba1fc5ece481ebba5809c9a
      bf579222
  5. Nov 02, 2018
  6. Nov 01, 2018
    • Pascal Cadotte Michaud's avatar
      contrib/sip_to_pjsip: add a --quiet option to avoid prints · ebff81e3
      Pascal Cadotte Michaud authored
      Using the --quiet or -q option in conjonction with /dev/stdout as the output
      file allow the output to be used as a valid configuration.
      
      Given a script that generates a valid sip.conf I can pipe the output of that
      script into `sip_to_pjsip.py -q /dev/stdin /dev/stdout`. This allow me to use
      that piped command in my pjsip.conf using the `exec` command.
      
      ASTERISK-28136
      
      Change-Id: I7b0e2e90e2549f3f8e01dc96701f111b5874c88d
      Unverified
      ebff81e3
  7. Oct 31, 2018
  8. Oct 30, 2018
  9. Oct 29, 2018
  10. Oct 27, 2018
    • Alexei Gradinari's avatar
      res_pjsip_notify: improve realtime performance on CLI completion on the endpoint · e407b8af
      Alexei Gradinari authored
      The module 'res_pjsip_notify' inefficiently makes a lot of DB requests
      on CLI completion on the endpoint.
      
      For example if there are 10k endpoints the module makes 10k requests
      of these 10k records.
      
      Even if a part of the endpoint entered
      the module makes the same 10k requests and then filtered them by itself.
      
      This patch gathers endpoints container by prefix
      and adds all gathered endpoints to completion at once.
      
      ASTERISK-28137 #close
      
      Change-Id: Ic20024912cc77bf4d3e476c4cd853293c52b254b
      e407b8af
  11. Oct 26, 2018
    • Torrey Searle's avatar
      res_pjsip_session: add new flag use_callerid_contact · cac4ccef
      Torrey Searle authored
      Add a new global flag to res_pjsip to allow the callerid to be used
      as the username in the contact header.  This allows chan_pjsip to have
      the same behavour as chan_sip
      
      ASTERISK-28087 #close
      
      Change-Id: I9a720e058323f6862a91c62f8a8c1a4b5c087b95
      cac4ccef
  12. Oct 25, 2018
  13. Oct 24, 2018
    • Richard Mudgett's avatar
      logger.c: Fix default console logging when no logger.conf available. · 1b397ebd
      Richard Mudgett authored
      Default logging was not setup correctly when there was no logger.conf.
      This resulted in many expected log messages not actually getting out to
      the console.
      
      Change-Id: I542e61c03b2f630ff5327f9de5641d776c6fa70c
      1b397ebd
    • Alexei Gradinari's avatar
      app_dial/queue/followme: 'I' options to block initial updates in both directions · 4a567cee
      Alexei Gradinari authored
      The 'I' option currently blocks initial CONNECTEDLINE or REDIRECTING updates
      from the called parties to the caller.
      
      This patch also blocks updates in the other direction before call is
      answered.
      
      ASTERISK-27980
      
      Change-Id: I6ce9e151a2220ce9e95aa66666933cfb9e2a4a01
      4a567cee
    • Richard Mudgett's avatar
      modules.conf.sample: Update preload usage documentation. · 96d5e444
      Richard Mudgett authored
      Change-Id: Id449d4435c38148b56ac4cfd61ae4d90ac66bb90
      96d5e444
    • George Joseph's avatar
      bridge_softmix: Add SDP "label" attribute to streams · 8d1c6bb6
      George Joseph authored
      Adding the "label" attribute used for participant info correlation
      was previously done in app_confbridge but it wasn't working
      correctly because it didn't have knowledge about which video
      streams belonged to which channel.  Only bridge_softmix has that
      data so now it's set when the bridge topology is changed.
      
      ASTERISK-28107
      
      Change-Id: Ieddeca5799d710cad083af3fcc3e677fa2a2a499
      8d1c6bb6
    • George Joseph's avatar
    • Sean Bright's avatar
      func_callerid: Remove deprecated CALLERPRES() function. · 056ca074
      Sean Bright authored
      Change-Id: Ia1b2b386505b3102136dab02c45eaaf09f0f89c5
      056ca074
    • Nick French's avatar
      res_pjsip: Implement additional SIP RFCs for Google Voice trunk compatability · 37b2e686
      Nick French authored
      This change implements a few different generic things which were brought
      on by Google Voice SIP.
      
      1.  The concept of flow transports have been introduced.  These are
      configurable transports in pjsip.conf which can be used to reference a
      flow of signaling to a target.  These have runtime configuration that can
      be changed by the signaling itself (such as Service-Routes and
      P-Preferred-Identity).  When used these guarantee an individual connection
      (in the case of TCP or TLS) even if multiple flow transports exist to the
      same target.
      
      2.  Service-Routes (RFC 3608) support has been added to the outbound
      registration module which when received will be stored on the flow
      transport and used for requests referencing it.
      
      3.  P-Associated-URI / P-Preferred-Identity (RFC 3325) support has been
      added to the outbound registration module.  If a P-Associated-URI header
      is received it will be used on requests as the P-Preferred-Identity.
      
      4.  Configurable outbound extension support has been added to the outbound
      registration module.  When set the extension will be placed in the
      Supported header.
      
      5.  Header parameters can now be configured on an outbound registration
      which will be placed in the Contact header.
      
      6.  Google specific OAuth / Bearer token authentication
      (draft-ietf-sipcore-sip-authn-02) has been added to the outbound
      registration module.
      
      All functionality changes are controlled by pjsip.conf configuration
      options and do not affect non-configured pjsip endpoints otherwise.
      
      ASTERISK-27971 #close
      
      Change-Id: Id214c2d1c550a41fcf564b7df8f3da7be565bd58
      37b2e686
Loading