route calls between two queues

Status
Not open for further replies.

lsh

Silver Partner
Basic Certified
Joined
Jun 24, 2024
Messages
4
Reaction score
1
Hi,

I'm looking to route calls between two queues based on the status of an extension, exactly if that extension is in DND status, the call should be route to the second queue

What i currently have but that not working and i don't see why.

1719909625648.png

For more details

1719909675664.png


1719909682513.png

1719909690165.png
 
You're comparing strings, remove the quotes from GetExtensionStatus1.CurrentProfileName.
 
done, and still not working.
 
Condition 1

1719924541577.png

1719924560857.png

Condition 2

1719924493836.png
1719924502499.png
 
Extension 003 should become "003" (with quotes), otherwise it will be treated as a number, removing the leading zeros, and not finding the extension.
 
hey, that was the problem, it's working now, thank you.

So the field name extension need quotes oterwise the value is treated as a number...
 
hey, that was the problem, it's working now, thank you.

So the field name extension need quotes oterwise the value is treated as a number...
Yes, this is only noticeable when your extensions start with 0, otherwise it would work as the number will be automatically converted to a string.
 
  • Like
Reactions: lsh and Evolute IT
Status
Not open for further replies.

Forum statistics

Threads
111,974
Messages
590,081
Members
164,899
Latest member
mazet