Re: [Asterisk-java-users] Connecting manager's ActionId to asterisk's UniqueID
Brought to you by:
srt
From: Andy B. <and...@pr...> - 2007-09-07 10:18:09
|
On 06/09/2007 17:21, Andy Burns wrote: > I know I can set an actionId when I place an outbound call using manager > > 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. I've now set my own call reference on the channel using OriginateAction.setVariables() and can then retrieve the value inside my AGI script with BaseAgiScript.getVariable() Is this a good approach? |