if you pick your own job-uuid you can set it in the originate too
send
job-uuid: 1234
in your bgapi event
and
{job_uuid=1234}sofia/internal/[email protected]
in your dial string.
*shrug* i am not sure exactly what the goal is so maybe it's not a useful
suggestion...
On Thu, Oct 1, 2009 at 4:36 PM, Matt Riddell <[email protected]> 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?
>
> --
> Cheers,
>
> Matt Riddell
> Director
> _______________________________________________
>
> http://www.venturevoip.com/news.php (Daily Asterisk News)
> http://www.venturevoip.com/st.php (SmoothTorque Predictive Dialer)
> http://www.venturevoip.com/c3.php (ConduIT3 PABX Systems)
>
> _______________________________________________
> FreeSWITCH-users mailing list
> [email protected]
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm
MSN:[email protected] <msn%[email protected]>
GTALK/JABBER/PAYPAL:[email protected]<paypal%[email protected]>
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:[email protected] <sip%[email protected]>
iax:[email protected]/888
googletalk:[email protected]<googletalk%3aconf%[email protected]>
pstn:213-799-1400
_______________________________________________
FreeSWITCH-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org