]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
hidecalleridname parameter in chan_dahdi.conf
authorRichard Mudgett <rmudgett@digium.com>
Tue, 27 Apr 2010 18:14:54 +0000 (18:14 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Tue, 27 Apr 2010 18:14:54 +0000 (18:14 +0000)
Issue #7321 implements a new chan_dahdi configuration option.  However, a
change mentioned in the issue was never implemented.  This is the change
that will allow the feature to work.

I added a note to chan_dahdi.conf.sample about the feature.

(closes issue #17143)
Reported by: djensen99
Patches:
      diff.txt uploaded by djensen99 (license NA) (One line change)
Tested by: djensen99

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@259270 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_dahdi.c
configs/chan_dahdi.conf.sample

index 39e67d361642fe9b61be18d75d7b7a406a5be889..841aa405bb95d7d709483a0128da1d27178596a8 100644 (file)
@@ -7969,6 +7969,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;
index 3eaf4e33b408d7fc228a2f69fc8125840bde613b..287c661aec2f5816a9447f08b5ea82fdd5441b49 100644 (file)
@@ -270,6 +270,10 @@ usecallerid=yes
 ;
 hidecallerid=no
 ;
+; Enable if you need to hide just the name and not the number for legacy PBX use.
+; Only applies to PRI channels.
+;hidecalleridname=no
+;
 ; Whether or not to enable call waiting on internal extensions
 ; With this set to 'yes', busy extensions will hear the call-waiting
 ; tone, and can use hook-flash to switch between callers. The Dial()