[asterisk-dev] Advice of Charge project
Kevin P. Fleming
kpfleming at digium.com
Fri Mar 12 10:26:37 CST 2010
Klaus Darilion wrote:
> Do you have ideas how to solve the problem, e.g. introducing something
> like a "delayed release" and keep the hanging up channel alive until the
> AOC information is available?
That's not really possible for SIP, for example. If the remote endpoint
sends you a BYE, you can't send them any other signaling until you
respond to that BYE, and you can't reject it or delay it. If you do
manage to send them signaling, you'd likely receive a '491 Request
Pending' response in return, and a re-transmission of the BYE. For SIP,
at least, there is no 'post-call' signaling possible.
The only practical way that I could see AOC-E being handled over SIP is
for the endpoint to SUBSCRIBE to some sort of AOC-E event package, and
then the server could send a NOTIFY if and when the AOC-E data becomes
available, including in the event package the Call-ID and tags of the
call the AOC-E is related to.
--
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
skype: kpfleming | jabber: kfleming at digium.com
Check us out at www.digium.com & www.asterisk.org
More information about the asterisk-dev
mailing list