Quantcast
Channel: FreePBX Community Forums - Latest posts
Viewing all articles
Browse latest Browse all 227944

ATTENDEDTRANSFER not reported to /var/log/asterisk/queue_log

$
0
0

Ahh, sorry I overlooked that in the original post. There’s been a couple about this and the answer was provided at one point. This is about channel optimization in Asterisk and it looks like FreePBX doesn’t optimize the local channels from the queue.

Due to FreePBX using the /n option with local channels, the local channel is staying in the call path. So the caller’s channel is still in the queue and the local channel(s) connecting the caller in the queue to the agent is was is being transferred. So as explained before, the actual channel of the caller hasn’t left the queue so it doesn’t look like it was transferred from the queue.

The local channel needs to be optimized out of the call path once the caller and the agent are connected. Then when the caller is transferred their channel actually leaves the queue and the transfer and type is logged.

So FreePBX does this with the agents:
Local/100@from-queue/n,0,"Agent",hint:100@ext-local ← with the /n optimization is off, local channel is going to stay in the call and be what is transferred.

To do what you are looking for it needs to be:
Local/100@from-queue,0,"Agent",hint:100@ext-local ← local channel is optimized and will drop out of the call when caller/agent are connected. Transfers are logged in queue_log

The downside of the local channel dropping out of the call is that any Dial() options or other channel variables that were set on the local channel go away with the channel. So you’d need to make sure nothing is dependant of needing the variables that might be only on the local channel.


Viewing all articles
Browse latest Browse all 227944

Trending Articles


Practice Sheet of Right form of verbs for HSC Students


Rajasthan Board 10th Result 2016 Roll No wise & Name Wise


Moondru Mudichu 20-07-2016 – Polimer tv Serial


fs_older_downloads


Calaveras conflict results in shooting, 4 arrests


Guilty Pleasures


Black Angus Grilled Artichokes


Download: Rich Bizzy -Panono Ukwenda (Cover)


Muloraki Au


where in jaunpur randi khana



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>