Skip to content
Snippets Groups Projects
  1. Feb 21, 2017
    • Mark Michelson's avatar
      Add initial SDP state code. · a738772e
      Mark Michelson authored
      This establishes the basic allocation/destruction of an SDP state
      object, plus some of the simpler getter methods involved. Subsequent
      tasks will deal with adding a state machine, creating SDPs from
      capabilities and options, and merging SDPs into a joint SDP.
      
      Change-Id: Ie3757ce186f04b65e9d1883f5aace53f24e53709
      a738772e
  2. Feb 17, 2017
    • Mark Michelson's avatar
      Add SDP translator and PJMEDIA implementation. · 5a130b2e
      Mark Michelson authored
      This creates the following:
      * Asterisk's internal representation of an SDP
      * An API for translating SDPs from one format to another
      * An implementation of a translator for PJMEDIA
      
      Change-Id: Ie2ecd3cbebe76756577be9b133e84d2ee356d46b
      5a130b2e
    • Mark Michelson's avatar
      Add initial SDP options. · 8af63425
      Mark Michelson authored
      This is step one of adding an SDP API: defining some
      configurable settings for SDPs. This is based on options
      that are currently supported in Asterisk.
      
      Change-Id: I1ede91aafed403b12a9ccdfb91a88389baa7e5d7
      8af63425
  3. Feb 14, 2017
  4. Feb 13, 2017
    • zuul's avatar
      c68e52d2
    • zuul's avatar
      09fcfb26
    • Sebastian Gutierrez's avatar
      app_queue: reset abandoned in sl for sl2 calculations · 9f394d07
      Sebastian Gutierrez authored
      ASTERISK-26775 #close
      
      Change-Id: I86de4b1a699d6edc77fea9b70d839440e4088284
      9f394d07
    • Joshua Colp's avatar
    • Joshua Colp's avatar
      stream: Add stream topology unit tests and fix uncovered bugs. · 6c4657e2
      Joshua Colp authored
      This change adds unit tests for the various API calls relating
      to stream topologies. This includes creation, destruction,
      inspection, and manipulation.
      
      Through this a few bugs were uncovered in the implementation:
      
      1. Creating a topology using a format capabilities would fail as
      the code considered a return value of 0 from the append stream
      function to indicate an error which is incorrect.
      
      2. Not all functions which placed a stream into a topology
      set the position on the stream itself.
      
      3. Appending a stream would cause a frack if the position
      provided was the last one. This occurred because the existing
      stream was queried but the index was outside of what the
      vector was currently at for size.
      
      ASTERISK-26786
      
      Change-Id: Id5590e87c8a605deea1a89e53169a9c011d66fa0
      6c4657e2
    • Sean Bright's avatar
      cli: Fix various CLI documentation and completion issues · 3f943737
      Sean Bright authored
      * app_minivm: Use built-in completion facilities to complete optional
      arguments.
      
      * app_voicemail: Use built-in completion facilities to complete
      optional arguments.
      
      * app_confbridge: Add missing colons after 'Usage' text.
      
      * chan_alsa: Use built-in completion facilities to complete optional
      arguments.
      
      * chan_sip: Use built-in completion facilities to complete optional
      arguments. Add completions for 'load' for 'sip show user', 'sip show
      peer', and 'sip qualify peer.'
      
      * chan_skinny: Correct and extend completions for 'skinny reset' and
      'skinny show line.'
      
      * func_odbc: Correct completions for 'odbc read' and 'odbc write'
      
      * main/astmm: Use built-in completion facilities to complete arguments
      for 'memory' commands.
      
      * main/bridge: Correct completions for 'bridge kick.'
      
      * main/ccss: Use built-in completion facilities to complete arguments
      for 'cc cancel' command.
      
      * main/cli: Add 'all' completion for 'channel request hangup.' Correct
      completions for 'core set debug channel.' Correct completions for 'core
      show calls.'
      
      * main/pbx_app: Remove redundant completions for 'core show
      applications.'
      
      * main/pbx_hangup_handler: Remove unused completions for 'core show
      hanguphandlers all.'
      
      * res_sorcery_memory_cache: Add completion for 'reload' argument of
      'sorcery memory cache stale' and properly implement.
      
      Change-Id: Iee58c7392f6fec34ad9d596109117af87697bbca
      3f943737
    • zuul's avatar
      5780492c
    • George Joseph's avatar
      stream: Add media stream topology definition and API · 8b72ec31
      George Joseph authored
      This change adds the media stream topology definition and API for
      accessing and using it.
      
      Some refactoring of the stream was also done.
      
      ASTERISK-26786
      
      Change-Id: Ic930232d24d5ad66dcabc14e9b359e0ff8e7f568
      8b72ec31
    • zuul's avatar
    • Joshua Colp's avatar
    • Norbert Varga's avatar
      chan_pjsip: Multidomain endpoint finding on call · 75f8167e
      Norbert Varga authored
      When PJSIP tries to call an endpoint with a domain (e.g. 1000@test.com),
      the user part is stripped down as it would be a trunk with a specified user,
      and only the host part is called as a PJSIP endpoint and can't be found.
      This is not correct in the case of a multidomain SIP account, so the stripping
      after the @ sign is done only if the whole endpoint (in multidomain case
      1000@test.com) can't be found.
      
      ASTERISK-26248
      
      Change-Id: I3a2dd6f57f3bd042df46b961eccd81d31ab202e6
      75f8167e
    • Joshua Colp's avatar
      channel: Protect flags in ast_waitfor_nandfds operation. · 89871576
      Joshua Colp authored
      The ast_waitfor_nandfds operation will manipulate the flags
      of channels passed in. This was previously done without
      the channel lock being held. This could result in incorrect
      values existing for the flags if another thread manipulated
      the flags at the same time.
      
      This change locks the channel during flag manipulation.
      
      ASTERISK-26788
      
      Change-Id: I2c5c8edec17c9bdad4a93291576838cb552ca5ed
      89871576
  5. Feb 12, 2017
  6. Feb 10, 2017
    • Sean Bright's avatar
      manager: Restore Originate failure behavior from Asterisk 11 · 09107730
      Sean Bright authored
      In Asterisk 11, if the 'Originate' AMI command failed to connect the provided
      Channel while in extension mode, a 'failed' extension would be looked up and
      run. This was, I believe, unintentionally removed in 51b6c496. This patch
      restores that behavior.
      
      This also adds an enum for the various 'synchronous' modes in an attempt to
      make them meaningful.
      
      ASTERISK-26115 #close
      Reported by: Nasir Iqbal
      
      Change-Id: I8afbd06725e99610e02adb529137d4800c05345d
      09107730
    • Richard Mudgett's avatar
      core: Cleanup some channel snapshot staging anomalies. · 16fdb11b
      Richard Mudgett authored
      We shouldn't unlock the channel after starting a snapshot staging because
      another thread may interfere and do its own snapshot staging.
      
      * app_dial.c:dial_exec_full() made hold the channel lock while setting up
      the outgoing channel staging.  Made hold the channel lock after the called
      party answers while updating the caller channel staging.
      
      * chan_sip.c:sip_new() completed the channel staging on off-nominal exit.
      Also we need to use ast_hangup() instead of ast_channel_unref() at that
      location.
      
      * channel.c:__ast_channel_alloc_ap() added a comment about not needing to
      complete the channel snapshot staging on off-nominal exit paths.
      
      * rtp_engine.c:ast_rtp_instance_set_stats_vars() made hold the channel
      locks while staging the channels for the stats channel variables.
      
      Change-Id: Iefb6336893163f6447bad65568722ad5d5d8212a
      16fdb11b
    • Joshua Colp's avatar
      stream: Add media stream definition and API with unit tests. · bab4885f
      Joshua Colp authored
      This change adds the media stream definition and API for
      accessing and using it. Unit tests have also been written
      which exercise aspects of the API.
      
      ASTERISK-26773
      
      Change-Id: I3dbe54065b55aaa51f467e1a3bafd67fb48cac87
      bab4885f
    • George Joseph's avatar
      configs/samples: Fix placement of 'identify' entry in sorcery.conf · 648d181d
      George Joseph authored
      The entry for 'identify' was incorrectly placed in the
      res_pjsip section when it should be in
      res_pjsip_endpoint_identifier_ip.
      
      ASTERISK-26785 #close
      
      Change-Id: Ia1372b12a952bfe2df6b1b1e0e725ca306a5d41a
      648d181d
  7. Feb 08, 2017
  8. Feb 07, 2017
    • Joshua Colp's avatar
      srv: Fix crash when ast_srv_lookup is used and 0 records are returned. · 5422ec14
      Joshua Colp authored
      When performing an SRV lookup using the ast_srv_lookup function it
      did not properly handle the situation where 0 records are returned.
      If this happened it would wrongly assume that at least one record
      was present.
      
      This change fixes the code so it will exit early if an error occurs
      or if 0 records are returned.
      
      ASTERISK-26772
      patches:
        srv_lookup.patch submitted by nappsoft (license 6822)
      
      Change-Id: I09b19081c74e0ad11c12bf54a257243b1bcb2351
      5422ec14
    • Joshua Colp's avatar
      res_stasis_device_state: Protect the adding/removing of subscriptions. · b79cc620
      Joshua Colp authored
      The adding and removing of device state subscriptions did not protect
      fully against simultaneous manipulation. In particular the subscribe
      case allowed a small window where two subscriptions could be added for
      the same device state instead of just one.
      
      This change makes the code hold the subscriptions lock for the entirety
      of each operation to ensure that two are not occurring at the same time.
      
      ASTERISK-26770
      
      Change-Id: I3e7f8eb9d09de440c9024d2dd52029f6f20e725b
      b79cc620
  9. Feb 06, 2017
  10. Feb 03, 2017
Loading