[Asterisk-Users] CDR for transfered calls

Aaron J. Angel aaron at angel-family.com
Tue Jun 15 15:22:53 MST 2004


James Golovich [james at wwnet.net] wrote:
> On Tue, 15 Jun 2004, John Todd wrote:
>> Not all Asterisk channel types lose control when they step out of the
>> media stream.  SIP devices will notify the proxy server (Asterisk, in
>> our case) that a call has terminated, so even though the media stream
>> never went through the "proxy" (Asterisk).  This is an important
>> distinction between IAX2 and SIP - media and control messages are not
>> tightly linked with SIP as they are with IAX2.  Until IAX2 has some
> 
> If you depend on behavior of an unspecified client your
> asking for trouble. It would be pretty trivial to get a
> client to send back this 'Call Completed' message right after

Then the PSTN is broken too.  SS7 (the signalling portion) is separate from
voice trunks.  This was done because it was insecure doing exactly the
opposite -- which put the signalling along with the media, which made
phreaking phun and easy.

IMO, signalling and media should be separate.  The proxying system should
know when the call is complete regardless of whether or not it's in the
media, as proper billing depends on it.  In the PSTN world, it's not the end
users that are responsible for signalling the end of the call; the switches
do that when the media path (i.e., voice trunk) is disconnected.




More information about the asterisk-users mailing list