[Freeswitch-users] bgapi jobid to uuid

Michael Collins msc at freeswitch.org
Thu Oct 1 16:41:02 PDT 2009


On Thu, Oct 1, 2009 at 2:36 PM, Matt Riddell <lists at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20091001/c6ae0169/attachment-0002.html 


More information about the FreeSWITCH-users mailing list