" /> Create strategy of routing. help me please - Genesys CTI User Forum

Author Topic: Create strategy of routing. help me please  (Read 8163 times)

nabnikulin

  • Guest
Create strategy of routing. help me please
« on: October 09, 2006, 07:46:21 AM »
Advertisement
Hi!

I as cannot solve two questions in my strategy:

Strategy is intended for voice interactions.

1. If there is some event that it is necessary to send the message on e-mail or flash alarm on SCI. As it to make and what objects to use?
2. It is necessary to storage a variable as temporary result. Then other strategy reads out this result and clear. As it to make and what objects to use?

Please result examples.

Thanks.

Marked as best answer by on Today at 09:39:37 PM

Offline victor

  • Administrator
  • Hero Member
  • *****
  • Posts: 1419
  • Karma: 18
Re: Create strategy of routing. help me please
« Reply #1 on: October 10, 2006, 02:36:31 AM »
  • Undo Best Answer
  • [quote author=nabnikulin link=topic=1860.msg6074#msg6074 date=1160379981]
    Hi!

    I as cannot solve two questions in my strategy:

    Strategy is intended for voice interactions.

    1. If there is some event that it is necessary to send the message on e-mail or flash alarm on SCI. As it to make and what objects to use?
    2. It is necessary to storage a variable as temporary result. Then other strategy reads out this result and clear. As it to make and what objects to use?

    Please result examples.

    Thanks.
    [/quote]

    Hi,

    regarding (1), the easiest way to do it would be actually defining an alarm in SCI. Go to SCI, click on new alarm, and then press Help. It will show you all the possible codes you can use to base your reaction on. Chances are most of the alarms you want to create are already in SCS :) Then, you can use Reaction in SCI to send an email or SNMP ;)

    regarding (2), I would suggest to use sub-routines, because you can pass variables from one strategy to another.

    Genesys does have global variables, but their scope is only within the strategy itself, so it would not do you any good. If you have to call one strategy from another, I strongly urge you to consider having one global strategy with subroutines that can be called along with parameters you want to pass both to subroutine and from them.

    One thing you do not want to do is use attach-data to pass data from one strategy to another, because in almost all of the instances attach-data would not arrive in time for your second strategy to read it.





    Offline mark

    • Sr. Member
    • ****
    • Posts: 415
    • Karma: 2
    Re: Create strategy of routing. help me please
    « Reply #2 on: October 10, 2006, 10:55:21 AM »
    Victor,

    Would your answer to 2 still be relevent if they were to use the KV string and set a new KVP in the string before passing the call onto the next strategy?
    I agree that it would be best to just have a global strategy incorporating everything that you would need for each scenario (as you have said), however there may be a specific reason for nabnikulin to route between strategies.

    Thanks
    Mark

    nabnikulin

    • Guest
    Re: Create strategy of routing. help me please
    « Reply #3 on: October 11, 2006, 08:37:28 AM »
    Hi,

    Viktor.

    The problem will be as to generate event including his ID. What object in strategy can be used and as? I tried "sendevent error", but each time appears event in a log URS without event ID (i.e. it is not possible to set ID). In result SCI cannot identify this event.


    Thanks.
    [quote][/quote]

    Offline victor

    • Administrator
    • Hero Member
    • *****
    • Posts: 1419
    • Karma: 18
    Re: Create strategy of routing. help me please
    « Reply #4 on: October 13, 2006, 05:26:28 AM »
    [quote author=mark link=topic=1860.msg6084#msg6084 date=1160477721]
    Victor,

    Would your answer to 2 still be relevent if they were to use the KV string and set a new KVP in the string before passing the call onto the next strategy?
    I agree that it would be best to just have a global strategy incorporating everything that you would need for each scenario (as you have said), however there may be a specific reason for nabnikulin to route between strategies.

    Thanks
    Mark
    [/quote]

    Mark,

    if you will use KV string, you will see that it will be possible for a call to arrive to the next routing point before user-data is updated.
    I strongly discourage people from using user-data to pass information between strategies using user-data.

    Vic

    Offline victor

    • Administrator
    • Hero Member
    • *****
    • Posts: 1419
    • Karma: 18
    Re: Create strategy of routing. help me please
    « Reply #5 on: October 13, 2006, 05:30:19 AM »
    [quote author=nabnikulin link=topic=1860.msg6099#msg6099 date=1160555848]
    Hi,

    Viktor.

    The problem will be as to generate event including his ID. What object in strategy can be used and as? I tried "sendevent error", but each time appears event in a log URS without event ID (i.e. it is not possible to set ID). In result SCI cannot identify this event.


    [/quote]

    Nab,

    I am sorry, I do not understand. What is wrong with using the error codes provided in SCI?

    In the worst case senario, you can always save your error in DB and have a procedure in DB email it.

    Can you please attach your strategy and the log showing what is not there? I will try to come up with something for you by Monday.

    Vic

    nabnikulin

    • Guest
    Re: Create strategy of routing. help me please
    « Reply #6 on: October 24, 2006, 08:04:21 AM »
    Hi Viktor!

    If ANI the subscriber that corresponds to the specified values in the List Objects, then strategy should play announcement and send the message to E-mail.

    attached file .txt but actually is .zcf

    IanDS

    • Guest
    Re: Create strategy of routing. help me please
    « Reply #7 on: October 25, 2006, 02:16:34 PM »
    Hi,

    Have you tried using the Alarm function (Q1)?

    see below from routing reference manual.

    Alarm
    Parameters: Alarm Number: INTEGER or variable
    Alarm Message: STRING or variable (representing a string)
    Return value type: VOID
    This function sends an alarm message through the URS management API. This message can be used, for example, by the Genesys SNMP Master Agent as a client of the URS management API to generate a polling trap. For more  information on setting alarms, see Framework 7.2 Getting Started Guide, Management Layer Functionality chapter. Also see Framework 7.2 Management Layer User’s Guide, SNMP Interface chapter. The alarm is sent along with the following information: the supplied Alarm Number, the Alarm Message, and the current interaction’s ANI, CED, DN, and Tenant.