[asterisk-dev] Relating Monitor Recording to a Call Unique ID

Dave Woolley david.woolley at bts.co.uk
Tue Jun 15 06:55:42 CDT 2010


Steve Totaro wrote:

> How can I relate the Asterisk call initiating UniqueID to 
> the monitor audio recording filename - with certainty? It to 
> appears the monitor files are a collection of values, one part to 
> of which seems to be a one-off of the Asterisk call originating to 
> UniqueID. Do these relate the same every time. I cannot tell if to 
> the monitor file will contain the call initiating UniqueID + 1 to 
> every time or if this is an inconsistent process. Please let me to 
> know. Also, please let me know if clarification is needed.

You would need to look up the bridged peer at run time.  The unique-ID
is composed of the time, to the second, and a sequential integer.  The
time part might differ if the incoming and outgoing channels were
created across a second boundary, and the sequence number might differ
from being one greater if another channel creation intervened.  You
really need to treat this value as opaque.

I'm not sure if this is more of a support question than a developer one.

As this is a public list, the confidentiality part of the following
doesn't apply.
-- 
David Woolley
BTS Holdings Plc
Tel: +44 (0)20 8401 9000 Fax: +44 (0)20 8401 9100
http://www.bts.co.uk 

This email and its attachments may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of the company. If you are not the intended recipient of this email, you must take no action based upon it, nor must you copy or show it to anyone. Please contact the sender if you believe you have received this email in error. In accordance with English Law, email communications may be monitored. All reasonable precautions have been taken to ensure that no viruses are present in this email; however, the company cannot accept responsibility for loss or damage arising from the use of this email. We recommend that you subject this email to your own virus checking procedures. BTS Holdings PLC is registered in England 1517630, VAT No 523 5092 66. Registered office, BTS House, Manor Road, Wallington, SM6 0DD


More information about the asterisk-dev mailing list