Delay between asterisk dialplan and ami events

hello dear friends
i want to know the exect delay time between dialplan execute and ami raised events
for example:
when i set a variable on channel in dialplan, varset events on AMI raise with delay.
or cdr in end of call, i can see cdr log in asterisk console but ami raise ‘cdr event’ after that with delay about some seconds.
i want to know this exact delay time and how to reduce it.

There is no fixed delay. It’s asynchronous so it depends on what the system is doing, what the AMI connection is doing, how fast it reads the packet, the TCP/IP connection. There is no real way to reduce it except to reduce what the system itself is doing.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.