<br><br><div class="gmail_quote">On Thu, Oct 1, 2009 at 2:36 PM, Matt Riddell <span dir="ltr">&lt;<a href="mailto:lists@venturevoip.com">lists@venturevoip.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
I decided to go with a linked list for current channels and maintain<br>
that through state changes.<br>
<br>
So, basically it works like this:<br>
<br>
1. Originate a call using bgapi (we get a jobid in response)<br>
2. Receive an event with the jobid and a uuid<br>
3. Lookup the linked list for the jobid, set the uuid<br>
4. Receive hangup etc (with uuid) remove from linked list<br>
<br>
The problem is that sometimes I receive the hangup with the uuid before<br>
I&#39;m told what the match between the jobid and the uuid are.<br>
<br>
Any ideas?<br></blockquote><div><br>If I may ask, what&#39;s the application? Are you working on Vicidial-ish stuff for FreeSWITCH? Also, you might want to call the FreeSWITCH conference tomorrow. We have some Q&amp;A time with the FS devs and this kind of thing might work better in realtime rather than email threads.<br>
-MC<br></div></div><br>