]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Merged revisions 259307 via svnmerge from
authorRichard Mudgett <rmudgett@digium.com>
Tue, 27 Apr 2010 19:03:04 +0000 (19:03 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Tue, 27 Apr 2010 19:03:04 +0000 (19:03 +0000)
https://origsvn.digium.com/svn/asterisk/trunk

................
  r259307 | rmudgett | 2010-04-27 13:29:33 -0500 (Tue, 27 Apr 2010) | 21 lines

  Merged revisions 259270 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
    r259270 | rmudgett | 2010-04-27 13:14:54 -0500 (Tue, 27 Apr 2010) | 14 lines

    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
  ........
................

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

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

index d20fc07bf83c9d09bd490a5a76adb6bd4beb7883..84edbf27dc01bc28c3e84471d02446054f7a6acc 100644 (file)
@@ -10444,6 +10444,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 f40af59a2c58d947ff37a1368f4849dcc5198318..c03797f831a8e3c557d07b126fec3146aa5f5ae4 100644 (file)
 ;
 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
@@ -367,6 +363,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
+;
 ; On UK analog lines, the caller hanging up determines the end of calls.  So
 ; Asterisk hanging up the line may or may not end a call (DAHDI could just as
 ; easily be re-attaching to a prior incoming call that was not yet hung up).