On Thu, Oct 1, 2009 at 2:36 PM, Matt Riddell <lists@venturevoip.com> wrote:
Hi,
I decided to go with a linked list for current channels and maintain that through state changes.
So, basically it works like this:
1. Originate a call using bgapi (we get a jobid in response) 2. Receive an event with the jobid and a uuid 3. Lookup the linked list for the jobid, set the uuid 4. Receive hangup etc (with uuid) remove from linked list
The problem is that sometimes I receive the hangup with the uuid before I'm told what the match between the jobid and the uuid are.
Any ideas?
If I may ask, what'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&A time with the FS devs and this kind of thing might work better in realtime rather than email threads. -MC