I'm using the manager interface to place outbound calls, with the
internal leg of the call placed to an extension where they will be
handled by fastCGI as an IVR, the bones of this is working nicely.
I know I can set an actionId when I place an outbound call using manager
The successful originate response has my actionId, but has a null
uniqueId so I can't establish a link at that point.
When I get the NewChannel/NewState/NewExten events they do have the
uniqueID, but not my actionID, so I can't establish the link at that
point either.
Then the fastCGI calls my script, and from the request I can retrieve
the uniqueID, but by that time I have had not chance to establish a link
back to my actionId so am not sure which of several concurrent calls
each script is handling.
Any suggestions? Have I missed a trick in the asteriskjava
documentation, or do I need to start passing extra variables through the
dialplan?
|