Incorrect object state

My brain is failing me. The Prada bag isn’t helping either…

I have a single agent that when attempting to dial out on Line2 while on an outbound call gets the following error:

EventError
AttributeErrorMessage ‘Incorrect object state’
AttributeErrorCode = 1161

I’m guessing the answer is very simple.. so any ideas? ::slight_smile:

TServer 7.6 A4400

Can you post whole snippet?

Yes. I’ll pull the archive.

Do you want the full flow or just the error?

2 Likes

There can be at least two causes:

  1. You don’t have formal second line so when you first hold the line - and then try to make second call - you receive error
  2. You can have problem with category - you cannot make call if you are on outbound call.

But based on the scenario it’s possible to come closer.

1 Like

Thanks for your input. When this agent is on an inbound call, he is able to put the call on hold, and use line2 for consult/transfer/etc.

The problem happens only on outbound calls. So, based on above, this looks more like case #2.

Here is the log snipped (a bit cleaned up for internal requirements)

11:26:13.388 Trc 04541 RequestMakeCall received from [57] (00002742 CTIToolbar XXXXX)
message RequestMakeCall
	AttributeReferenceID	13
	AttributeMakeCallType	1 (MakeCallDirectAgent)
	AttributeOtherDN	'91XXXXXXXXXX'
	AttributeThisDN	'AgentDN'
	
@11:26:14.4876 [0] 7.6.003.03 distribute_event: message EventOffHook
	AttributeEventSequenceNumber	00000000007515b0
	AttributeTimeinuSecs	487617
	AttributeTimeinSecs	1331738774 (11:26:14)
	AttributeAgentID	'AgentID'
	AttributeThisDN	'AgentDN'
	
@11:26:14.4892 [0] 7.6.003.03 distribute_response: message EventDialing
	AttributeEventSequenceNumber	00000000007515b1
	AttributeTimeinuSecs	489245
	AttributeTimeinSecs	1331738774 (11:26:14)
	AttributeReferenceID	13
	AttributeOtherDN	'91XXXXXXXXXX'
	AttributeThisDN	'AgentDN'
	AttributeExtensions	[81] 00 03 00 00..
		'GCTI_SUB_THIS_DN'	'AgentID'
		'GCTI_BUSINESS_CALL'	1
		'GCTI_GLOB_CID'	bin: 95 B8 60 4F.. (len=8)
	AttributeNetworkCallID	95b8604f1d2b0400
	AttributeDNIS	'91XXXXXXXXXX'
	AttributeCallUUID	'02BR5TJ0FCFBL4MI1A8468TAES01K1DE'
	AttributeConnID	00b901fb4047877b
	AttributeCallID	11037
	AttributeCallType	3
	AttributeCallState	0
	AttributeThisTrunk	1304
	AttributeThisDNRole	1
	AttributeAgentID	'AgentID'
	AttributeOtherDNRole	2
	
@11:26:14.4906 [0] 7.6.003.03 distribute_event: message EventNetworkReached
	AttributeEventSequenceNumber	00000000007515b2
	AttributeTimeinuSecs	490669
	AttributeTimeinSecs	1331738774 (11:26:14)
	AttributeThisDN	'AgentDN'
	AttributeThisTrunk	1304
	AttributeThisDNRole	1
	AttributeExtensions	[81] 00 03 01 00..
		'GCTI_BUSINESS_CALL'	1
		'GCTI_GLOB_CID'	bin: 95 B8 60 4F.. (len=8)
		'GCTI_SUB_THIS_DN'	'AgentID'
	AttributeAgentID	'AgentID'
	AttributeNetworkCallID	95b8604f1d2b0400
	AttributeDNIS	'91XXXXXXXXXX'
	AttributeCallUUID	'02BR5TJ0FCFBL4MI1A8468TAES01K1DE'
	AttributeConnID	00b901fb4047877b
	AttributeCallID	11037
	AttributeCallType	3
	AttributeCallState	0
	AttributeOtherDNRole	2
	AttributeOtherDN	'91XXXXXXXXXX'
	
@11:26:24.0355 [0] 7.6.003.03 distribute_event: message EventEstablished
	AttributeEventSequenceNumber	00000000007515d2
	AttributeTimeinuSecs	35554
	AttributeTimeinSecs	1331738784 (11:26:24)
	AttributeThisDN	'AgentDN'
	AttributeExtensions	[81] 00 03 00 00..
		'GCTI_SUB_THIS_DN'	'AgentID'
		'GCTI_BUSINESS_CALL'	1
		'GCTI_GLOB_CID'	bin: 95 B8 60 4F.. (len=8)
	AttributeNetworkCallID	95b8604f1d2b0400
	AttributeDNIS	'91XXXXXXXXXX'
	AttributeCallUUID	'02BR5TJ0FCFBL4MI1A8468TAES01K1DE'
	AttributeConnID	00b901fb4047877b
	AttributeCallID	11037
	AttributeCallType	3
	AttributeCallState	0
	AttributeThisTrunk	1304
	AttributeThisDNRole	1
	AttributeAgentID	'AgentID'
	AttributeOtherTrunk	262943
	AttributeOtherDNRole	2
	AttributeOtherDN	'91XXXXXXXXXX'
	
message RequestHoldCall
	AttributeReferenceID	14
	AttributeConnID	00b901fb4047877b
	AttributeThisDN	'AgentDN'
	
