Hi,
I am using ForceRoute Block in my composer project for routing to transfer to other DN but its not working.
17:08:52.229 [T:2004] {ScxmlMetric:3} METRIC <log sid='DNC4D3CT8L54TENUCTLDU12VE4000025' expr='ERROR: ({data:{description:"[b]Cannot get link and/or device from call[/b]", error:"invalidsource", interactionid:"5898MQJ4NP62B9Q52C8C24ONS400002M", requestid:"0"}, invokeid:"", name:"error.interaction.redirect", sendid:"", type:"platform"})' label='' level='1' />
I am only giving from:system.ThisDN and to:varGVPTrunk (varGVPTrunk=6000 is the DN).
Below is the SCXML.
<!-- This is the RouteToGVPTrunk State -->
<state id="RouteToGVPTrunk">
<initial>
<transition target="$$_MY_PREFIX_$$._reserved_RouteToGVPTrunk_redirect">
<log expr="'Inside ForceRoute Block: RouteToGVPTrunk '"/>
<if cond="isLoggingEnabled()">
<log expr="loggingOutput()" level="4" />
</if>
</transition>
</initial>
<state id="_reserved_RouteToGVPTrunk_redirect">
<onentry>
<ixn:redirect detach="true" requestid="App_RouteToGVPTrunk['requestid']" interactionid="system.InteractionID" from="system.ThisDN" to="varGVPTrunk" type="_genesys.queue.rType.RouteTypeDefault"/>
</onentry>
<transition event="interaction.redirect.done" cond="_event.data.requestid==App_RouteToGVPTrunk['requestid']" target="$$_MY_PREFIX_$$.Exit1">
<script>storeEvent("RouteToGVPTrunk", _event);</script>
<assign location="App_RouteToGVPTrunk['interaction.redirect.requestid']" expr="_event.data.requestid"/>
</transition>
</state>
</state>
Is there any missing configuration I am doing for ForceRoute ? And I am worndering where to define switch name because if we use TRoute function in IRD then we have to define Switch as well but in ForceRoute I dont where to define.