Skip to content
Snippets Groups Projects
  1. May 03, 2018
    • Tzafrir Cohen's avatar
      chan_dahdi: Configurable dialed digit timeouts · 63015314
      Tzafrir Cohen authored
      Analog phones dial overlap dialing and it is chan_dahdi's job to read the
      numbers.  It has three timeout constants that this commit converts to
      channel-level configuration options:
      
      * firstdigit_timeout: Default time (ms) to detect first digit
      
      * interdigit_timeout: Default time (ms) to detect following digits
      
      * matchdigit_timeout: Default time (ms) to wait in case of ambiguous
      match.  This happens when the dialed digits match a number in the current
      context but are also the prefix of another number.
      
      Change-Id: Ib728fa900a4f6ae56d1ed810aba61b6593fb7213
      63015314
  2. Dec 22, 2017
  3. Oct 27, 2016
    • Tzafrir Cohen's avatar
      chan_dahdi: remove by_name support · 0646b48e
      Tzafrir Cohen authored
      Support for referring to DAHDI channels by logical names was added in
      (FIXME: when? Asterisk 11? 1.8?) and was intended to be part of support
      of refering to channels by name.
      
      While technically usable, it has never been properly supported in
      dahdi-tools, as using it would require many changes at the Asterisk
      level. Instead logical mapping was added at the kernel level.
      
      Thus it seems that refering to DAHDI channels by name is not really used
      by anyone, and therefore should probably be removed.
      
      Change-Id: I7d50bbfd9d957586f5cd06570244ef87bd54b485
      0646b48e
  4. Sep 02, 2016
  5. Jul 19, 2016
    • Richard Mudgett's avatar
      chan_dahdi: Add faxdetect_timeout option. · 0d1744e1
      Richard Mudgett authored
      The new option allows the channel driver's faxdetect option to timeout on
      a call after the specified number of seconds into a call.  The new feature
      is disabled if the timeout is set to zero.  The option is disabled by
      default.
      
      * Don't clear dsp_features after passing them to the dsp code in
      my_pri_ss7_open_media().  We should still remember them especially for the
      new faxdetect_timeout option.
      
      ASTERISK-26214
      Reported by: Richard Mudgett
      
      Change-Id: Ieffd3fe788788d56282844774365546dce8ac810
      0d1744e1
  6. May 06, 2015
  7. Apr 30, 2015
    • Richard Mudgett's avatar
      chan_dahdi: Add the chan_dahdi.conf force_restart_unavailable_chans option. · 03c51cf5
      Richard Mudgett authored
      Some telco switches occasionally ignore ISDN RESTART requests.  The fix
      for ASTERISK-19608 added an escape clause for B channels in the restarting
      state if the telco ignores a RESTART request.  If the telco fails to
      acknowledge the RESTART then Asterisk will assume the telco acknowledged
      the RESTART on the second call attempt requesting the B channel by the
      telco.  The escape clause is good for dealing with RESTART requests in
      general but it does cause the next call for the restarting B channel to be
      rejected if the telco insists the call must go on that B channel.
      
      chan_dahdi doesn't really need to issue a RESTART request in response to
      receiving a cause 44 (Requested channel not available) code.  Sending the
      RESTART in such a situation is not required (nor prohibited) by the
      standards.  I think chan_dahdi does this for historical reasons to deal
      with buggy peers to get channels unstuck in a similar fashion as the
      chan_dahdi.conf resetinterval option.
      
      * Add the chan_dahdi.conf force_restart_unavailable_chans compatability
      option that when disabled will prevent chan_dahdi from trying to RESTART
      the channel in response to a cause 44 code.
      
      ASTERISK-25034 #close
      Reported by: Richard Mudgett
      
      Change-Id: Ib8b17a438799920f4a2038826ff99a1884042f65
      03c51cf5
  8. Jul 17, 2014
  9. Jul 03, 2014
    • Richard Mudgett's avatar
      chan_dahdi: Add inband_on_setup_ack compatibility option. · 3bd495a6
      Richard Mudgett authored
      The new inband_on_setup_ack option causes Asterisk to assume inband audio
      may be present when a SETUP_ACKNOWLEDGE message is received.
      
      Q.931 Section 5.1.3 says that in scenarios with overlap dialing, when a
      dialtone is sent from the network side, progress indicator 8 "Inband info
      now available" MAY be sent to the CPE if no digits were received with the
      SETUP.  It is thus implied that the ie is mandatory if digits came with
      the SETUP and dialtone is needed.  This option should be enabled, when the
      network sends dialtone and you want to hear it, but the network doesn't
      send the progress indicator when needed.
      
      NOTE: For Q.SIG setups this option should be enabled when outgoing overlap
      dialing is also enabled because Q.SIG does not send the progress indicator
      with the SETUP ACK.
      
      The commit -r413714 (AST-1338) which causes this issue was dealing with a
      SIP-to-ISDN interoperability issue.
      
      This commit is a merge of the two patches indicated below.
      
      ASTERISK-23897 #close
      Reported by: Pavel Troller
      Patches:
            pri-4.diff (license #6302) patch uploaded by Pavel Troller
            jira_asterisk_23897_v11.patch (license #5621) patch uploaded by rmudgett
      
      Review: https://reviewboard.asterisk.org/r/3633/
      ........
      
      Merged revisions 417956 from http://svn.asterisk.org/svn/asterisk/branches/1.8
      ........
      
      Merged revisions 417957 from http://svn.asterisk.org/svn/asterisk/branches/11
      ........
      
      Merged revisions 417958 from http://svn.asterisk.org/svn/asterisk/branches/12
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@417976 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      3bd495a6
  10. Jun 16, 2014
    • Richard Mudgett's avatar
      chan_dahdi: Adds support for major update to libss7. · 0c896d8b
      Richard Mudgett authored
      * SS7 support now requires libss7 v2.0 or later.  The new libss7 is not
      backwards compatible.
      
      * Added SS7 support for connected line and redirecting.
      
      * Most SS7 CLI commands are reworked as well as new SS7 commands added.
      See online CLI help.
      
      * Added several SS7 config option parameters described in
      chan_dahdi.conf.sample.
      
      * ISUP timer support reworked and now requires explicit configuration.
      See ss7.timers.sample.
      
      Special thanks to Kaloyan Kovachev for his support and persistence in
      getting the original patch by adomjan updated and ready for release.
      
      SS7-27 #close
      Reported by: adomjan
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@416416 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      0c896d8b
  11. Dec 23, 2013
  12. Dec 19, 2013
    • Richard Mudgett's avatar
      Voicemail: Remove mailbox identifier format (box@context) assumptions in the system. · e4803bbd
      Richard Mudgett authored
      This change is in preparation for external MWI support.
      
      Removed code from the system for normal mailbox handling that appends
      @default to the mailbox identifier if it does not have a context.  The
      only exception is the legacy hasvoicemail users.conf option.  The legacy
      option will only work for app_voicemail mailboxes.  The system cannot make
      any assumptions about the format of the mailbox identifer used by
      app_voicemail.
      
      chan_sip and chan_dahdi/sig_pri had the most changes because they both
      tried to interpret the mailbox identifier.  chan_sip just stored and
      compared the two components.  chan_dahdi actually used the box
      information.
      
      The ISDN MWI support configuration options had to be reworked because
      chan_dahdi was parsing the box@context format to get the box number.  As a
      result the mwi_vm_boxes chan_dahdi.conf option was added and is documented
      in the chan_dahdi.conf.sample file.
      
      Review: https://reviewboard.asterisk.org/r/3072/
      ........
      
      Merged revisions 404348 from http://svn.asterisk.org/svn/asterisk/branches/12
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@404350 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      e4803bbd
  13. Oct 14, 2013
  14. Sep 11, 2013
  15. Jun 06, 2013
    • Richard Mudgett's avatar
      Reimplement bridging and DTMF features related channel variables in the bridging core. · bad8caa8
      Richard Mudgett authored
      * The channel variable ATTENDED_TRANSFER_COMPLETE_SOUND is no longer
      channel driver specific.  If the channel variable is set on the
      transferrer channel, the sound will be played to the target of an attended
      transfer.
      
      * The channel variable BRIDGEPEER becomes a comma separated list of peers
      in a multi-party bridge.  The BRIDGEPEER value can have a maximum of 10
      peers listed.  Any more peers in the bridge will not be included in the
      list.  BRIDGEPEER is not valid in holding bridges like parking since those
      channels do not talk to each other even though they are in a bridge.
      
      * The channel variable BRIDGEPVTCALLID is only valid for two party bridges
      and will contain a value if the BRIDGEPEER's channel driver supports it.
      
      * The channel variable DYNAMIC_PEERNAME is redundant with BRIDGEPEER and
      is removed.  The more useful DYNAMIC_WHO_ACTIVATED gives the channel name
      that activated the dynamic feature.
      
      * The channel variables DYNAMIC_FEATURENAME and DYNAMIC_WHO_ACTIVATED are
      set only on the channel executing the dynamic feature.  Executing a
      dynamic feature on the bridge peer in a multi-party bridge will execute it
      on all peers of the activating channel.
      
      (closes issue ASTERISK-21555)
      Reported by: Matt Jordan
      
      Review: https://reviewboard.asterisk.org/r/2582/
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@390771 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      bad8caa8
  16. Apr 03, 2013
  17. Oct 08, 2012
  18. Aug 07, 2012
    • Matthew Jordan's avatar
      Add named callgroups/pickupgroups · 5c4578f4
      Matthew Jordan authored
      This patch adds named calledgroups/pickupgroups to Asterisk.  Named groups are
      implemented in parallel to the existing numbered callgroup/pickupgroup
      implementation.  However, unlike the existing implementation, which is limited
      to a maximum of 64 defined groups, the number of defined groups allowed for
      named callgroups/pickupgroups is effectively unlimited.
      
      Named groups are configured with the keywords "namedcallgroup" and
      "namedpickupgroup".  This corresponds to the numbered group definitions of
      "callgroup" and "pickupgroup".  Note that as the implementation of named groups
      coexists with the existing numbered implementation, a defined named group of
      "4" does not equate to numbered group 4.
      
      Support for the named groups has been added to the SIP, DAHDI, and mISDN channel
      drivers.
      
      Review: https://reviewboard.asterisk.org/r/2043
      
      Uploaded by:
      	Guenther Kelleter(license #6372)
      
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@370831 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      5c4578f4
  19. Apr 18, 2012
  20. Mar 13, 2012
  21. Mar 06, 2012
    • Richard Mudgett's avatar
      Add dialtone_detect option for analog incoming calls. · a0f88217
      Richard Mudgett authored
      For analog lines, enables Asterisk to use dialtone detection per channel
      if an incoming call was hung up before it was answered.  If dialtone is
      detected, the call is hung up.
      no:       Disabled. (Default)
      yes:      Look for dialtone for 10000 ms after answer.
      <number>: Look for dialtone for the specified number of ms after answer.
      always:   Look for dialtone for the entire call.  Dialtone may return
                if the far end hangs up first.
      
      dialtone_detect=yes
      dialtone_detect=5000
      dialtone_detect=always
      
      (closes issue ASTERISK-19316)
      Reported by: Jeremy Pepper
      Patch by: Jeremy Pepper
      Tested by: rmudgett,Jeremy Pepper
      
      Review: https://reviewboard.asterisk.org/r/1737/
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@358344 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      a0f88217
  22. Dec 12, 2011
  23. Aug 17, 2011
    • Richard Mudgett's avatar
      Merged revisions 332265 via svnmerge from · 265102fa
      Richard Mudgett authored
      https://origsvn.digium.com/svn/asterisk/branches/10
      
      ................
        r332265 | rmudgett | 2011-08-17 11:01:29 -0500 (Wed, 17 Aug 2011) | 33 lines
        
        Merged revisions 332264 via svnmerge from 
        https://origsvn.digium.com/svn/asterisk/branches/1.8
        
        ........
          r332264 | rmudgett | 2011-08-17 10:51:08 -0500 (Wed, 17 Aug 2011) | 26 lines
          
          Outgoing BRI calls fail when using Asterisk 1.8 with HA8, HB8, and B410P cards.
          
          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.
          
          JIRA AST-598
        ........
      ................
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@332270 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      265102fa
  24. Jul 21, 2011
  25. May 17, 2011
    • Richard Mudgett's avatar
      Option needed for Q931_IE_TIME_DATE to be optional in CONNECT message. · 5257a915
      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/asterisk/trunk@319427 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      5257a915
  26. Apr 18, 2011
    • Richard Mudgett's avatar
      Problems with ISDN MWI to phones. · 37274c73
      Richard Mudgett authored
      The "controlling user number" is always the number of the voice mail box
      which is identical with the subscriber number itself.  This number which
      is listed in the ISDN phone MWI menu cannot be called back to contact the
      voice mail box.  The controlling user number should be made configurable.
      
      JIRA ABE-2738
      JIRA SWP-2846
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@314116 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      37274c73
  27. Apr 13, 2011
  28. Feb 08, 2011
  29. Feb 07, 2011
  30. Feb 04, 2011
    • Richard Mudgett's avatar
      Add ISDN display ie text handling options to chan_dahdi.conf. · a8aeb04a
      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.
      
      The arbitrary display text is exchanged between bridged channels using the
      AST_FRAME_TEXT frame type.
      
      To send display text from the dialplan use the SendText() application when
      the arbitrary display text option is enabled.
      
      JIRA SWP-2688
      JIRA ABE-2693
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@306396 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      a8aeb04a
  31. Feb 02, 2011
  32. Jan 27, 2011
  33. Jan 04, 2011
  34. Nov 22, 2010
  35. Sep 13, 2010
  36. Jul 22, 2010
    • Alec L Davis's avatar
      Support FXS module Polarity Reversal on remote party Answer and Hangup · 85bfe38f
      Alec L Davis authored
      FXS lines normally connect to a telephone. However, when FXS lines are routed
      to an external PBX or Key System to act as "external" or "CO" lines, it is
      extremely difficult, if not impossible for the external PBX to know when
      the call has been disconnected without receiving a polarity reversal on the line.
      
      Now using answeronpolarityswitch and hanguponpolarityswitch keywords that
      previously were used only for FXO ports, now applies like functionality for
      an FXS port, but from the connected equipment's point of view.
      
      (closes issue #17318)
      Reported by: armeniki
      Patches: 
            fxs_linepolarity.diff5.txt uploaded by alecdavis (license 585)
      Tested by: alecdavis
      
      Review: https://reviewboard.asterisk.org/r/797/
      
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@278809 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      85bfe38f
  37. Jun 14, 2010
  38. Jun 09, 2010
    • Tzafrir Cohen's avatar
      dial by name in chan_dahdi · 6d627b8c
      Tzafrir Cohen authored
      * chan_dahdi supports dialing configuring and dialing by device file name.
        DAHDI/span-name!local!1 will use /dev/dahdi/span-name/local/1 . Likewise
        it may appear in chan_dahdi.conf as 'channel => span-name!local!1'.
      * A new options for chan_dahdi.conf: 'ignore_failed_channels'. Boolean.
        False by default. If set, chan_dahdi will ignore failed 'channel' entries.
        Handy for the above name-based syntax as it does not depend on
        initialization order.
      * have my_pri_make_cc_dialstring() only manupulate dial-strings of group
        (gGrR) dialing, which make it lsightly more complicated.
      
      https://reviewboard.asterisk.org/r/535/
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@269238 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      6d627b8c
  39. Jun 03, 2010
Loading