@11:27:26.7971 [0] 7.6.003.03 distribute_response: message EventHeld
	AttributeEventSequenceNumber	00000000007516d7
	AttributeTimeinuSecs	797140
	AttributeTimeinSecs	1331738846 (11:27:26)
	AttributeReferenceID	14
	AttributeThisDN	'AgentDN'
	AttributeExtensions	[81] 00 03 00 00..
		'GCTI_SUB_THIS_DN'	'AgentID'
		'GCTI_BUSINESS_CALL'	1
		'GCTI_GLOB_CID'	bin: 95 B8 60 4F.. (len=8)
	AttributeNetworkCallID	95b8604f1d2b0400
	AttributeDNIS	'91XXXXXXXXXX'
	AttributeCallUUID	'02BR5TJ0FCFBL4MI1A8468TAES01K1DE'
	AttributeConnID	00b901fb4047877b
	AttributeCallID	11037
	AttributeCallType	3
	AttributeCallState	0
	AttributeThisTrunk	1304
	AttributeThisDNRole	1
	AttributeAgentID	'AgentID'
	AttributeOtherTrunk	262943
	AttributeOtherDNRole	2
	AttributeOtherDN	'91XXXXXXXXXX'
	
message RequestMakeCall
	AttributeReferenceID	15
	AttributeMakeCallType	1 (MakeCallDirectAgent)
	AttributeOtherDN	'internalExt'
	AttributeThisDN	'AgentDN'
	
11:28:03.006 Int 04543 Interaction message "RequestMakeCall" received from 57 ("CTIToolbar_ASC")
03/14/12@11:28:03.006 +++ RqHandler::RequestMakeCall +++
  got message from client <2742>
  device <AgentDN> is replaced by <AgentID>
  [AgentID/-]: check device for 'RequestMakeCall'
  *** Transaction Info:
    Type/Oper. : 5 - 10 <Request : MakeCall>
    hostRef    : 9823
    SubjDev[0] : AgentID (Private)
    LocalDev[0]: AgentID (Unknown)
    LocalDev[1]: internalExt (Unknown)
    *** PrivateList has 1 elements:
      PData : Service Options: 8
    userInfo   : 2742, 15
@11:28:03.007 DataToSwitch 47 bytes
0000-000f: a1 2d 02 03 00 98 23 02-01 0a 30 23 80 05 34 39 |.-....#...0#..49|
0010-001f: 39 35 37 62 07 80 05 33-32 34 35 30 7e 11 a1 0f |957b...internalExt~...|
0020-002e: 30 0d 06 06 2b 0c 89 36-83 77 03 03 06 10 00    |0...+..6.w..... |
invoke { -- SEQUENCE --
  invokeID 38947,
  operationValue 10,
  argument { -- SEQUENCE --
    callingDevice dialingNumber '3439393537'H  -- "AgentID" --,
    calledDirectoryNumber deviceIdentifier deviceIdentifier dialingNumber '3332343530'H  -- "internalExt" --,
    extensions { -- SEQUENCE --
      privateData { -- SEQUENCE/SET OF --
        privateData { -- SEQUENCE --
          manufacturer {1 3 12 1206 503},
          '1000'H  -- BIT STRING bitlen = 10 --
        }
      }
    }
  }
}
lnk>	(link_write) link 1(link-tcp), 49 bytes
  H->S 49 bytes send, invoke id 38947 (x9823), 0[10] requests pending
03/14/12@11:28:03.007 --- RqHandler::RequestMakeCall ---
@11:28:03.009 DataFromSwitch 13 bytes
0000-000c: a3 0b 02 03 00 98 23 02-01 01 82 01 02          |......#......   |
03/14/12@11:28:03.009 RECEIVED: 13 bytes
aPDU-rose retError { -- SEQUENCE --
  invokeID 38947,
  errorValue 1,
  parameter stateErrors 2
}
+++ Err::<StateIncompatibility (InvalidObjectState)> +++
  *** Transaction Info:
    Type/Oper. : 3 - 514 <Error : <StateIncompatibility (InvalidObjectState)>>
    hostRef    : 9823
  [AgentID]: event received, for <RequestMakeCall:2742:15:2251978:1>
  Unsolicited error: req (RequestMakeCall) on <AgentID>
@11:28:03.0100 [0] 7.6.003.03 send_to_client: message EventError
	(Incorrect object state)
	AttributeEventSequenceNumber	000000000075176e
	AttributeTimeinuSecs	10062
	AttributeTimeinSecs	1331738883 (11:28:03)
	AttributeExtensions	[64] 00 02 01 00..
		'GCTI_SOURCE_ERROR_TYPE'	2
		'GCTI_SOURCE_ERROR_CODE'	2
	AttributeErrorMessage	'Incorrect object state'
	AttributeErrorCode	1161
	AttributeUserEvent	RequestMakeCall
	AttributeClientID	10050
	AttributeReferenceID	15
	AttributeMakeCallType	1 (MakeCallDirectAgent)
	AttributeOtherDN	'internalExt'
	AttributeThisDN	'AgentDN'
	

What is supposed to ‘internalExt’??

The agent is dialing an internal extension (5 digit). For example 5555. In our case it is a routing point.

Can you dial your RSI internally? I mean, you have created:

  1. Hybrid loop on OXE
  2. Allow local call on RSI configuration

Are these two true?

In our case, this is the only agent in the prod environment who is having this problem (regardless of the number he dials, RSI or not).

The RSI is working for everyone else. So I’m presuming there are no errors in RSI config..

1 Like

If only 1 agent then check his connection category maybe he is not allowed to call that range of numbers

1 Like