Skip to content
Snippets Groups Projects
  1. May 09, 2016
    • Kevin Harwell's avatar
      res_pjsip_authenticator_digest: Don't use source port in nonce verification · 1e876d69
      Kevin Harwell authored
      From the issue reporter:
      "res_pjsip_outbound_authenticator_digest builds a nonce that is a hash of
      the timestamp, the source address, the source port, a server UUID that is
      calculated at startup, and the authentication realm.
      
      Rather than caching nonces that we create, we instead attempt to re-calculate
      the nonce when receiving an incoming request with authentication. We then
      compare the re-calculated nonce to the incoming nonce, and if they don't match,
      then authentication has failed early.
      
      The problem is that it is possible, especially when using TCP, to receive two
      requests from the same endpoint but have differing source ports for those
      requests. Asterisk itself commonly will use different source ports for
      outbound TCP requests."
      
      This patch removes the source port dependency when building the nonce.
      
      ASTERISK-25978 #close
      
      Change-Id: I871b5f4adce102df1c4988066283095ec509dffe
      1e876d69
    • Joshua Colp's avatar
      Merge "res_pjsip: module load priority" · 5b15ec96
      Joshua Colp authored
      5b15ec96
    • Joshua Colp's avatar
  2. May 06, 2016
  3. May 05, 2016
  4. May 04, 2016
  5. 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
    • zuul's avatar
      Merge "pjsip: Added "reg_server" to contacts." · c339d4c6
      zuul authored
      c339d4c6
    • Joshua Colp's avatar
    • George Joseph's avatar
      pjproject_bundled: Various fixes discovered during testing of OSes · e61716b7
      George Joseph authored
      For all OSes:
      * Disabled third-party codecs in pjproject and added
        '--disable-speex-codec --disable-speex-aec --disable-gsm-codec' to the
        configure options since we don't use the pjsip codec capability.
      
      FreeBSD:
      * Added FreeBSD support to install_prereq.
      * Changed pjproject/configure.m4 to use $GNU_MAKE instead of hardcoding "make".
      * Added __progname and environ to asterisk.exports.in.
      * Reverted the use of ldconfig to create shared library symlinks to ln.
      * Only enable epoll in pjproject if `uname -s` is Linux.
      * Added a patch to pjproject to take the name of the 'make' command from
        an environment variable if supplied.  This is needed for the python bindings.
        (merged by Teluu into pjproject trunk 5/3/2016)
      FreeBSD support isn't complete.  Still some general issues regarding
      make/gmake having nothing to do with pjproject.  With some handholding it DOES
      build successfully.
      
      CentOS:
      Added 'patch' and 'bzip2' to install_prereq PACKAGES_RH.
      CentOS 6/7 32/64 build and run the pjsip testsuite successfully.
      
      Ubuntu:
      No changes required.
      Ubuntu 15/16 32/64 build and run the pjsip testsuite successfully.
      
      Debian:
      No changes required.
      Debian 6/7/8 32/64 build and run the pjsip testsuite successfully.
      
      There will utimately be a follow-up patch to create an install_prereq for
      the testsuite as I've discovered a few missing requirements.
      
      ASTERISK-25968 #close
      
      Change-Id: I5756a07facfc63798115a5e73a8709382fe9259c
      e61716b7
    • zuul's avatar
      9c4c4a7d
    • Andrew Nagy's avatar
      app_voicemail: always copy dynamic struct to avoid race condition · 080c6216
      Andrew Nagy authored
      Voicemail email addresses can be corrupt or voicemail
      emails can end up being sent to the wrong email address if asterisk is
      reading voicemail.conf during a reload and processing an email at the
      same time. This patch always copies the struct that would otherwise only
      be copied once.
      
      ASTERISK-24463 #close
      Reported by: John Campbell
      Tested by: Etienne Lessard
      Tested by: Andrew Nagy
      Change-Id: I3a0643813116da84e2617291903d0d489b7425fb
      080c6216
  6. May 02, 2016
    • Alexei Gradinari's avatar
      pjsip: Added "reg_server" to contacts. · 2b1edee7
      Alexei Gradinari authored
      If the Asterisk system name is set in asterisk.conf, it will be stored
      into the "reg_server" field in the ps_contacts table to facilitate
      multi-server setups.
      
      ASTERISK-25931
      
      Change-Id: Ia8f6bd2267809c78753b52bcf21835b9b59f4cb8
      2b1edee7
  7. May 01, 2016
  8. Apr 29, 2016
  9. Apr 28, 2016
Loading