Re: [Asterisk-Users] How uniqueids are formed - possible race conditions for linked channels?

2005-11-05 Thread Roger Schreiter
Stefan Reuter schrieb: ... So having a look at Asterisk 1.2-beta2 is probably the way to go. Great! Yes, this will solve my problem. Let's upgrade ... Thanks! Roger. ___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users maili

Re: [Asterisk-Users] How uniqueids are formed - possible race conditions for linked channels?

2005-11-05 Thread Stefan Reuter
> I want to track the ringing event of the outgoing channel. > Unfortunatelly the link event is fired not before connect. I suppose you are still running Asterisk 1.0.x. For Asterisk 1.0.x i know of no clean solution for that problem. Asterisk 1.2 introduced the Dial event that is triggered before

Re: [Asterisk-Users] How uniqueids are formed - possible race conditions for linked channels?

2005-11-05 Thread Roger Schreiter
Stefan Reuter schrieb: To propose the best solution we must know more about your actual use case. Thanks for your answer! I want to track the ringing event of the outgoing channel. Unfortunatelly the link event is fired not before connect. Thus, I see first the incoming channel (SIP or IAX)

Re: [Asterisk-Users] How uniqueids are formed - possible race conditions for linked channels?

2005-11-05 Thread Stefan Reuter
On Sat, 2005-11-05 at 13:42 +0100, Roger Schreiter wrote: > Now I wonder, whether I can rely on that scheme. > I assume, the timestamp part can be different, e.g. > if between the creation of the incoming channel and > the creation of the outgoing channel the system clock > switches to the next sec

[Asterisk-Users] How uniqueids are formed - possible race conditions for linked channels?

2005-11-05 Thread Roger Schreiter
Hi, the uniqueid obviously consists of a timestamp part and an continously incremented part, separated by a dot. The two channels of a call in most cases have the same number before the dot (timestamp) and consecutive numbers after the dot. Now I wonder, whether I can rely on that scheme. I ass