aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--channels/chan_dahdi.c1
-rw-r--r--configs/chan_dahdi.conf.sample8
2 files changed, 5 insertions, 4 deletions
diff --git a/channels/chan_dahdi.c b/channels/chan_dahdi.c
index 7c467c669..f9e3134d3 100644
--- a/channels/chan_dahdi.c
+++ b/channels/chan_dahdi.c
@@ -9126,6 +9126,7 @@ static struct dahdi_pvt *mkintf(int channel, const struct dahdi_chan_conf *conf,
tmp->adsi = conf->chan.adsi;
tmp->use_smdi = conf->chan.use_smdi;
tmp->permhidecallerid = conf->chan.hidecallerid;
+ tmp->hidecalleridname = conf->chan.hidecalleridname;
tmp->callreturn = conf->chan.callreturn;
tmp->echocancel = conf->chan.echocancel;
tmp->echotraining = conf->chan.echotraining;
diff --git a/configs/chan_dahdi.conf.sample b/configs/chan_dahdi.conf.sample
index 75ba248bc..43b66ab8e 100644
--- a/configs/chan_dahdi.conf.sample
+++ b/configs/chan_dahdi.conf.sample
@@ -330,10 +330,6 @@
;
usecallerid=yes
;
-; Hide the name part and leave just the number part of the caller ID
-; string. Only applies to PRI channels.
-;hidecalleridname=yes
-;
; Type of caller ID signalling in use
; bell = bell202 as used in US (default)
; v23 = v23 as used in the UK
@@ -357,6 +353,10 @@ usecallerid=yes
;
;hidecallerid=yes
;
+; Enable if you need to hide just the name and not the number for legacy PBX use.
+; Only applies to PRI channels.
+;hidecalleridname=yes
+;
; The following option enables receiving MWI on FXO lines. The default
; value is no.
; The mwimonitor can take the following values