Skip to content

webHomer settings

lmangani edited this page Nov 23, 2014 · 8 revisions

HOMER

webHomer: Settings

There are a few settings and tweaks you might want to setup in the ADMIN section.

WEBHOMER: USERS

Remove the default user and add your own accounts (permission/levels in preferences.php)


WEBHOMER: DB NODES

Homer can function using one or more database nodes

Make sure the node name value defined in your Kamailio capture node script is correctly reflected in ADMIN > DB Nodes with a properly configured entry.

modparam("sipcapture", "capture_node", "node1");

Without this parameter, some search filtering options might not work as intended!

Basic example with 1 Node and 2 Capture Agents:

      CaptAgent hep-id: 111 -----> [NODE1] <----- CaptAgent hep-id: 222

      HOMER Search-Filtering options:

      ALL TRAFFIC - node1
      AGENT1 ONLY - node1:111
      AGENT2 ONLY - node1:222
      etc...

WEBHOMER: ALIASES IP -> HOSTNAME

This feature is used in Call-Flow generators to convert IP addresses to Hostnames, and more importantly to correlate traffic to gateways with multiple iterfaces (public/private) or networks (ipv4/ipv6)

Example:
    Soft-Switch Public IP: AA.BB.CC.DD
    Soft-Switch Private IP: EE.FF.GG.HH
    Soft-Switch IPv6: III::LLLL:MMMM:NNNN:OOOO

In Homer add several ALIASES with the exact same NAME:

    IP: AA.BB.CC.DD
    NAME: SWITCH1
    STATUS: 1

    IP: EE.FF.GG.HH
    NAME: SWITCH1
    STATUS: 1

    IP: [III::LLLL:MMMM:NNNN:OOOO]
    NAME: SWITCH1
    STATUS: 1

WEBHOMER CFLOW: Internal/External HOSTS Correlation

In order for HOMER to identify and correlated messages between internal Hosts using IP:PORT schema, change the following in webhomer/preferences.php:

   define('CFLOW_HPORT', 2); /* Column/Host Mode = Plain: 0, +Port: 1, Auto-Select: 2 */

In order for HOMER to visually merge messages between Internal and External CE services, create the following ALIASES via UI (Browse: WebHomer > Admin > Aliases > New):

       HOST                              NAME
       -----------------------           -----------
       {external_IP}:5060                NGCP-LB
       127.0.0.1:5060                    NGCP-LB
       127.0.0.1:5062                    NGCP-Proxy
       127.0.0.1:5080                    NGCP-B2BUA

NOTE: NAME field for internal & external LBs (5060) MUST BE IDENTICAL to correlate!

If your system uses other custom IPs or Interfaces, follow the same logic above to add them.


WEBHOMER CFLOW: B2BUA Call Correlation

In order for HOMER to correlate call legs forked by the SPCE B2BUA, set the following in webhomer/preferences.php:

  /* BLEG DETECTION */
  define('BLEGDETECT', 1); /* always detect BLEG leg in CFLOW/PCAP*/
  define('BLEGCID', "b2b"); /* options: x-cid, b2b */
  define('BLEGTAIL', "_b2b-1"); /* session-ID correlation suffix for SPCE b2b mode */
Clone this wiki locally