Hi Oskar
There is a small sample ECR script to download which routes an incoming calls according to user state speaking, available and logged off.
If a called party is speaking, the caller has options to be redirected to the main office number, leave a voicemail, send a callback request message or can wait until the called party is becoming free. If the user status of the called party changes from speaking to available, the “parked” caller will be immediately altering at the User extension.
Click here and download "Advanced DDI call routing".
Maybe this helps you.
Cheers
Mirjam
New Zealand & Australia Swyx Distributor