[asterisk-dev] AOC-D passthrough - patch on bugs.digium.com

Alexander Mayrhofer alexander.mayrhofer at enum.at
Thu Jul 6 03:20:50 MST 2006


Hi,

i've just reported two patches (to libpri and chan_zap) which allow
passthrough of AOC-D (Q.956 "Advice of Charge - during call") messages. The
patch comes in two parts, one for libpri (to decode/encode/queue AOC-D
messages), and one for chan_zap (to actually pass them between the bridged
channels).

http://bugs.digium.com/view.php?id=7494
http://bugs.digium.com/view.php?id=7495

Since i'm by far not savvy about Asterisk internals, i'd appreciate if
someone with more insight could review / comment on those patches - and, of
course, i'd appreciate test reports / improvement suggestions.

Open issues that i'm aware of:

- Passthrough should be configureable, probably in two stages:
  - define the spans from where AOC-D messages are handled
  - define spans to which AOC-D messages should be forwarded

(so that a message gets only forwarded if it comes from a "trusted" span,
and goes to a span where AOC-D is desired)

- I should probably check whether the bridged channel is really a Zap type
channel?

- There might be locking issues for which i don't have enough insight -
advice appreciated.

thanks & enjoy,

Alex Mayrhofer



More information about the asterisk-dev mailing list