SmartMIB Small Solution:

VOIP Call Response Time Delay Report


(SM-SmallSol022)

Solution’s SOSL Based management process script:

 

The solution defines the following main module:

 

MainCallHistoryDelay:

This is the main module that controls and instantiates the ‘CallHistoryTable’ and the ‘CallHistoryAcct’ modules.

 

 

The details of the Main modules and the transient Service modules are provided below:

 


 

MODULE MainCallHistoryDelay ();

DESCRIPTION "VOIP Call information and accounting";

BEGIN

 

            POLL-FREQ

            {

                        MODULE-CALL CallHistoryTable ();

                        MODULE-CALL CallHistoryDelay ();

                        WAIT (6000);

            };

END

 


 

MODULE  CallHistoryTable();

DESCRIPTION "Call history table";

BEGIN

 

          ALL-DEV BY DEV                  

          {                 

                   SET-INDEX CallHistoryTable

                       (cvVoIPCallHistoryConnectionId [cCallHistoryIndex, INT]);

 

                   WITH-INDEX CallHistoryTable

                   {

                        DEFINE cCallHistoryCallOrigin INT;

 

                        cCallHistoryCallOrigin = POLL (cCallHistoryCallOrigin);

 

                        IF (cCallHistoryCallOrigin ==  1)

                        THEN

                                    STORE-INDEX “DialedCallsList”;

 

                                    ################################

                                    #  ELSEIF  (cCallHistoryCallOrigin == 2)

                                    #  THEN

                                    #           STORE-INDEX “ReceivedCallsList”;

                                    #  ELSE

                                    #           STORE-INDEX “CallBacksList”;

                                    ################################

                        ENDIF;

                   };

           };

END

 


 

MODULE  CallHistoryDelay();

DESCRIPTION "Call history delay module";

BEGIN

 

            ALL-DEV BY DEV                  

            {                 

                        WITH-INDEX DialedCallsList

                        {

                                    POLL (   cvVoIPCallHistoryRemoteIPAddress;

                                                cCallHistoryPeerAddress;

                                                cvVoIPCallHistoryReceiveDelay;

                                                cvVoIPCallHistoryRoundTripDelay;

                                                callHistoryLogicalIfIndex     );

                                   

                                    DEFINE callHistoryLogicalIfIndex DB INT;

                                    DEFINE ifDescr DB INT;

 

                                    POLL (DEV, ifDescr, callHistoryLogicalIfIndex);

 

                                    ######################################

                                    # ifDescrHdlr database variable is defined specifically

                                    # to allow the user to control the reports Dial Source

                                    # option if the Interface description is to be replaced

                                    # with the knows number of the calling User’s name

                                    # or even the dial number..

                                    ######################################

 

                                    DEFINE ifDescrHdlr DB INT;

                                    ifDescrHdlr = ifDescr;

                        };

 

                        ############################################

                        # CLEARING THE HISTORY LIST OF CALLS AFTER POLLING

                        # WAS COMPLETED

                        #

                        #          SET (ciscoCallHistoryTableMaxLength       0);

                        #          SET (ciscoCallHistoryRetainTimer                         0);

                        #

                        #          SET (ciscoCallHistoryTableMaxLength       100);

                        #          SET (ciscoCallHistoryRetainTimer                         15);

                        ############################################

 

           };

END

 


VOIP Call Response Time Delay Report Index Page

Previous Page Page 3/5 Next Page


[Small Solutions], [Professional Solutions], [Security Solutions], [Development Solutions]

[Home], [About], [Solutions Center], [NMS Market], [Products & Services],
[Management Technology], [Technical Support], [Contact us], [Site Map]