From 0c3f7c98e50b5833c5b404d36ba99f49098099dc Mon Sep 17 00:00:00 2001 From: Naveen Albert Date: Sun, 27 Mar 2022 12:33:39 +0000 Subject: [PATCH] chan_dahdi: Document dial resource options. Documents the Dial syntax for DAHDI, namely the channel group, distinctive ring, answer confirmation, and digital call options that are specified in the resource itself. ASTERISK-24827 #close Change-Id: Ib95e78497fb00dc5cbfde1c93a69f034bfd08c30 --- apps/app_dial.c | 1 + channels/chan_dahdi.c | 53 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/apps/app_dial.c b/apps/app_dial.c index 7ea23f3799..3cf23437e0 100644 --- a/apps/app_dial.c +++ b/apps/app_dial.c @@ -86,6 +86,7 @@ If you need more than one enter them as Technology2/Resource2&Technology3/Resource3&..... + Specifies the number of seconds we attempt to dial the specified devices. diff --git a/channels/chan_dahdi.c b/channels/chan_dahdi.c index 26bb29096e..616e317176 100644 --- a/channels/chan_dahdi.c +++ b/channels/chan_dahdi.c @@ -234,6 +234,59 @@ + + DAHDI allows several modifiers to be specified as part of the resource. + The general syntax is : + Dial(DAHDI/pseudo[/extension]) + Dial(DAHDI/<channel#>[c|r<cadance#>|d][/extension]) + Dial(DAHDI/(g|G|r|R)<group#(0-63)>[c|r<cadance#>|d][/extension]) + The following modifiers may be used before the channel number: + + + Search forward, dialing on first available channel in group (lowest to highest). + + + Search backward, dialing on first available channel in group (highest to lowest). + + + Round robin search forward, picking up from where last left off (lowest to highest). + + + Round robin search backward, picking up from where last left off (highest to lowest). + + + The following modifiers may be used after the channel number: + + + Wait for DTMF digit # before providing answer supervision. + This can be useful on outbound calls via FXO ports, as otherwise + they would indicate answer immediately. + + + Force bearer capability for ISDN/SS7 call to digital. + + + ISDN span channel restriction. + Used by CC to ensure that the CC recall goes out the same span. + Also to make ISDN channel names dialable when the sequence number + is stripped off. (Used by DTMF attended transfer feature.) + + + Specifies the distinctive ring cadence number to use immediately after + specifying this option. There are 4 default built-in cadences, and up to 24 + total cadences may be configured. + + + + same => n,Dial(DAHDI/g1/5551212) + + + same => n,Dial(DAHDI/4r2) + + + same => n,Dial(DAHDI/3c/5551212) + + Transfer DAHDI Channel. -- 2.47.2