Skip to content
Snippets Groups Projects
  1. Nov 22, 2017
    • Kevin Harwell's avatar
      pjsip: 183 without To tag does not negotiate media · db21f7f2
      Kevin Harwell authored
      If a 183 with sdp response is receive without a To tag the sdp is not
      negotiated. According to RFC 3261 section 12.1.2 while a To tag is required,
      the client needs to still be able to handle the missing tag case for
      backwards compatibility.
      
      This patch, accepted by and applied to pjproject, makes it so if an incoming
      180/183 with SDP comes in without a To tag it gets appropriately handled.
      
      ASTERISK-27442 #close
      
      Change-Id: Ic9d6b01e05e8f4874eebbd7adfe05d932025d203
      db21f7f2
  2. Nov 21, 2017
  3. Nov 20, 2017
  4. Nov 19, 2017
    • Corey Farrell's avatar
      Build: Fix OSX build issues. · b4f7f825
      Corey Farrell authored
      OSX does not support 'readlink -f' or 'sed -r'.  Replace readlink with
      the GNU make macro 'realpath'.  Replace sed with grep in one place, cut
      in the other.
      
      ASTERISK-27332
      
      Change-Id: I5d34ecca905384decb22ead45c913ae5e8aff748
      b4f7f825
    • Corey Farrell's avatar
      Build: Fix issues building without SSL. · 999e0c17
      Corey Farrell authored
      * Fix conditional in libasteriskssl.
      * Use variables produced by configure to link the SSL and uuid libraries
        into libasteriskpj.so instead of hard-coding them.
      
      ASTERISK-27431
      
      Change-Id: I3977931fd3ef8c4e4376349ccddb354eb839b58d
      999e0c17
    • Corey Farrell's avatar
      res_pjsip: Fix warning by deferring implicit type cast. · 53f42cc0
      Corey Farrell authored
      Mac doesn't like the comparison of -1 to an enum, so store the result of
      ast_sip_str_to_dtmf to an int so we can check for the negative return
      value.  ast_sip_str_to_dtmf returns an int so this is only delaying the
      implicit type cast.
      
      Change-Id: I0c262c1719ee951aae1f437d733a301cf5f8ad29
      53f42cc0
    • Corey Farrell's avatar
      tests: Fix warnings found on Mac. · 75cb4037
      Corey Farrell authored
      test_pbx used raise without explicitly including signal.h.  On Mac for
      some reason nothing else includes it.
      
      test_logger checked if an unsigned int was negative.  Switch the
      variable to 'int' so that error check can be effective.
      
      Change-Id: Ie1db5dd1818ac25cc2ae41b644f848b5865b1362
      75cb4037
    • Corey Farrell's avatar
      res_snmp: Declare RONLY if net-snmp headers do not. · 83a2c4d2
      Corey Farrell authored
      Some net-snmp builds do not provide the RONLY declare, only
      NETSNMP_OLDAPI_RONLY.  Map RONLY to NETSNMP_OLDAPI_RONLY to get around
      this error.
      
      Change-Id: Ida5c7ad9406515825485c4d3b4a34fd6ad0da577
      83a2c4d2
    • Corey Farrell's avatar
      res_fax: Remove checks for unsigned values being >= 0. · 5a899fc5
      Corey Farrell authored
      It's impossible for gwtimeout or fdtimeout to be less than 0 because
      they are unsigned int's.  Remove checks and unreachable branches.
      
      Change-Id: Ib2286960621e6ee245e40013c84986143302bc78
      5a899fc5
    • Corey Farrell's avatar
      iostream: Fix ast_iostream_printf declaration. · b4862e46
      Corey Farrell authored
      This adds the printf attribute and changes 'fmt' from 'const void *' to
      'const char *'.  This resolves a warning from some compiler for
      vsnprintf needing a literal string for format.
      
      Change-Id: I71c33a8262590042ee451e1146760c10bb22fb78
      b4862e46
    • Corey Farrell's avatar
      app_minivm: Fix possible uninitialized return value. · 2fab3aac
      Corey Farrell authored
      Declare 'res' initialized to -1 to deal with earlier error paths that
      could cause 'res' to be returned uninitialized.
      
      Change-Id: I8ac2a5755bf4174d89ef893e924c940f702b104e
      2fab3aac
  5. Nov 18, 2017
Loading