1. 02 Jun, 2014 1 commit
  2. 12 May, 2014 1 commit
  3. 28 Jun, 2012 1 commit
    • Richard Mudgett's avatar
      Implement T316 to allow RESTART messages to be automatically retransmitted. · fffb7bab
      Richard Mudgett authored
      Q.931 defines the T316 timer to retransmit RESTART messages if a RESTART
      ACKNOWLEDGE message is not received before the timer expires.  Q.931
      defaults the time of T316 to 2 minutes with the default number of
      consecutive RESTART failures as two.
      
      * To support legacy behavior, the T316 timer is disabled by default.  It
      is also disabled because the user cannot configure it to disabled if it is
      enabled.
      
      * The N316 count is created to allow the number of RESTART attempts to be
      configurable.  Note you will need to recompile Asterisk to be able to
      configure N316.
      
      (issue ASTERISK-19608)
      (issue AST-815)
      (closes issue PRI-133)
      Reported by: Mike Boylan
      Tested by: rmudgett
      
      
      git-svn-id: https://origsvn.digium.com/svn/libpri/branches/1.4@2288 2fbb986a-6c06-0410-b554-c9c1f0a7f128
      fffb7bab
  4. 23 Mar, 2012 1 commit
    • Richard Mudgett's avatar
      Make number not available presentation also set screening to network provided. · a7eaec1a
      Richard Mudgett authored
      Q.951 indicates that when the presentation indicator is "Number not
      available due to interworking" for a number then the screening indicator
      field should be "Network provided".
      
      Released versions of Asterisk starting with v1.8 relesed before this patch
      only recognized the PRES_NUMBER_NOT_AVAILABLE value as an unavailable
      number.  This patch improves compatibility as a result.
      
      * Made mask the presentation value for names and numbers from the upper
      layer.
      
      * Made pri_mwi_indicate_v2() also call q931_party_id_fixup() for
      completeness even though it is a noop in this case.
      
      * Made pri_pres2str() deceoode better.
      
      
      git-svn-id: https://origsvn.digium.com/svn/libpri/branches/1.4@2284 2fbb986a-6c06-0410-b554-c9c1f0a7f128
      a7eaec1a
  5. 17 Aug, 2011 1 commit
    • Richard Mudgett's avatar
      Outgoing BRI calls fail when using Asterisk 1.8 with HA8, HB8, and B410P cards. · c5ec479b
      Richard Mudgett authored
      France Telecom brings layer 2 and layer 1 down on BRI lines when the line
      is idle.  When layer 1 goes down Asterisk cannot make outgoing calls and
      the HA8 and HB8 cards also get IRQ misses.
      
      The inability to make outgoing calls is because the line is in red alarm
      and Asterisk will not make calls over a line it considers unavailable.
      The IRQ misses for the HA8 and HB8 card are because the hardware is
      switching clock sources from the line which just brought layer 1 down to
      internal timing.
      
      There is a DAHDI option for the B410P card to not tell Asterisk that layer
      1 went down so Asterisk will allow outgoing calls: "modprobe wcb4xxp
      teignored=1".  There is a similar DAHDI option for the HA8 and HB8 cards:
      "modprobe wctdm24xxp bri_teignored=1".  Unfortunately that will not clear
      up the IRQ misses when the telco brings layer 1 down.
      
      * Add layer 2 persistence option to customize the layer 2 behavior on BRI
      PTMP lines.  The new option has three settings: 1) Use libpri default
      layer 2 setting.  2) Keep layer 2 up.  Bring layer 2 back up when the peer
      brings it down.  3) Leave layer 2 down when the peer brings it down.
      Layer 2 will be brought up as needed for outgoing calls.
      
      (issue AST-598)
      Reported by: Trey Blancher
      
      
      git-svn-id: https://origsvn.digium.com/svn/libpri/branches/1.4@2273 2fbb986a-6c06-0410-b554-c9c1f0a7f128
      c5ec479b
  6. 17 May, 2011 1 commit
    • Richard Mudgett's avatar
      Option needed for Q931_IE_TIME_DATE to be optional in CONNECT message. · 092811da
      Richard Mudgett authored
      The NEC SV8300 rejects the Q931_IE_TIME_DATE for Q.SIG.
      
      Add option to specify if and how much of the current time is put in
      Q931_IE_TIME_DATE.
      * Send date/time ie never.
      * Send date/time ie date only.
      * Send date/time ie date and hour.
      * Send date/time ie date, hour, and minute.
      * Send date/time ie date, hour, minute, and second.
      * Send date/time ie default: Libpri will send date and hhmm only when in
      NT PTMP mode to support ISDN phones.
      
      (closes issue #19221)
      Reported by: kenner
      
      JIRA SWP-3396
      
      
      git-svn-id: https://origsvn.digium.com/svn/libpri/branches/1.4@2266 2fbb986a-6c06-0410-b554-c9c1f0a7f128
      092811da
  7. 01 Mar, 2011 1 commit
  8. 28 Feb, 2011 2 commits
  9. 08 Feb, 2011 1 commit
  10. 04 Feb, 2011 1 commit
    • Richard Mudgett's avatar
      Add display ie text handling options. · ed0d76d5
      Richard Mudgett authored
      The display ie handling can be controlled independently in the send and
      receive directions with the following options:
      
      * Block display text data.
      
      * Use display text in SETUP/CONNECT messages for name.
      
      * Use display text for COLP name updates (FACILITY/NOTIFY as appropriate).
      
      * Pass arbitrary display text during a call.  Sent in INFORMATION
      messages.  Received from any message that the display text was not used as
      a name.
      
      If the display options are not set then the options default to legacy
      behavior.
      
      
      git-svn-id: https://origsvn.digium.com/svn/libpri/branches/1.4@2190 2fbb986a-6c06-0410-b554-c9c1f0a7f128
      ed0d76d5
  11. 01 Feb, 2011 1 commit
  12. 21 Dec, 2010 2 commits
  13. 05 Nov, 2010 1 commit
  14. 21 Oct, 2010 3 commits
  15. 14 Oct, 2010 1 commit
    • Richard Mudgett's avatar
      Segfault in pri_schedule_del() - ctrl value is invalid. · 2045db6a
      Richard Mudgett authored
      Validate the given call pointer in libpri API calls.  If the call pointer
      is not an active call record then a complaint message is issued and the
      API call aborts.  The call pointer is likely stale.
      
      This patch is defensive.  More information is needed to figure out why
      Asterisk still has a call pointer during its hangup sequence.
      
      (closes issue #17522)
      (closes issue #18032)
      Reported by: schmoozecom
      Patches:
            issue_18032_v1.4.patch uploaded by rmudgett (license 664)
      Tested by: rmudgett
      
      
      git-svn-id: https://origsvn.digium.com/svn/libpri/branches/1.4@2015 2fbb986a-6c06-0410-b554-c9c1f0a7f128
      2045db6a
  16. 13 Sep, 2010 1 commit
    • Richard Mudgett's avatar
      BRI PTMP: Active channels not cleared when the interface goes down. · 05158ec5
      Richard Mudgett authored
      If the connection to the terminal is lost while there are open channels
      on the interface, red alarm is reported, but the open channels are never
      cleared.  Additionally, if you manually try to channel request hangup,
      Asterisk crashes.
      
      For PTMP, the T309 processing was not searching the call pool on the
      master control record.  Additionally, for NT PTMP, the timeout events were
      not passed to the upper layer because the events were not put on the
      master control record where timer processing expects them.
      
      (closes issue #17865)
      Reported by: wimpy
      Patches:
            issue17865_v1.4.patch uploaded by rmudgett (license 664)
      Tested by: rmudgett, wimpy
      
      
      git-svn-id: https://origsvn.digium.com/svn/libpri/branches/1.4@1982 2fbb986a-6c06-0410-b554-c9c1f0a7f128
      05158ec5
  17. 08 Sep, 2010 1 commit
  18. 02 Sep, 2010 1 commit
  19. 27 Aug, 2010 1 commit
  20. 26 Aug, 2010 1 commit
  21. 22 Jul, 2010 1 commit
  22. 01 Jun, 2010 1 commit
  23. 28 May, 2010 2 commits
  24. 26 May, 2010 1 commit
    • Richard Mudgett's avatar
      Add Call Completion Suppplementary Service · 6829faae
      Richard Mudgett authored
      Call Completion Supplementary Service (CCSS) added for the following 
      switch types: ETSI PTMP, ETSI PTP, Q.SIG.  
      
      Specifications:
      ETS 300 359 CCBS for PTMP and PTP
      ETS 301 065 CCNR for PTMP and PTP
      ECMA-186 Call Completion for Q.SIG
      
      Several support services were added to support CC:
      Dummy Call Reference.
      Q.931 REGISTER message.
      Dynamic expansion of the number of available timers (up to 8192).
      Enhanced facility message handling.
      
      Current implementation limitations preclude the following:
      CC service retention is not supported.
      Q.SIG path reservation is not supported.
      
      (closes issue #14292)
      Reported by: tomaso
      Tested by: rmudgett
      
      JIRA SWP-1493
      
      Review:	https://reviewboard.asterisk.org/r/522/
      
      
      git-svn-id: https://origsvn.digium.com/svn/libpri/branches/1.4@1714 2fbb986a-6c06-0410-b554-c9c1f0a7f128
      6829faae
  25. 11 May, 2010 1 commit
  26. 15 Apr, 2010 1 commit
  27. 17 Mar, 2010 1 commit
    • Richard Mudgett's avatar
      Miscellaneous simple reorganization. · d5d69ddd
      Richard Mudgett authored
      1) Make PRI_MASTER() no longer check for a NULL parameter.  It is the
      caller's responsibility.  Not many callers could have passed a NULL
      without crashing before or after anyway.
      
      2) Replace calls to q931_is_ptmp() with PTMP_MODE().  They were
      equivalent.
      
      3) Made the following boolean config options bit fields: sendfacility,
      overlapdial, chan_mapping_logical, and service_message_support.
      
      
      git-svn-id: https://origsvn.digium.com/svn/libpri/branches/1.4@1534 2fbb986a-6c06-0410-b554-c9c1f0a7f128
      d5d69ddd
  28. 02 Mar, 2010 1 commit
  29. 11 Feb, 2010 1 commit
  30. 05 Feb, 2010 1 commit
  31. 13 Jan, 2010 1 commit
  32. 21 Nov, 2009 1 commit
  33. 14 Nov, 2009 1 commit
    • Richard Mudgett's avatar
      Reimplement callback mechanism to handle APDU response messages that we care about. · b698032e
      Richard Mudgett authored
      1) No sent messages will remain in the APDU queue unless they have an
      active timer to remove them.  The dummy call reference call and global
      call reference call structures will not act like a memory leak to sent
      messages.
      
      2) The new T-RESPONSE timer will be the generic response guard if the
      standards do not otherwise specify a timer for a message response.
      
      3) The callback will be called.  If it is called because of a response
      message, then the callback has an opportunity to indicate if more
      responses are expected.
      
      
      git-svn-id: https://origsvn.digium.com/svn/libpri/branches/1.4@1322 2fbb986a-6c06-0410-b554-c9c1f0a7f128
      b698032e
  34. 10 Nov, 2009 1 commit
  35. 23 Oct, 2009 1 commit
    • Richard Mudgett's avatar
      Add BRI PTMP NT mode, HOLD/RETRIEVE, Call rerouting/deflection, and keypad facility support. · a2dcb6ad
      Richard Mudgett authored
      * Added support for BRI PTMP NT mode.  (Overlap dialing NT -> TE not supported.)
      * Added handling of received HOLD/RETRIEVE messages and the optional ability
        to transfer a held call on disconnect similar to an analog phone.
      * Added CallRerouting/CallDeflection support for Q.SIG, ETSI PTP, ETSI PTMP.
        Will reroute/deflect an outgoing call when receive the message.
        Can use the DAHDISendCallreroutingFacility to send the message for the
        supported switches.
      * Added ability to send/receive keypad digits in the SETUP message.
        Send keypad digits in SETUP message: Dial(DAHDI/g1[/K<keypad_digits>][/extension])
        Access any received keypad digits in SETUP message by: ${CHANNEL(keypad_digits)}
      
      (closes issue #15048)
      Tested by: rmudgett, mattf
      
      
      git-svn-id: https://origsvn.digium.com/svn/libpri/branches/1.4@1242 2fbb986a-6c06-0410-b554-c9c1f0a7f128
      a2dcb6ad