Any predefined variable showing number being called

Status
Not open for further replies.

hoth

Free User
Joined
Mar 17, 2022
Messages
21
Reaction score
3
Hi, is there a predefined variable showing the number of the agent being called during the "contact lookup" scenario? Im trying to add a condition to this scenario, which will only do "contact lookup" when a specific agent is called and there might be more than 1 specific agent as well. This is currently what I'm trying to use, which isn't working,
XML:
<Request SkipIf="[IIf([InteractionType]!=InboundCall,true,[IIf([QueueExtension]==8001, false, [IIf([QueueExtension]==1001, false, [IIf([AgentExtension]==8001, false, [IIf([AgentExtension]==1001, false, [IIf([Agent]==8001, false, [IIf([Agent]==1001, false, true)])])])])])])]" Url="https://login:password@aa46-2a01-4b00-e208-dd00-cd79-79c6-19aa-f38d.ngrok-free.app" MessagePasses="0" RequestEncoding="UrlEncoded" RequestType="Get" ResponseType="Json" />
What I'm trying to achieve here is for incoming calls where the agent extension is either 8001 or 1001, then I want to do a contact lookup. Is this possible?
 
Unfortunately this is not possible, because the contact lookup happens as soon as the call arrives to 3CX, before it's routed to the extension. So at this point, the extension that will receive the call is unknown. These are the variables that you have available in each scenario:
https://www.3cx.com/docs/crm-template-xml-description/#h.vcivldjsa1lz
 
  • Like
Reactions: hoth and Evolute IT
Status
Not open for further replies.

Latest Posts

Forum statistics

Threads
111,973
Messages
590,075
Members
164,895
Latest member
jasonkkrause