I am using softphone XLite.
I want to route a incoming call. Please provide me with dial plan example.
E.g. if there are extensions 1001, 1002, 1003 , 1004 , 1005 available in the company
and 1001, 1003, 1005 are busy.
Then incoming call should get diverted to either 1002 or 1005.
How to know that 1001, 1003, 1005 are busy?
How should my dialplan be? Or suggest operations that I can use?