Picture of JirkaZidek
Registered 4 years 70 days
JirkaZidek Monday, 29 March 2021, 05:27 PM
UserReroute do not work on WaitingQueue ?
I am using RCC via WebSocket and have found that for extension of type WaitingQueue, commands UserReroute and UserRedirect do not work on my system (I have IP411 in lab). Despite UserReroute response has no error, the call remains on WaitingQueue. The only operation possible is UserClear.

Jiri

REPRO & LOG

I registered extensions 10,11 (innovaphones), 20 (waitingqueue). User ids in brackets:

16 11:15:00,760: 006 : Pbx.DoSendConnection: Invoking element 1625:{"cn":"EXT10","xfer":false,"disc":true,"api":"RCC","src":"1625","mt":"UserInitialize"}

16 11:15:00,765: 010 : Pbx.DoGuardConnection: Found element 1625:{"api":"RCC","src":"1625","mt":"UserInitializeResult","user":1,"prefixIntl":"0","prefixNtl":"0","prefixSubs":"0"}

16 11:15:05,162: 006 : Pbx.DoSendConnection: Invoking element 1626:{"cn":"EXT11","xfer":false,"disc":true,"api":"RCC","src":"1626","mt":"UserInitialize"}

16 11:15:05,166: 010 : Pbx.DoGuardConnection: Found element 1626:{"api":"RCC","src":"1626","mt":"UserInitializeResult","user":2,"prefixIntl":"0","prefixNtl":"0","prefixSubs":"0"}

16 11:15:10,473: 006 : Pbx.DoSendConnection: Invoking element 1627:{"cn":"EXT20","xfer":false,"disc":true,"api":"RCC","src":"1627","mt":"UserInitialize"}

16 11:15:10,476: 010 : Pbx.DoGuardConnection: Found element 1627:{"api":"RCC","src":"1627","mt":"UserInitializeResult","user":3,"prefixIntl":"0","prefixNtl":"0","prefixSubs":"0"}

I made a call from 10 to 20…

16 11:15:25,217: 006 : Pbx.DoSendConnection: Invoking element 1628:{"user":1,"ftyNoCF":false,"audio":false,"rc":0,"e164":"20","api":"RCC","src":"1628","mt":"UserCall"}

16 11:15:25,222: 011 : Pbx.DoGuardConnection: Found element 1628:{"api":"RCC","src":"1628","mt":"UserCallResult","call":4}

16 11:15:25,288: 011 : Pbx.DoGuardConnection: Received info 1625:{"mt":"CallInfo","api":"RCC","src":"1625","user":1,"call":4,"state":1,"conf":"f044214da92b6001ea210090334033eb","peer":{"e164":"20","h323":""},"msg":"x-setup"}

16 11:15:25,303: 010 : Pbx.DoGuardConnection: Received info 1627:{"mt":"CallInfo","api":"RCC","src":"1627","user":3,"call":5,"state":129,"conf":"f044214da92b6001ea210090334033eb","peer":{"cn":"EXT10","dn":"EXT10","e164":"10","h323":"user1","norm":"10"},"msg":"r-setup"}

16 11:15:25,311: 003 : Pbx.DoGuardConnection: Received info 1627:{"mt":"CallInfo","api":"RCC","src":"1627","user":3,"call":5,"state":133,"peer":{"cn":"EXT10","dn":"EXT10","e164":"10","h323":"user1","norm":"10"},"msg":"x-conn"}

16 11:15:25,336: 011 : Pbx.DoGuardConnection: Received info 1625:{"mt":"CallInfo","api":"RCC","src":"1625","user":1,"call":4,"state":5,"peer":{"cn":"EXT20","dn":"EXT20","e164":"20","h323":"WQ TestA","norm":"20"},"msg":"r-conn"}

… the call is now in connected state, I can hear music.

I try to divert call from 20 to 11…

16 11:15:42,818: 008 : Pbx.DoSendConnection: Invoking element 1629:{"call":5,"rc":0,"e164":"11","api":"RCC","src":"1629","mt":"UserReroute"}

16 11:15:42,825: 011 : Pbx.DoGuardConnection: Found element 1629:{"api":"RCC","src":"1629","mt":"UserRerouteResult"}

…. no error, but the call remains on 20, I continue to hear music on 10.

So the only action I can do on 20 is to hang up the call…

16 11:16:04,114: 006 : Pbx.DoSendConnection: Invoking element 1630:{"call":5,"cause":16,"api":"RCC","src":"1630","mt":"UserClear"}

16 11:16:04,122: 011 : Pbx.DoGuardConnection: Found element 1630:{"api":"RCC","src":"1630","mt":"UserClearResult"}

16 11:16:04,127: 017 : Pbx.DoGuardConnection: Received info 1627:{"mt":"CallInfo","api":"RCC","src":"1627","user":3,"call":5,"state":135,"peer":{"cn":"EXT10","dn":"EXT10","e164":"10","h323":"user1","norm":"10"},"msg":"x-rel"}

16 11:16:04,134: 018 : Pbx.DoGuardConnection: Received info 1625:{"mt":"CallInfo","api":"RCC","src":"1625","user":1,"call":4,"state":6,"peer":{"cn":"EXT20","dn":"EXT20","e164":"20","h323":"WQ TestA"},"msg":"r-rel"}

16 11:16:04,163: 014 : Pbx.DoGuardConnection: Received info 1627:{"mt":"CallInfo","api":"RCC","src":"1627","user":3,"call":5,"del":true,"state":135,"peer":{"cn":"EXT10","dn":"EXT10","e164":"10","h323":"user1"},"msg":"del"}

16 11:16:04,171: 006 : Pbx.DoGuardConnection: Received info 1625:{"mt":"CallInfo","api":"RCC","src":"1625","user":1,"call":4,"del":true,"state":6,"peer":{"cn":"EXT20","dn":"EXT20","e164":"20","h323":"WQ TestA"},"msg":"del"}

… no calls anymore.

I used this definition of waitingqueue 20:



I tried to play params “Alert Timeout”, “Operator connect for SOAP”, “Max Calls”, but no success.


Jiri


2013
Moderator Registered 16 years 72 days
Guntram Diehl (innovaphone) Wednesday, 31 March 2021, 07:05 PM
Re: UserReroute do not work on WaitingQueue ?
UserReroute only works on calls not connected. Try to use UserRedirect instead.
← You can define your color theme preference here