[asterisk-users] odd behaviour with AGI and dial agent

Danny Nicholas danny at debsinc.com
Thu Jul 23 08:00:30 CDT 2009


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




More information about the asterisk-users mailing list