Skip to content
Snippets Groups Projects
  1. May 11, 2016
  2. May 10, 2016
  3. May 09, 2016
  4. May 06, 2016
  5. May 05, 2016
    • Kevin Harwell's avatar
      res_pjsip_outbound_publish: state potential dropped on reloads/realtime fetches · 64e058f7
      Kevin Harwell authored
      When reloading, or fetching realtime data, if the "apply" failed for any
      numerous reasons the current state object would not be maintained. This
      potentially resulted in publishes being stopped for some states/clients when
      they should not have been.
      
      This patch makes it so the current state object is kept upon any type of reload/
      fetch failures.
      
      Change-Id: Iab6020c116d628ed2ae81183e987e2eaa3c90b30
      64e058f7
    • Kevin Harwell's avatar
      res_pjsip_outbound_publishing: After unloading the library won't load again · adc82a22
      Kevin Harwell authored
      The same thing was happening in res_pjsip_publish_asterisk. When the library
      was unloaded it did not unregister the object type from sorcery. Subsequent
      loads resulted in a failed load due to the sorcery type already existing.
      
      Change-Id: Ifdc25e94e4cd40bc5a19eb4d0a00b86c2e9fedc9
      adc82a22
    • Kevin Harwell's avatar
      res_pjsip_outbound_publish: Won't unload if condition wait times out · 3b0ce516
      Kevin Harwell authored
      When res_pjsip_outbound_publish unloads it has to wait for all current
      publishing objects to get done. However if the wait condition times out
      then it does not fail the unload. This sometimes results in an infinite
      loop check while unloading. This patch now fails the unload operation if
      the condition times out.
      
      Change-Id: Id57b8cbed9d61222690fcba1e4f18e259df4c7ec
      3b0ce516
    • Kevin Harwell's avatar
      res_pjsip_outbound_publish: Ref leak in off nominal callback paths · 41fccbfe
      Kevin Harwell authored
      There were a few spots where the client object's reference was being leaked in
      sip_outbound_publish_callback. This patch cleans up those leaks.
      
      Change-Id: I485d0bc9335090f373026f77c548042e258461df
      41fccbfe
    • Kevin Harwell's avatar
      res_pjsip_outbound_publish: Potential crash due to off nominal path · dfbb03cc
      Kevin Harwell authored
      It was possible for the explicit publish destroy function to be called without
      the pjsip client ever being initialized. This fix checks to make sure there is
      a client to destroy before attempting.
      
      Change-Id: I8eea1bfa3bd472149bfc255310be2a6248688f5c
      dfbb03cc
    • Joshua Colp's avatar
      file: Ensure nativeformats remains valid for lifetime of use. · 17b6ba49
      Joshua Colp authored
      It is possible for the nativeformats of a channel to change
      throughout its lifetime. As a result a user of it needs to either
      ensure the channel is locked when accessing the formats or keep
      a reference to the nativeformats themselves.
      
      This change fixes the file playback support so it keeps a
      reference to the nativeformats when accessing things.
      
      ASTERISK-25998 #close
      
      Change-Id: Ie45b65475e1481ddf05b874ee48f63e39fff8915
      17b6ba49
    • Alexei Gradinari's avatar
      res_pjsip: improve realtime performance · cc4c5f56
      Alexei Gradinari authored
      This patch modified pjsip_options to retrieve only
      permament contacts for aor if the qualify_frequency is > 0
      and persisted contacts if the qualify_frequency is > 0.
      
      This patch also fixed a bug in res_sorcery_astdb.
      res_sorcery_astdb doesn't save object data retrived from astdb.
      
      ASTERISK-25826
      
      Change-Id: I1831fa46c4578eae5a3e574ee3362fddf08a1f05
      cc4c5f56
    • Alexei Gradinari's avatar
      res_fax/t38_gateway: Peer V.21 session is created on wrong channel · 92f85fe7
      Alexei Gradinari authored
      The channel and peer V.21 sessions are created on the same channel now.
      The peer V.21 session should be created only on peer channel
      when one of channel can handle T.38.
      
      Also this patch enable debug for T.38 gateway session
      if global fax debug enabled.
      
      ASTERISK-25982
      
      Change-Id: I78387156ea521a77eb0faf170179ddd37a50430e
      92f85fe7
    • Alexei Gradinari's avatar
      pjsip: Added "reg_server" to contacts (fixed alembic) · 4df48581
      Alexei Gradinari authored
      ASTERISK-25931
      
      Change-Id: Icc4321a88f5c93ff809da3f372eebbf69c6a8549
      4df48581
    • Chris Trobridge's avatar
      config_options.c: Expand #ifdef to contain whole if statement. · 02f4ca10
      Chris Trobridge authored
      ASTERISK-25956 #close
      
      Change-Id: If6961ec54be276d5ab4f012ee7e7b420cb45de38
      02f4ca10
  6. May 04, 2016
  7. May 03, 2016
    • Jean Aunis's avatar
      app_chanspy: fix audiohook options in non read-only mode · 0c9faaee
      Jean Aunis authored
      When option 'o' was not set, ChanSpy created its audiohook with the flag
      AST_AUDIOHOOK_MUTE_WRITE, which caused ChanSpy to listen audio from one
      direction only.
      
      ASTERISK-25866 #close
      
      Change-Id: I5c745855eea29a3fbc4e4aed0b0c0f53580535e0
      0c9faaee
    • Alexei Gradinari's avatar
      res_pjsip/AMI: add contact.updated event · a4cfcda0
      Alexei Gradinari authored
      With the old SIP module AMI sends PeerStatus event on every
      successfully REGISTER requests, ie, on start registration,
      update registration and stop registration.
      
      With PJSIP AMI sends ContactStatus only when status is changed.
      Regarding registration:
      on start registration - Created
      on stop registration - Removed
      but on update registration nothing
      
      This patch added contact.updated event.
      
      ASTERISK-25904
      
      Change-Id: I8fad8aae9305481469c38d2146e1ba3a56d3108f
      a4cfcda0
Loading