Author Topic: ORS Scxml  (Read 544 times)

Offline genesyslearner

  • Newbie
  • *
  • Posts: 40
  • Karma: 0
ORS Scxml
« on: December 21, 2018, 08:25:23 PM »
Hi Experts,

I am facing a problem with scxml execution. I have made a simple Integrated Voice & route straegy where i have used three blocks namely:- Enter,Target Group ,Exit. When i assign this published strategy to a Routing Point and then call that Routing point ,ORS logs gives me below errors:-

16:30:55.079 Std 22101 [T:3404] ORS FM ixn: Validation error for extension <redirect>
16:30:55.109 Std 23005 ORS SCXML Session Create failed for session 9L0QVSUM8D3994615CD0VI7TE800000L reason: Validation exception Unknown attribute: detach at line 2726
16:30:55.109 Alr 23015 Orchestration session: 9L0QVSUM8D3994615CD0VI7TE800000L create failed for reason: Validation exception Unknown attribute: detach at line 2726



URS logs are as below:-

16:30:52.987_T_I_008102d161dc2016 [14:0c] EventRouteRequest is received for ts SIP_Server_New[SIP_Switch] (thisdn=9002)
    _T_I_008102d161dc2016 [14:09] add DN SIP_Server_New 9002 <9002@SIP_Switch> (CDN 71 008102d161dc2016 0000000002003d60) to the call 2348-0000000001ff8508 truly:111
    _T_I_008102d161dc2016 [14:08] check delayed proc
    _T_I_008102d161dc2016 [14:43] call data updated
    _I_I_008102d161dc2016 [09:0e] script 0000000000f79088 DS 0000000002003d38 [4] +r (0 0) (14 0000000000000000)
    _I_I_ [25:01] script **ORS usage +1=1
    _I_I_008102d161dc2016 [14:33] strategy: **ORS (1085200831) is attached to the call
16:30:53.050 Int 20001 interaction 008102d161dc2016 is started
    _I_I_008102d161dc2016 [01:14] current call classification: media=voice(100), service=default(200), segment=default(300)
16:30:53.085_I_I_008102d161dc2016 [09:06] >>>>>>>>>>>>start interp()
    _I_I_008102d161dc2016 [09:04] ASSIGN: Name(SCRIPT) <- STRING[3,11]: "ScxmlServer"
    _I_I_008102d161dc2016 [09:0e] script 0000000000f7e608 DS 00000000020031e8 [97] +r (93 14) (14 0000000000000000)
    _I_I_ [25:01] script **ScxmlServer usage +1=1
16:30:53.629_I_I_008102d161dc2016 [07:48] func will be continued(0,0000000031a00018)
16:30:53.629_I_I_008102d161dc2016 [09:04] <<<<<<<<<<<<suspend interp(JUMPING), func:CallStrategy timers:00001
@@@1545390053.630147<-43(643064)    !!!
16:30:53.630_I_I_008102d161dc2016 [07:49] func is continued(0,0000000031a00018)
    _I_I_008102d161dc2016 [07:43] call strategy **ScxmlServer (level=2, crc=4167199099)
    _I_I_008102d161dc2016 [09:06] SCXML: init session SID=4UB1AD2NQL5LFFD522KCCQI1R800001F, doc=ScxmlServer
16:30:53.630_I_I_008102d161dc2016 [09:06] >>>>>>>>>>>>start interp()
    _I_I_008102d161dc2016 [07:46] no error mode for this call
    _I_I_008102d161dc2016 [09:04] ASSIGN: v:0:this(LOCAL) <- OBJECT:0000000000F633D8[Global]={"Class":"Global"}
    _I_I_008102d161dc2016 [09:04] ASSIGN: v:0:_genesys(LOCAL) <- OBJECT:0000000002005D38[Object]={}
    _I_I_008102d161dc2016 [09:06] <<<<<<<<<<<<stop interp
    _I_I_008102d161dc2016 [09:06] SCXML: session SID=4UB1AD2NQL5LFFD522KCCQI1R800001F initialized
