[asterisk-commits] rmudgett: branch 1.4 r259270 - in /branches/1.4: channels/ configs/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Apr 27 13:15:00 CDT 2010


Author: rmudgett
Date: Tue Apr 27 13:14:54 2010
New Revision: 259270

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=259270
Log:
hidecalleridname parameter in chan_dahdi.conf

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

Modified:
    branches/1.4/channels/chan_dahdi.c
    branches/1.4/configs/chan_dahdi.conf.sample

Modified: branches/1.4/channels/chan_dahdi.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.4/channels/chan_dahdi.c?view=diff&rev=259270&r1=259269&r2=259270
==============================================================================
--- branches/1.4/channels/chan_dahdi.c (original)
+++ branches/1.4/channels/chan_dahdi.c Tue Apr 27 13:14:54 2010
@@ -7969,6 +7969,7 @@
 		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;

Modified: branches/1.4/configs/chan_dahdi.conf.sample
URL: http://svnview.digium.com/svn/asterisk/branches/1.4/configs/chan_dahdi.conf.sample?view=diff&rev=259270&r1=259269&r2=259270
==============================================================================
--- branches/1.4/configs/chan_dahdi.conf.sample (original)
+++ branches/1.4/configs/chan_dahdi.conf.sample Tue Apr 27 13:14:54 2010
@@ -270,6 +270,10 @@
 ;
 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()




More information about the asterisk-commits mailing list