Hello!
I have some old server that started having weird problem recently. It is a VM and it’s running Asterisk 1.8.15-cert1 and whenever Dial application is used with timeout setting it time out noticeably quicker:
[2018-03-17 09:27:26] VERBOSE[4417] pbx.c: -- Executing [s@macro-somecontext:23] Dial("Local/114@from-somecontext-9b23;2", "SIP/114,40,irtT") in new stack
[2018-03-17 09:27:26] VERBOSE[4417] netsock2.c: == Using SIP RTP TOS bits 184
[2018-03-17 09:27:26] VERBOSE[4417] netsock2.c: == Using SIP RTP CoS mark 5
[2018-03-17 09:27:26] VERBOSE[4417] app_dial.c: -- Called SIP/114
[2018-03-17 09:27:26] VERBOSE[4417] app_dial.c: -- SIP/114-000400c0 is ringing
[2018-03-17 09:27:33] VERBOSE[4417] app_dial.c: -- Nobody picked up in 40000 ms
[2018-03-17 09:27:33] VERBOSE[4417] pbx.c: -- Executing [s@macro-somecontext:24] Goto("Local/114@from-from-somecontext-9b23;2", "dial-NOANSWER,1") in new stack
As you can see, Dial was started with timeout set to 40 seconds and after only 7 it timed out.
Server’s time does not look to be shifting. Sleep bash command acts usual.
Asterisk timing test command output is not clean:
hostname*CLI> timing test
Attempting to test a timer with 50 ticks per second.
Using the 'DAHDI' timing module for this test.
poll() timed out! This is bad.
poll() timed out! This is bad.
poll() timed out! This is bad.
poll() timed out! This is bad.
poll() timed out! This is bad.
poll() timed out! This is bad.
poll() timed out! This is bad.
poll() timed out! This is bad.
poll() timed out! This is bad.
poll() timed out! This is bad.
poll() timed out! This is bad.
poll() timed out! This is bad.
poll() timed out! This is bad.
poll() timed out! This is bad.
poll() timed out! This is bad.
poll() timed out! This is bad.
poll() timed out! This is bad.
poll() timed out! This is bad.
poll() timed out! This is bad.
poll() timed out! This is bad.
poll() timed out! This is bad.
poll() timed out! This is bad.
poll() timed out! This is bad.
poll() timed out! This is bad.
It has been 1020 milliseconds, and we got 51 timer ticks
… but could that affect not only media files playback but timeouts too?
Thanks!