16:30:53.641_I_I_008102d161dc2016 [1c:06] SCXML: {{{{{start session SID=4UB1AD2NQL5LFFD522KCCQI1R800001F
    _I_I_008102d161dc2016 [1c:06] 1. SCXML: look for transitions (1)
    _I_I_008102d161dc2016 [1c:05] 2. SCXML: microstep
    _I_I_008102d161dc2016 [1c:05] 2.1 SCXML: microstep exitting phase
    _I_I_008102d161dc2016 [1c:05] 2.2 SCXML: microstep transiting phase
    _I_I_008102d161dc2016 [1c:05] 2.3 SCXML: microstep entering phase
    _L_I_008102d161dc2016 [1c:03] SCXML: entering state <initial>
16:30:53.641_I_I_008102d161dc2016 [09:08] >>>>>>>>>>>>start interp(f:0:_d_1_initial)
    _I_I_008102d161dc2016 [09:04] ASSIGN: p:25:this(LOCAL) <- OBJECT:0000000000F633D8[Global]={"Class":"Global"}
16:30:53.642_I_I_008102d161dc2016 [09:04] <<<<<<<<<<<<suspend interp(NONE), func:SCXMLGetEvent timers:00000
    _I_I_008102d161dc2016 [1c:06] 1. SCXML: look for transitions (2)
16:30:53.642_I_I_008102d161dc2016 [1c:06] SCXML: }}}}}suspend session SID=4UB1AD2NQL5LFFD522KCCQI1R800001F
16:30:53.642_Z_I_ [0B:02] Exception is received for message server Message_Server
16:30:53.642 Std 04502 Cannot connect to MessageServer 'Message_Server' at host 'WIN-BB02I3I3R01', port 1113, reason 'cancel'
16:30:53.642_G_I_ [0B:04] server Message_Server is being closed, socket 544
16:30:53.642_G_I_ [0F:08] SERVER Message_Server(0000000001fffe10 0 1 1) tried: 0 0000000001fffe10 0000000001fffe10
received from 70968(SIP_Server_New)WIN-BB02I3I3R01:5100(fd=) message EventAttachedDataChanged
   AttributeCallType   1
   AttributePropagatedCallType   1
   AttributeCallID   22
   AttributeConnID   008102d161dc2016
   AttributeCallUUID   '027P7UC9JD55J1F0RGHMDREV8400000M'
   AttributeUserData   [154] 00 01 03 00..
      'ORSI:cluster:027P7UC9JD55J1F0RGHMDREV8400000M'(list) 'Session'   '9L0QVSUM8D3994615CD0VI7TE800000L+'
                                                            'Node'   '137'
                                                            'Url'   'http://WIN-BB02I3I3R01:1118/scxml'
   AttributeDNIS   '9002'
   AttributeThisDN   '9002'
   AttributeThisDNRole   2
   AttributeThirdPartyDN   '1002'
   AttributeTimeinSecs   1545390053 (16:30:53)
   AttributeTimeinuSecs   831000
   AttributeEventSequenceNumber   0000000000000302



Any help on the error will be great for my learning.

Marked as best answer by genesyslearner on December 28, 2018, 05:52:02 AM

Offline eugene

  • Jr. Member
  • **
  • Posts: 82
  • Karma: 2
Re: ORS Scxml
« Reply #1 on: December 22, 2018, 11:09:12 AM »
Hard to tell without seeing your actual scxml but I highly suspect it is the syntax of your target block.

Double check to make sure you’re referencing what’s described in the composer help guide for the object you’re targeting.

Offline genesyslearner

  • Newbie
  • *
  • Posts: 40
  • Karma: 0
Re: ORS Scxml
« Reply #2 on: December 27, 2018, 08:54:12 PM »
Thanks eugene for your quick knowledge share. Target block was causing the error, however when i made routing logic with reference from Composer help guide,it worked.