Re: PrivilegeViolationException with modified numbers

"Potluri, Mohan" <[email protected]> Fri, 5 May 2006 11:22:13 -0700
Newsgroups gmane.comp.java.sun.jtapi
Message-ID <589E1E30171D31418774964925D7430F0197D2B7@vtg-um-e2k6.sj21ad.cisco.com>
Check if user is included in "Standard CTI Allow Calling Number
Modification" group.

Regards
Mohan

-----Original Message-----
From: Discussion list for Java Telephony API
[mailto:[email protected]] On Behalf Of Paul Yago
Sent: Friday, May 05, 2006 10:56 AM
To: [email protected]
Subject: [JTAPI] PrivilegeViolationException with modified numbers

Hello,

I'm trying to use Cisco's selectRoute(String[], int, String[]) which is
supposed to allow the modification of caller ID's out to the destination
phone. I had this working fine for a while, but a while later it sudden
stopped working.

In the jtapi logs I'm getting a PrivilegeViolationException. App not
authorized to modify the calling number.

What do I need to get authorization to set modified numbers?

The provider is fetched with a super user (full permissions). The
calling search space has the permissions to place the call. The caller
and the calling party are in the provider's domain....  ?

Any insight is appreciated.
Thanks


Code:
ciscoRouteSession.selectRoute(routeSelected,
CiscoRouteSession.ROUTEADDRESS_SEARCH_SPACE, modifiedAddresses);

Logs:
3360: May 05 10:04:08.684 PDT %JTAPI-PROTOCOL-7-UNK:(P2-10.2.0.53)
received Response: com.cisco.cti.protocol.FailureResponse {
  sequenceNumber = 416
  resultCode     = -1932787513
  description    = redirect failure: App not authorized to modify the
calling number
}

3361: May 05 10:04:08.685 PDT %JTAPI-JTAPI-7-UNK:[[8808/(P2-pyagoCM)
GCID=(1,759385)->ACTIVE]->OFFERED]PrivilegeViolationExceptionImpl
caught: illegal parameter usage
3362: May 05 10:04:08.685 PDT %JTAPI-JTAPIIMPL-7-UNK:[(P2-pyagoCM)
GCID=(1,759385)->ACTIVE/RA: 8808] PrivelegeViolationException thrown:
illegal parameter usage


Preceded by:

3359: May 05 10:04:08.682 PDT %JTAPI-PROTOCOL-7-UNK:(P2-10.2.0.53)
[RouteCall:759385/1Thread] sending:
com.cisco.cti.protocol.CallRedirectRequest {
  sequenceNumber               = 416
  lineCallManagerID            = 1
  lineID                       = 40932
  callLegCallManagerID         = 1
  callLegID                    = 19733488
  redirectAddress              = 8000
  unconditional                = false
  callingSearchSpace           = 2
  calledAddressOption          = 0
  redirectReason               = 0
  preferredOriginalCalledParty = null
  modifiedCallingParty         = 5750
  modifiedCallingPartyReason   = 1
  facCode                      = null
  cmcCode                      = null
  }

========================================================================
===
To unsubscribe, send email to [email protected] and include in the
body of the message "signoff JTAPI-INTEREST".  For general help, send
email to [email protected] and include in the body of the message
"help".

===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff JTAPI-INTEREST".  For general help, send email to
[email protected] and include in the body of the message "help".