[asterisk-users] odd behaviour with AGI and dial agent
Keiron Liddle
keiron.liddle at gsvisionint.com
Thu Jul 23 23:09:25 CDT 2009
Yes I have monitored it on the CLI and everything appears to work
correctly but something is going wrong internally.
I tried it with a php agi and it does work properly, so I guess it could
be something to do with the fastagi. Even though the script is simple
(at the moment) I would prefer to be able to use fastagi as the
information is on another computer.
By the way I am using asterisk 1.6.1
On 07/23/2009 11:00 PM, Danny Nicholas wrote:
> Have you monitored the call from CLI with verbose set up? What happens if
> you use regular AGI instead of FastAGI?
>
> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Keiron Liddle
> Sent: Wednesday, July 22, 2009 10:15 PM
> To: asterisk-users at lists.digium.com
> Subject: [asterisk-users] odd behaviour with AGI and dial agent
>
> Hi,
>
> I have come across an odd problem.
>
> Basically I am transferring a call to an agent. The agent is logged in
> and set as paused.
> In order to find which agent to call I am using a fastagi script to just
> set a variable.
> When it falls through the agi script and dials the agent (using the
> variable) it doesn't connect the call properly to the agent. I get the
> beep but no audio (along with some other strange behaviour with the
> channel not hanging up properly, core show channels doesn't work properly).
>
> Now if I just set the variable in the dialplan (ie. no agi), or just
> hardcode the agent being called then it works fine.
>
> It seems that calling the fastagi is doing something to the channel
> which means that it doesn't work properly afterwards. I have also tried
> calling the agent in the agi with the same problems.
>
> Does anyone have any idea what the agi script could be doing to the
> channel/call, what it could be changing and how I can make it work properly.
>
>
> Keiron
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
>
More information about the asterisk-users
mailing list