[asterisk-users] Why do CDR dstchannel have a strange number after them? IAX2/XXXX-????

Tilghman Lesher tilghman at mail.jeffandtilghman.com
Wed Aug 12 12:19:20 CDT 2009


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)



More information about the asterisk-users mailing list