AACC SIP expected wait time to public web - api - REST

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • lnesje
    Whiz
    • Jun 2013
    • 48

    AACC SIP expected wait time to public web - api - REST

    need to know how I can display expected wait time from AACC to public web.
    Which API to use - how to get this extracted with a webservice call

    thx in advance
  • vikramsg
    Whiz
    .
    • Apr 2011
    • 30

    #2
    You can do it with CCMS SOA Webservices to get the INTRINSIC value of EXPECTED WAIT TIME. The CCMS SOA Webservices can be enabled via Server Configuration utility.
    Regards,
    Vikram SG

    Comment

    • lnesje
      Whiz
      • Jun 2013
      • 48

      #3
      can you use with SOAP or REST to get this ?

      Comment

      • hergenmuelle
        Hot Shot
        .
        • Jul 2012
        • 20

        #4
        CCMS SOAP WebServices.

        Comment

        • hergenmuelle
          Hot Shot
          .
          • Jul 2012
          • 20

          #5
          Here an example:

          Set up the ContactService WebServices in DIW:
          "http://localhost:9070/SOAOI/scripting/services/ContactService?WSDL"

          In scripting set the EWT of the contact as intrinsic with the WebService
          setIntrinsicByName(String externalContactId, String key, String value, String user, String password)
          Script example:

          ASSIGN CONTACT DATA "ProviderContactID" TO externalcallid
          ASSIGN "Exp_Wait_Time" TO Exp_Wait_Time_cv
          ASSIGN 12 TO HDX_WSID_cv
          ASSIGN "OpenWsUser" TO username
          ASSIGN "xxxxxxxxxxx" TO password

          GIVE RINGBACK
          WAIT 2

          QUEUE TO SKILLSET Skill1
          WAIT 2

          Section update_EWT

          IF NOT QUEUED THEN
          QUEUE TO SKILLSET Skill1
          END IF

          ASSIGN EXPECTED WAIT TIME Skill1 TO exp_wait_cv
          CONVERT exp_wait_cv TO STRING Exp_Wait_Time_value_cv
          SEND REQUEST HDX_AppId HDX_WSID_cv, externalcallid, Exp_Wait_Time_cv, Exp_Wait_Time_value_cv, username, password
          GET RESPONSE HDX_AppId HDX_Resp_cv, cv_wsresult

          WAIT 30
          If exp_wait_cv >= 500 THEN
          EXECUTE Route_to_VoiceMail
          END IF

          EXECUTE update_EWT

          SECTION Route_to_VoiceMail
          ...

          Get the value of the expected wait time with for your Website with the WebService
          getIntrinsicByName(String contactId, String key, String user, String password)

          Comment

          Loading