When I try to dial in through another PSTN and try to reach a X-Lite softphone extension, if no answer it will not redirect to the voicemail. The X-lite just keep ringing and ringing, even after I hang up the PSTN call, the X-lite is still ringing. It never try to redirect to the voicemail

If I make the extension busy, then I can get the voivemail as normal.

What would be the problem here? I follow the book and my extensions.conf is like :

The problem lies in your [incoming] context. First, you are not specifing a timeout in the dial command, and second, even if there were a timeout, your next priorities just play a message then hang up.

I modified the file and now it’s can record the VM when unavaliable. But after recording, if I just hangup, the line will keep busy until I stop the Asterisk. If I press “#” then hangup, then Asterrisk will really hangup.