Merged revisions 313001 via svnmerge from
authorAlec L Davis <sivad.a@paradise.net.nz>
Thu, 7 Apr 2011 10:30:26 +0000 (10:30 +0000)
committerAlec L Davis <sivad.a@paradise.net.nz>
Thu, 7 Apr 2011 10:30:26 +0000 (10:30 +0000)
commit1e33d71b792fd58b6bf9ad9a25b505be9bc983c3
treea89cd421cf8438af7fd382facc37a99999a15609
parent1166d8dfa10d1e3233e13dd68fadd3186b773ab4
Merged revisions 313001 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r313001 | alecdavis | 2011-04-07 22:19:31 +1200 (Thu, 07 Apr 2011) | 13 lines

  Fix ISDN calling subaddr User Specified Odd/Even Flag

  Calculation of the Odd/Even flag was wrong.
  Implement correct algo, and set odd/even=0 if data would be truncated.
  Only allow automatic calculation of the O/E flag, don't let dialplan influence.

  (closes issue #19062)
  Reported by: festr
  Patches:
        bug19062.diff2.txt uploaded by alecdavis (license 585)
  Tested by: festr, alecdavis, rmudgett
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@313005 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/sig_pri.c