Picture of Roman 113
Registered 13 years 96 days
Roman 113 Tuesday, 2 February 2021, 09:49 AM
UserReroute and UserRedirect not working
Hello,

we are developing connector for Call Center software.

In PBX are User objects with number 10,11,12 and Waiting Queue object with number 20.

The connector is able to handle call between users without problem, but when the call is in Waiting queue it is not possible to divert it to the user.

Making call from 10 to 20


[15840] 01 16:21:58,741: 007 : Pbx.DoSendConnection: Invoking element 505:{"user":1,"ftyNoCF":false,"audio":false,"rc":0,"e164":"20","api":"RCC","src":"505","mt":"UserCall"}

[15840] 01 16:21:58,744: 024 : Pbx.DoGuardConnection: Found element 505:{"api":"RCC","src":"505","mt":"UserCallResult","call":13}

Events comming on call establishemnt

[15840] 01 16:21:58,791: 021 : Pbx.DoGuardConnection: Received info 488:{"mt":"CallInfo","api":"RCC","src":"488","user":1,"call":13,"state":1,"conf":"035768a62a186001ce570090334033eb","peer":{"e164":"20","h323":""},"msg":"x-setup"}

[15840] 01 16:21:58,792: 021 : Pbx.DoGuardConnection: Received info 491:{"mt":"CallInfo","api":"RCC","src":"491","user":4,"call":14,"state":129,"conf":"035768a62a186001ce570090334033eb","peer":{"cn":"EXT10","dn":"EXT10","e164":"10","h323":"user1","norm":"10"},"msg":"r-setup"}

[15840] 01 16:21:58,793: 021 : Pbx.DoGuardConnection: Received info 491:{"mt":"CallInfo","api":"RCC","src":"491","user":4,"call":14,"state":133,"peer":{"cn":"EXT10","dn":"EXT10","e164":"10","h323":"user1","norm":"10"},"msg":"x-conn"}

[15840] 01 16:21:58,793: 021 : Pbx.DoGuardConnection: Received info 488:{"mt":"CallInfo","api":"RCC","src":"488","user":1,"call":13,"state":5,"peer":{"cn":"EXT20","dn":"EXT20","e164":"20","h323":"WQ TestA","norm":"20"},"msg":"r-conn"}


Diverting call from 20 to 11


[15840] 01 16:22:06,548: 008 : Pbx.DoSendConnection: Invoking element 506:{"call":14,"rc":0,"e164":"11","api":"RCC","src":"506","mt":"UserReroute"}

[15840] 01 16:22:06,550: 020 : Pbx.DoGuardConnection: Found element 506:{"api":"RCC","src":"506","mt":"UserRerouteResult"}

  • No error, but nothing happens

How can be the call diverted from WQ to user?

Thanks.
Andreas Fink
Moderator Registered 13 years 109 days
Andreas Fink (innovaphone) Tuesday, 2 February 2021, 06:34 PM
Re: UserReroute and UserRedirect not working
Hello Roman,

the call to WQ object is probably originated from trunk line object?

It cloud be, the object used for RCC API has no rights to control the call.

You have to be able to control calls of the trunk line and call of the WQ object.

Can you check this?

Best Regards
Andreas Fink
Picture of Roman 113
Registered 13 years 96 days
Roman 113 Wednesday, 3 February 2021, 12:59 PM
Re: UserReroute and UserRedirect not working
Hello Andreas,

no, there is just a simple scenario now, 3x User objects with numbers 10,11,12 and WQ object with number 20.
All calls are made inside PBX so far.
When everythig will work fine, we will try external calls comming from the trunk , which is desired scenario.

At the previous posted trace, there is a call from User 10 to WQ 20 it is fine, but then we want to divert that call from WQ to User number 11 nothing happen and there is no error.

The connector is connected to the PBX via App object and all permission are granted as you can see on screenhot.

Best Regards,
Roman Hosna
APP.png

← You can define your color theme preference here