" /> Strange behaviour of after-call-divert-destination - Genesys CTI User Forum

Author Topic: Strange behaviour of after-call-divert-destination  (Read 10108 times)

Offline Toz

  • Newbie
  • *
  • Posts: 17
  • Karma: 0
Strange behaviour of after-call-divert-destination
« on: August 23, 2016, 06:28:50 AM »
Advertisement
Have a question regarding strange behavior of ExtensionUpdate[‘after-call-divert-destination’,DN] function in genesys. It supposed to divert a call after interaction with agent ends to a different routing point (eg for surcvey, etc), so it does. But strangely after second strategy (survey) ends it does not hang the call, stays with silence. Can you help with that issue? Is it our local problem, or genesys bug? 
The problem is not in survey itself, because I created simple strategy that sets aftercall divert and dials test agent, and after call release by agent it diverts to other strategy that simply plays message and goes to exit block. But call stays online with silence instead of being released.
T-server version is 8.1.102.35

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2755
  • Karma: 44
Re: Strange behaviour of after-call-divert-destination
« Reply #1 on: August 23, 2016, 07:45:38 AM »
You have to release/disconnect it within your routing strategy, the exit block does not do it.

Offline Toz

  • Newbie
  • *
  • Posts: 17
  • Karma: 0
Re: Strange behaviour of after-call-divert-destination
« Reply #2 on: August 23, 2016, 09:01:00 AM »
Added ReleaseCall[] function before exit block - did not help.

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2755
  • Karma: 44
Re: Strange behaviour of after-call-divert-destination
« Reply #3 on: August 23, 2016, 09:42:59 AM »
Try to use Disconnect function

Offline Toz

  • Newbie
  • *
  • Posts: 17
  • Karma: 0
Re: Strange behaviour of after-call-divert-destination
« Reply #4 on: August 23, 2016, 09:52:43 AM »
Cant find Disconnect function. Can you help me with that?

Offline Toz

  • Newbie
  • *
  • Posts: 17
  • Karma: 0
Re: Strange behaviour of after-call-divert-destination
« Reply #5 on: August 23, 2016, 10:26:33 AM »
In log there is a error message
AttributeErrorMessage 'Object not known'
AttributeRouteType 7 (RouteTypeReject)

Offline Toz

  • Newbie
  • *
  • Posts: 17
  • Karma: 0
Re: Strange behaviour of after-call-divert-destination
« Reply #6 on: August 23, 2016, 11:12:19 AM »
And if I set up a strategy to ReleaseCall[] without setting an aftercalldivert option - Route is OK. Call terminates.
I think aftercalldivert breaks Reject route somehow. Why?

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2755
  • Karma: 44
Re: Strange behaviour of after-call-divert-destination
« Reply #7 on: August 23, 2016, 11:18:07 AM »
I am always using the TRoute function with RouteType equal to "RouteTypeCallDisconnect" and it works as expected.

Offline Toz

  • Newbie
  • *
  • Posts: 17
  • Karma: 0
Re: Strange behaviour of after-call-divert-destination
« Reply #8 on: August 23, 2016, 11:30:37 AM »
You mean TRoute['','',RouteTypeReject,'']?
Already did that, got error message in log, posted before.

Can anyone assemble lab with 2 strategies on 2 RPs, where one sets ExtensionUpdate['after-call-divert-destination', XXXX], where XXXX is second RP, and second strat just plays some message and either uses TRoute or ReleaseCall[] to release call.
I can't understand why system unable to find route to reject?

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2755
  • Karma: 44
Re: Strange behaviour of after-call-divert-destination
« Reply #9 on: August 23, 2016, 11:38:44 AM »
No, I meant  TRoute['','',RouteTypeCallDisconnect,'']

Offline Toz

  • Newbie
  • *
  • Posts: 17
  • Karma: 0
Re: Strange behaviour of after-call-divert-destination
« Reply #10 on: August 23, 2016, 11:41:05 AM »
Ok, tried TRoute['','',RouteTypeCallDisconnect,'']

Got:
AttributeErrorCode 1143
AttributeErrorMessage 'Object not known'
AttributeReferenceID 4823057
AttributeReason [14] 00 01 01 00..
'RTR' 886
AttributeRouteType 14 (RouteTypeCallDisconnect)
AttributeOtherDN ''
« Last Edit: August 23, 2016, 11:42:49 AM by Toz »

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2755
  • Karma: 44
Re: Strange behaviour of after-call-divert-destination
« Reply #11 on: August 23, 2016, 11:54:46 AM »
Weird, have to check entire logs, because it working in general cases.

Offline Toz

  • Newbie
  • *
  • Posts: 17
  • Karma: 0
Re: Strange behaviour of after-call-divert-destination
« Reply #12 on: August 23, 2016, 12:09:50 PM »
Well - found a 'solution'
Created RP with no strategy and TRouted to it. Succesfully drops the call. But that is not right at all.

Can anybody please just repeat my case to check is that a bug or a feature? Is it necessary to open genesys care case for that, or its just our enviromnment broken somehow?


Offline Kubig

  • Hero Member
  • *****
  • Posts: 2755
  • Karma: 44
Re: Strange behaviour of after-call-divert-destination
« Reply #13 on: August 23, 2016, 12:11:16 PM »
What version of SIP server are you using? I will check the function within my LAB

Offline Toz

  • Newbie
  • *
  • Posts: 17
  • Karma: 0
Re: Strange behaviour of after-call-divert-destination
« Reply #14 on: August 23, 2016, 12:15:00 PM »
posted before
8.1.102.35
Thanks!
« Last Edit: August 23, 2016, 12:17:23 PM by Toz »