Skip to content
Snippets Groups Projects
  1. Jun 08, 2016
    • Timo Teräs's avatar
      Fixes to include signal.h · 39b69ab5
      Timo Teräs authored
      POSIX defines signal.h. sys/signal.h should not be used as it is
      c-library internal header which may or may not exist. Notably with
      musl it generates warning of being incorrect.
      
      Change-Id: Ia56b0aa1d84b5c590114867b1b384a624f39a6fc
      39b69ab5
  2. Jun 03, 2016
  3. Jun 01, 2016
  4. May 31, 2016
  5. May 30, 2016
    • George Joseph's avatar
      pjproject_bundled: Move to pjproject 2.5 · 7fa57667
      George Joseph authored
      Although all the patches we had against 2.4.5 were applied by Teluu,
      a new bug was introduced preventing re-use of tcp and tls transports
      This patch removes all the previous patches against 2.4.5, updates
      the version to 2.5, and adds a new patch to correct the transport
      re-use problem.
      
      Change-Id: I0dc6c438c3910f7887418a5832ca186aea23d068
      7fa57667
  6. May 27, 2016
    • Rusty Newton's avatar
      res_pjsip: Add clarifying documentation to PJSIP_HEADER help text · b56f6118
      Rusty Newton authored
      Added notes about when you can read or write headers. Specifically
      about being able to read on the inbound channel and write on an
      outbound channel.
      
      ASTERISK-26063 #close
      Reported by: Private Name
      Tested by: Rusty Newton
      
      Change-Id: Ibeb64af17d1f6451028b3c29855a3f151a01d8c5
      b56f6118
    • Mark Michelson's avatar
      multicast RTP: Add dialing options · bb0f4a63
      Mark Michelson authored
      This adds a new parameter to the end of a multicast RTP dialing string.
      This parameter defines the following options:
      
      * i: Set the interface from which multicast RTP is sent
      * l: Set whether multicast packets are looped back to the sender
      * t: Set the TTL for multicast packets
      * c: Set the codec to use for RTP
      
      ASTERISK-26068 #close
      Reported by Mark Michelson
      
      Change-Id: I033b706b533f0aa635c342eb738e0bcefa07e219
      bb0f4a63
    • Mark Michelson's avatar
      ARI: Re-implement the ARI dial command, allowing for early bridging. · 88d99791
      Mark Michelson authored
      ARI dial had been implemented using the Dial API. This made great sense
      when dialing was 100% separate from bridging. However, if a channel were
      to be added to a bridge during the dial attempt, there would be a
      conflict between the dialing thread and the bridging thread. Each would
      be attempting to read frames from the dialed channel and act on them.
      
      The initial attempt to make the two play nice was to have the Dial API
      suspend the channel in the bridge and stay in charge of the channel
      until the dial was complete. The problem with this was that it was
      riddled with potential race conditions. It also was not well-suited for
      the case where the channel changed which bridge it was in during the
      dial.
      
      This new approach removes the use of the Dial API altogether. Instead,
      the channel we are dialing is placed into an invisible ARI dialing
      bridge. The bridge channel thread handles incoming frames from the
      channel. If the channel is added to a real bridge, it is departed from
      the invisible bridge and then added to the real bridge. Similarly, if
      the channel is removed from the real bridge, it is automatically added
      back to the invisible bridge if the dial attempt is still active.
      
      This approach keeps the threading simple by always having the channel
      being handled by bridge channel threads.
      
      ASTERISK-25925
      
      Change-Id: I7750359ddf45fcd45eaec749c5b3822de4a8ddbb
      88d99791
  7. May 26, 2016
    • zuul's avatar
    • Alexei Gradinari's avatar
      res_pjsip: add "via_addr", "via_port", "call_id" to contact · 31f17abe
      Alexei Gradinari authored
      As res_pjsip_nat rewrites contact's address, only the last Via header
      can contain the source address of registered endpoint.
      Also Call-Id header may contain the source address of registered
      endpoint.
      
      Added "via_addr", "via_port", "call_id" to contact.
      Added new fields ViaAddress, CallID to AMI event ContactStatus.
      
      ASTERISK-26011
      
      Change-Id: I36bcc0bf422b3e0623680152d80486aeafe4c576
      31f17abe
    • Alexei Gradinari's avatar
      res_pjsip: chatty verbose messages · 574c9e77
      Alexei Gradinari authored
      There are a lot of verbose messages about Endpoint and Contact status
      changes if there are many dynamic endpoints.
      The patch sets verbose level 2 for Endpoint status changes
      and verbose level 3 for Contact status changes.
      
      ASTERISK-26055 #close
      
      Change-Id: Ie64e261ddbbc41bfff0f0190241152cc123fe6d7
      574c9e77
    • Alexei Gradinari's avatar
      app_voicemail: fix bugs, imap mm_status log change to debug · b3142e99
      Alexei Gradinari authored
      Fixed some bugs:
      - create dirpath when save downloading message from IMAP storage.
      - create IMAP folder if not exists when saving to IMAP storage
      - check if file successfully opened before write to it
      - some IMAP checks
      - remove non-standard flag 'Unseen'
      etc
      
      Change to debug IMAP mm_status log instead of verbose.
      
      Remove unused X-Asterisk-VM-Caller-channel message header
      for security reason. The clients should not know name of peer/endpoint.
      
      ASTERISK-26045 #close
      
      Change-Id: I7f83d88b69b36934e2539c114b9fb612deed971b
      b3142e99
    • Richard Mudgett's avatar
      pjsip_distributor.c: Use correct rdata info access method. · 7d44d128
      Richard Mudgett authored
      The pjproject doxygen for rdata->msg_info.info says to call
      pjsip_rx_data_get_info() instead of accessing the struct member directly.
      You need to call the function mostly because the function will generate
      the struct member value if it is not already setup.
      
      Change-Id: Iafe8b01242b7deb0ebfdc36685e21374a43936d2
      7d44d128
    • Tzafrir Cohen's avatar
      followme: allow disabling callee prompt · 1d60bfcd
      Tzafrir Cohen authored
      
      Add the option 'enable_callee_prompt' to followme.conf. Enabled by
      default. If disabled, a callee is not prompted to accept or reject
      the forwarded call.
      
      ASTERISK-26064 #close
      
      Change-Id: I0a8b19d4cf95c86a07c992813babb9e4a4acfff5
      Signed-off-by: default avatarTzafrir Cohen <tzafrir.cohen@xorcom.com>
      1d60bfcd
  8. May 25, 2016
  9. May 24, 2016
    • Corey Farrell's avatar
      threadpool: Fix potential data race. · 80ff2c25
      Corey Farrell authored
      worker_start checked for ZOMBIE status without holding a lock.  All
      other read/write of worker status are performed with a lock, so this
      check should do the same.
      
      ASTERISK-25777 #close
      
      Change-Id: I5e33685a5c26fdb300851989a3b82be8c4e03781
      80ff2c25
    • Joshua Colp's avatar
    • Joshua Colp's avatar
      res_pjsip_outbound_publish: Ensure publish is valid when explicitly destroying. · 070eab6e
      Joshua Colp authored
      Recent changes to res_pjsip_outbound_publish have introduced a
      race condition at shutdown where an outbound publish may be shutdown
      twice. In this case the first succeeds as a result of the unpublish.
      In the second invocation since it's been unpublished a task is
      queued to just destroy the client. This task holds no ref to the
      publish and as a result the publish may be destroyed before the
      task is run, causing a crash.
      
      This explicit destruction task now holds a reference to the publish
      to ensure it remains valid.
      
      ASTERISK-26053 #close
      
      Change-Id: I10789b98add3e50292ee3b33a55a1d9061cec94b
      070eab6e
  10. May 23, 2016
  11. May 22, 2016
    • Joshua Colp's avatar
      res_pjsip: Only check transaction on transaction state events. · 85d0272e
      Joshua Colp authored
      The send request callback function currently assumes that it
      will only ever be called on transaction state changes. This is
      not always true. If our own timer callback occurs we will call
      the callback with a timer event instead of a transaction state
      change event. In this case the transaction on the event is
      invalid and accessing it will result in a crash.
      
      ASTERISK-26049 #close
      
      Change-Id: I623211c8533eb73056b0250b4580b49ad4174dfc
      85d0272e
Loading