Add handle_aoc_e() to unify handling of AOC-E
commit3c09f074861a66cef822a3935675dc0474ecd996
authorTzafrir Cohen <tzafrir@cohens.org.il>
Wed, 13 Aug 2008 17:58:38 +0000 (13 20:58 +0300)
committerTzafrir Cohen <tzafrir@cohens.org.il>
Wed, 10 Sep 2008 20:09:40 +0000 (10 23:09 +0300)
tree8ee60ae919f1b156c9b839badbc051eb134105c9
parent047dd331e541a9f54b8d3fbac4fa9d64337c513a
Add handle_aoc_e() to unify handling of AOC-E

* Add a function handle_aoc_e() to reduce the replicated code of handling
  AOC-E at the end of a call.
* Copies the ammount to variable AOCEUNITS.
channels/chan_dahdi.c