Dáibhéad Antoine O'Reilligh
2009-Aug-12 16:21 UTC
[asterisk-users] Why do CDR dstchannel have a strange number after them? IAX2/XXXX-????
Hi all I am just confused as to why Asterisk appends a strange number after the Channel and Extension number. This moght be obvious to some people but I have no idea why?? Eg: IAX2/100-9123 Where does the -9123 come from?? and can I ditch it? I have made a work around to substring it out using SQL for when doing logs, but I would like to know what it is and if I can remove it. (I am using mySQL to store logs direct from asterisk) Thanks David -- _________________________________________ Mr. David Anthony O'Reilly, M.Sc, B.Sc Researcher @ MISL Group, University College Cork (Current) M.Sc MOB Postgraduate @ University College Cork - M.Sc (Mobile Networking and Computing) - 2009 Computer Science Graduate of The University of Dublin, Trinity College - B.Sc (Computer Science) 2008 Email: oreillda at tcd.ie / dor3 at student.cs.ucc.ie Tel: +353 (0) 86 030 60 32 _________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090812/9367f269/attachment.htm
Tilghman Lesher
2009-Aug-12 17:19 UTC
[asterisk-users] Why do CDR dstchannel have a strange number after them? IAX2/XXXX-????
On Wednesday 12 August 2009 11:21:02 D?ibh?ad Antoine O'Reilligh wrote:> I am just confused as to why Asterisk appends a strange number after the > Channel and Extension number. This moght be obvious to some people but I > have no idea why?? > > Eg: IAX2/100-9123 > > Where does the -9123 come from?? and can I ditch it? I have made a work > around to substring it out using SQL for when doing logs, but I would like > to know what it is and if I can remove it.It's a special field created to ensure that if there is more than one concurrent call to/from a user/peer, then the channel name uniquely identifies a channel. Its removal is not recommended (and unsupported). -- Tilghman & Teryl with Peter, Cottontail, Midnight, Thumper, & Johnny (bunnies) and Harry, BB, & George (dogs)