diff options
author | tzafrir <tzafrir@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-06-09 13:17:43 +0000 |
---|---|---|
committer | tzafrir <tzafrir@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-06-09 13:17:43 +0000 |
commit | 0107ea5d6b6252cfed3212bd8de4a58e9ae2957f (patch) | |
tree | 660125aa1e2cd722efb6c1b883aaf647c61935f6 /configs | |
parent | 3b16eaaac5dc4b20d1ee4a6fab8a0331602b321b (diff) |
dial by name in chan_dahdi
* 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: http://svn.digium.com/svn/asterisk/trunk@269238 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'configs')
-rw-r--r-- | configs/chan_dahdi.conf.sample | 27 |
1 files changed, 26 insertions, 1 deletions
diff --git a/configs/chan_dahdi.conf.sample b/configs/chan_dahdi.conf.sample index 0187555b4..00df580c0 100644 --- a/configs/chan_dahdi.conf.sample +++ b/configs/chan_dahdi.conf.sample @@ -915,6 +915,15 @@ pickupgroup=1 ;minunused=2 ;minidle=1 ; +; +; ignore_failed_channels: Continue even if some channels failed to configure. +; False by default, as if even a single channel failed to configure, it might +; mean other channels are misplaced and having them work may not be a good +; idea. If enabled (set to true), chan_dahdi will nevertheless attempt to +; configure other channels rather than giving up. This normally makes sense +; only if you use names (<subdir>!<number>) for DAHDI channels. +;ignore_failed_channels = true +; ; Configure jitter buffers in DAHDI (each one is 20ms, default is 4) ; This is set globally, rather than per-channel. ; @@ -1027,8 +1036,24 @@ pickupgroup=1 ; signalling = pri_cpe ; group = 2 ; channel => 1-23 - ; +; Alternatively, the number of the channel may be replaced with a relative +; path to a device file under /dev/dahdi . The final element of that file +; must be a number, though. The directory separator is '!', as we can't +; use '/' in a dial string. So if we have +; +; /dev/dahdi/span-name/pstn/00/1 +; /dev/dahdi/span-name/pstn/00/2 +; /dev/dahdi/span-name/pstn/00/3 +; /dev/dahdi/span-name/pstn/00/4 +; +; we could use: +;channel => span-name!pstn!00!1-4 +; +; or: +;channel => span-name!pstn!00!1,2,3,4 +; +; See also ignore_failed_channels above. ; Used for distinctive ring support for x100p. ; You can see the dringX patterns is to set any one of the dringXcontext fields |