{"id":481,"date":"2011-11-08T08:52:28","date_gmt":"2011-11-08T07:52:28","guid":{"rendered":""},"modified":"2019-10-29T13:20:23","modified_gmt":"2019-10-29T12:20:23","slug":"installing-and-configuring-homer-sip-capture-server-debian-64b-squeeze-howto","status":"publish","type":"post","link":"https:\/\/nil.uniza.sk\/en\/installing-and-configuring-homer-sip-capture-server-debian-64b-squeeze-howto\/","title":{"rendered":"Installing and configuring Homer SIP capture server &#8211; debian 64b squeeze &#8211; howto"},"content":{"rendered":"<p>Note 2019-10: This guide was made for an older verion of sipcapture and actual guide is available at <a href=\"https:\/\/www.sipcapture.org\/\">https:\/\/www.sipcapture.org\/<\/a><\/p>\n<p><strong>Description: <\/strong>Homer is an Open Source SIP Capture server by Alexandr Dubovikov &amp; Friends, based on OpenSER\/Kamailio and supporting HEPv1\/v2 <i>(Homer Encapsulation Protocol)<\/i> &amp; IP proto 4 <i>(IPIP)<\/i> encapsulation and monitoring\/mirroring port capture modes. Homer ships with a flexible and lightweight capture agent for unsupported scenarios and a powerful browser based UI (webHomer).<\/p>\n<p><strong>Web<\/strong>:<\/p>\n<p>http:\/\/sipcapture.org\/<\/p>\n<p>http:\/\/code.google.com\/p\/homer\/<\/p>\n<p>To fulfill installation tasks we will need Kamailio with sipcapture module enabled, mysql server, apache server wuth php support and enabled rewrite rules, homer webgui.<\/p>\n<h1>Topology<\/h1>\n<p><em>\u00a0Image will come soon<\/em><\/p>\n<h1>Installing capture node (Kamailio with Mysql)<\/h1>\n<p>The capture server of the Homer capture solution is an application, which collects all SIP messages in HEP\/IPIP protocols from your capture agents (other Kamailio servers in our case). The capture server is based on the Kamailio server, therefore we first need to install Kamailio 3.2 server with MySQL support.<\/p>\n<p>The sipcapture module should be a part of the main kamailio package. So we have two options, <a href=\"https:\/\/nil.uniza.sk\/en\/sip\/kamailio\/installing-kamailio-31-debian-lenny\/\">install kamailio <\/a>with <a href=\"https:\/\/nil.uniza.sk\/en\/sip\/kamailio\/adding-mysql-support-kamailio-31-debian-lenny\/\">mysql modules<\/a> from repository or manually compile kamailio and all required <a href=\"https:\/\/nil.uniza.sk\/en\/sip\/kamailio\/installing-kamailio-git-debian-lenny\/\">packages from GIT<\/a>. In a case of manual compilation, there have to be mysql and sipcapture module enabled (make modules-cfg include_modules=&#8220;db_mysql sipcapture&#8220;). For an installation ovreview look at the article about installing the <a href=\"https:\/\/nil.uniza.sk\/en\/sip\/kamailio\/installing-kamailio-git-debian-lenny\/\">Kamailio server from GIT<\/a>.<\/p>\n<h2>Download homer files<\/h2>\n<p>During next steps we will require some files provided inside of homer and kamailio source files, so we will download it. In a case of manual compilation and installtion this step is probably done.<\/p>\n<pre>mkdir homer\ncd homer<\/pre>\n<p>Get a local copy of the homer repository with this command:<\/p>\n<div>\n<div>\n<pre>git clone https:\/\/code.google.com\/p\/homer\/<\/pre>\n<div>\u00a0and get a copy of Kamailio source files<\/div>\n<\/div>\n<\/div>\n<pre>cd ..\nmkdir kamailio32\ncd kamailio32\n<strong style=\"font-family: monospace; font-size: 12px; line-height: 13px; white-space: pre; background-color: #ffff99;\"><span class=\"search_hit\">git<\/span> clone --depth 1 <span class=\"search_hit\">git<\/span>:\/\/<span class=\"search_hit\">git<\/span>.sip-router.org\/sip-router <span class=\"search_hit\">kamailio<\/span><\/strong><\/pre>\n<h2>Copy Homer capture config file<\/h2>\n<p>Now copy the example kamailio.cfg from kamailio\/modules\/sipcapture\/examples\/ to yours default kamailio&#8217;s config directory. i.e \/usr\/local\/etc\/kamailio\/ if you install it from git or \/etc\/kamailio if it was installed from repository, open it and change:<\/p>\n<pre>cd \/etc\/kamailio\/\ncp &lt;YOUR_PATH_TO_KAMAILIO_SOURCE&gt;\/kamailio32\/kamailio\/modules\/sipcapture\/examples\/kamailio.cfg kamailio.cfg\n<\/pre>\n<h2><\/h2>\n<h2>Modification of kamailio.cfg file<\/h2>\n<p>Open kamailio.cfg file and change appropriate fields to reflect your installation (mainly IP\u00a0address)<\/p>\n<pre class=\"prettyprint\"><span class=\"com\"># here should be your ip and port on which the capture server listen on <\/span><span class=\"pln\">\n<\/span><span style=\"background-color: #ffff99;\"><span class=\"pln\">listen<\/span><span class=\"pun\">=<\/span><span class=\"pln\">udp<\/span><span class=\"pun\">:<\/span><span class=\"lit\">158.193.139.49<\/span><span class=\"pun\">:<\/span><span class=\"lit\">5060<\/span> <\/span><span class=\"pln\">\n\n<\/span><span class=\"com\"># credentials to access mysql db, where all messages collected <\/span><span class=\"pln\">\nmodparam<\/span><span class=\"pun\">(<\/span><span class=\"str\">\"sipcapture\"<\/span><span class=\"pun\">,<\/span> <span class=\"str\">\"db_url\"<\/span><span class=\"pun\">,<\/span> <span class=\"str\">\"mysql:\/\/homer_user:homer_password@localhost\/homer_db\"<\/span><span class=\"pun\">)<\/span><span class=\"pln\"> \u00a0\n\n<\/span><span class=\"com\"># if you have more then one node set capture_node name \u00a0 \u00a0 \u00a0 \u00a0 \u00a0<\/span><span class=\"pln\">\n<\/span><span class=\"com\"># this name will be used in mysql, field node<\/span><span class=\"pln\">\nmodparam<\/span><span class=\"pun\">(<\/span><span class=\"str\">\"sipcapture\"<\/span><span class=\"pun\">,<\/span> <span class=\"str\">\"capture_node\"<\/span><span class=\"pun\">,<\/span> <span class=\"str\">\"homer03\"<\/span><span class=\"pun\">)<\/span><span class=\"pln\">\n\n<\/span><span class=\"com\">#activate HEP capturing<\/span><span class=\"pln\">\nmodparam<\/span><span class=\"pun\">(<\/span><span class=\"str\">\"sipcapture\"<\/span><span class=\"pun\">,<\/span> <span class=\"str\">\"hep_capture_on\"<\/span><span class=\"pun\">,<\/span> <span class=\"lit\">1<\/span><span class=\"pun\">)<\/span><\/pre>\n<p>Check if config file containts line with requested modules<\/p>\n<pre>loadmodule \"pv.so\"\nloadmodule \"db_mysql.so\"\nloadmodule \"sipcapture.so\"\nloadmodule \"textops.so\"\n<\/pre>\n<p>and start the kamailio to check if everything is oK<\/p>\n<pre>\/etc\/init.d\/kamailio start\nStarting Kamailio:\nloading modules under \/usr\/local\/lib64\/kamailio\/modules_k\/:\/usr\/local\/lib64\/kamailio\/modules\/\nListening on\n             udp: 158.193.139.49:5060\nAliases:\n             udp: homer:5060\n             udp: homer.sip.uniza.sk:5060\n\nkamailio started.\n<\/pre>\n<h2>Creation of Mysql database tables<\/h2>\n<p>Create a homer database (homer_db)<\/p>\n<pre>root@homer:\/# mysql -u root -p\nEnter password:\nmysql&gt; create database homer_db;\nmysql&gt; connect homer_db;\nmysql&gt; \n<\/pre>\n<p>and paste script from <a href=\"http:\/\/code.google.com\/p\/homer\/source\/browse\/sql\/create_sipcapture.sql\">http:\/\/code.google.com\/p\/homer\/source\/browse\/sql\/create_sipcapture.sql<\/a><\/p>\n<p>Then create an DB user with privileges to reflect your kamailio.cfg configuration<\/p>\n<pre>CREATE USER 'homer_user'@'localhost' IDENTIFIED BY 'homer_password';\nGRANT ALL PRIVILEGES ON homer_db.* TO 'homer_user'@'localhost';\n<\/pre>\n<p>then open kamailio.cfg and modify line<\/p>\n<pre class=\"prettyprint\"><span class=\"pln\">modparam<\/span><span class=\"pun\">(<\/span><span class=\"str\">\"sipcapture\"<\/span><span class=\"pun\">,<\/span> <span class=\"str\">\"db_url\"<\/span><span class=\"pun\">,<\/span> <span class=\"str\">\"mysql:\/\/homer_user:homer_password@localhost\/homer_db\"<\/span><span class=\"pun\">)<\/span><span class=\"pln\"> \u00a0\n<\/span><\/pre>\n<p>finally restart the kamailio service.<\/p>\n<h2>Installing homer web interface<\/h2>\n<p>Install apache web server with php5 and mysql support<\/p>\n<pre>apt-get install apache2 apache2-doc php5 php5-mysql php5-gd<\/pre>\n<p>Enable <em>rewrite.load<\/em> for your apache. Enabling rewrite mode for my Apache 2 means add symlink from \/etc\/apache2\/mods-available into \/etc\/apache2\/mods-enabled. Alternativelly we enable apache rewrite mode with following command<\/p>\n<pre> a2enmod rewrite\n<\/pre>\n<p>Without this we are not able to use homer webgui web after installation.<\/p>\n<p>Then download latest homer webgui files<\/p>\n<pre>cd \/home\/palo\/\nwget http:\/\/homer.googlecode.com\/files\/webhomer3_2_3.tgz\n<\/pre>\n<p>go to the www folder<\/p>\n<pre>cd \/var\/www\n<\/pre>\n<p>and extract homer gui files here<\/p>\n<pre>tar xvfz \/home\/palo\/webhomer3_2_3.tgz\n<\/pre>\n<p>Now create a database for a homer<\/p>\n<pre>root@homer:\/# mysql -u root -p\nEnter password:\nmysql&gt; create database homer_users;\n<\/pre>\n<p>and fill it with homer_users.sql from webhomer\/sql folder (downloaded in webhomer3_2_3.tgz).<\/p>\n<pre>root@homer:\/var\/www# mysql -u root -p homer_users &lt; \/var\/www\/webhomer\/sql\/homer_users.sql\n<\/pre>\n<p>Copy<\/p>\n<pre>cp configuration_example.php configuration.php\ncp preferences_example.php preferences.php\n<\/pre>\n<p>Create a user to access this database and define him in the configuration.php<\/p>\n<pre class=\"prettyprint\"><span class=\"com\">\/* Access db of homer users *\/<\/span><span class=\"pln\">\ndefine<\/span><span class=\"pun\">(<\/span><span class=\"pln\">HOST<\/span><span class=\"pun\">,<\/span> <span class=\"str\">\"localhost\"<\/span><span class=\"pun\">); <\/span><span class=\"pln\">define(PORT, 3306);\ndefine<\/span><span class=\"pun\">(<\/span><span class=\"pln\">USER<\/span><span class=\"pun\">,<\/span> <span class=\"str\">\"<span style=\"background-color: #ffff99;\">root<\/span>\"<\/span><span class=\"pun\">);<\/span><span class=\"pln\">\ndefine<\/span><span class=\"pun\">(<\/span><span class=\"pln\">PW<\/span><span class=\"pun\">,<\/span> <span class=\"str\">\"<span style=\"background-color: #ffff99;\">root<\/span>\"<\/span><span class=\"pun\">);<\/span><span class=\"pln\">\ndefine<\/span><span class=\"pun\">(<\/span><span class=\"pln\">DB<\/span><span class=\"pun\">,<\/span> <span class=\"str\">\"homer_users\"<\/span><span class=\"pun\">);<\/span><\/pre>\n<p>then define username and password for HOMER db (made a few steps before). This user must be defined in all your nodes DB. Don&#8217;t forget to insert all your nodes into homer_nodes table.<\/p>\n<pre class=\"prettyprint\"><span class=\"com\">\/* Homer connection \n* \u00a0this user must have the same password for all Homer nodes\n* \u00a0please define all your nodes in homer_nodes table\n*\/<\/span><span class=\"pln\">\n\ndefine<\/span><span class=\"pun\">(<\/span><span class=\"pln\">HOMER_HOST<\/span><span class=\"pun\">,<\/span> <span class=\"str\">\"localhost\"<\/span><span class=\"pun\">); <\/span><span class=\"pln\">define(HOMER_PORT, 3306);\ndefine<\/span><span class=\"pun\">(<\/span><span class=\"pln\">HOMER_USER<\/span><span class=\"pun\">,<\/span> <span class=\"str\">\"homer_users\"<\/span><span class=\"pun\">);<\/span><span class=\"pln\">\ndefine<\/span><span class=\"pun\">(<\/span><span class=\"pln\">HOMER_PW<\/span><span class=\"pun\">,<\/span> <span class=\"str\">\"homer_password\"<\/span><span class=\"pun\">);<\/span><span class=\"pln\">\ndefine<\/span><span class=\"pun\">(<\/span><span class=\"pln\">HOMER_DB<\/span><span class=\"pun\">,<\/span> <span class=\"str\">\"homer_db\"<\/span><span class=\"pun\">);<\/span><span class=\"pln\">\ndefine<\/span><span class=\"pun\">(<\/span><span class=\"pln\">HOMER_TABLE<\/span><span class=\"pun\">,<\/span> <span class=\"str\">\"sip_capture\"<\/span><span class=\"pun\">);<\/span><\/pre>\n<h2>Modifying Apache configuration<\/h2>\n<p>Do not forget to modify apache config file to allow loading index.php file as the homer webgui is written in php language. So open apache&#8216; default config file<\/p>\n<pre>vim \/etc\/apache2\/sites-enabled\/000-default<\/pre>\n<p>and add into line with DirectoryIndex (labeled with green) within Directory block (labeled with yellow) words <strong><em>index.php<\/em><\/strong>. The whole config should look like:<\/p>\n<pre>&lt;VirtualHost *:80&gt;\n        ServerAdmin webmaster@localhost\n\n        DocumentRoot \/var\/www\n        &lt;Directory \/&gt;\n                Options FollowSymLinks\n                AllowOverride None\n        &lt;\/Directory&gt;\n        <span style=\"background-color: #ffff99;\">&lt;Directory \/var\/www\/&gt;\n                Options Indexes FollowSymLinks MultiViews\n                AllowOverride None\n                <span style=\"background-color: #ccffcc;\">DirectoryIndex index.php<\/span> index.html\n                Order allow,deny\n                allow from all\n        &lt;\/Directory&gt;<\/span>\n\n        ScriptAlias \/cgi-bin\/ \/usr\/lib\/cgi-bin\/\n        &lt;Directory \"\/usr\/lib\/cgi-bin\"&gt;\n                AllowOverride None\n                Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch\n                Order allow,deny\n                Allow from all\n        &lt;\/Directory&gt;\n\n        ErrorLog ${APACHE_LOG_DIR}\/error.log\n\n        # Possible values include: debug, info, notice, warn, error, crit,\n        # alert, emerg.\n        LogLevel warn\n\n        CustomLog ${APACHE_LOG_DIR}\/access.log combined\n\n    Alias \/doc\/ \"\/usr\/share\/doc\/\"\n    &lt;Directory \"\/usr\/share\/doc\/\"&gt;\n        Options Indexes MultiViews FollowSymLinks\n        AllowOverride None\n        Order deny,allow\n        Deny from all\n        Allow from 127.0.0.0\/255.0.0.0 ::1\/128\n    &lt;\/Directory&gt;\n\n&lt;\/VirtualHost&gt;\n<\/pre>\n<p>Have to be noted, that it is default apache config.<\/p>\n<p>Finally restart apache with<em> \/etc\/init.d\/apache restart<\/em><\/p>\n<h2>First Login<\/h2>\n<p>Open your preferred browser and point out to webhomer folder, in my case homer.sip.uniza.sk\/webhomer\/<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/files\/image\/SIP\/Tools\/homer\/homer-sip-capture-3.png\" alt=\"\" width=\"700\" height=\"468\" \/><\/p>\n<p>and using the default login credentials test@test.com\/test123 we should be able login<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/files\/image\/SIP\/Tools\/homer\/homer-sip-capture-4.png\" alt=\"\" width=\"700\" height=\"469\" \/><\/p>\n<h2>Modyfying accounts\/passwords<\/h2>\n<p>To modify\/delete existing account or add a new account you have to click on Admin menu and drag Users button from left part of the page and drop it somewhere on page.<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/files\/image\/SIP\/Tools\/homer\/siremis-users-drag.png\" alt=\"\" width=\"700\" height=\"427\" border=\"0\" \/><\/p>\n<p>where user config panel will appear. It should look like.<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/files\/image\/SIP\/Tools\/homer\/siremis-users-config-1.png\" alt=\"\" width=\"548\" height=\"195\" align=\"top\" \/><\/p>\n<p>Clicking on existing accocunt we may modify it:<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/files\/image\/SIP\/Tools\/homer\/siremis-users-config-2.png\" alt=\"\" width=\"471\" height=\"195\" align=\"top\" \/><\/p>\n<p>Clicking on the Create buton we may create a new user:<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/files\/image\/SIP\/Tools\/homer\/siremis-users-config-3.png\" alt=\"\" width=\"456\" height=\"382\" align=\"top\" \/><\/p>\n<h2>Enable statistics<\/h2>\n<p>First, extend homer_db with statistic tables<\/p>\n<pre>mysql -u root -p homer_db &lt; \/var\/www\/webhomer\/sql\/statistics.sql\n<\/pre>\n<p>then enable statistics module, so open preferences.php file<\/p>\n<pre>vim \/var\/www\/webhomer\/preferences.php\n<\/pre>\n<p>look through for lines<\/p>\n<pre>\/* Modules Options *\/\ndefine(MODULES, 0);  \/* Set to 1 Enable Statistic Modules *\/\n<\/pre>\n<p>and change to<\/p>\n<pre>define(MODULES, 1);<\/pre>\n<p>Next we have to setup cron to run statistics collection script. I have small problem to locate statistic.pl srcipt required by official HowTo. finally I&#8217;ve make a git clone of homer project<\/p>\n<pre>git clone https:\/\/code.google.com\/p\/homer\/<\/pre>\n<div class=\"pmeta_bubble_bg\" style=\"background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; margin-bottom: 0.6em;\">\n<div class=\"round1\" style=\"font-family: arial, sans-serif; border-left-width: 1px; border-left-style: solid; border-left-color: #ffffff; border-right-width: 1px; border-right-style: solid; border-right-color: #ffffff; font-size: 0px; height: 1px; padding: 0px; margin: 0px;\"><\/div>\n<div class=\"round2\" style=\"font-family: arial, sans-serif; border-left-width: 2px; border-left-style: solid; border-left-color: #ffffff; border-right-width: 2px; border-right-style: solid; border-right-color: #ffffff; font-size: 0px; height: 1px; padding: 0px; margin: 0px;\"><\/div>\n<div class=\"round4\" style=\"font-family: arial, sans-serif; border-left-width: 4px; border-left-style: solid; border-left-color: #ffffff; border-right-width: 4px; border-right-style: solid; border-right-color: #ffffff; font-size: 0px; height: 1px; padding: 0px; margin: 0px;\">and there<\/div>\n<\/div>\n<p>and there I&#8217;ve found required scripts folder with statistic.pl script. So copy the statistic.pl file to the \/usr\/local\/sbin\/ folder.<\/p>\n<p>Then open the file and edit database parameters:<\/p>\n<pre>$mysql_table = \"sip_capture\";\n$mysql_dbname = \"homer_db\";\n$mysql_user = \"homer_user\";\n$mysql_password = \"homer_password\";\n$mysql_host = \"localhost\";<\/pre>\n<p>and prepare crontab,\u00a0for example put the following line into crontab file:<\/p>\n<pre class=\"prettyprint\"><span class=\"pun\">*<\/span><span class=\"str\">\/5 * \u00a0 \u00a0* * * \u00a0 root \u00a0 \u00a0\/<\/span><span class=\"pln\">usr<\/span><span class=\"pun\">\/local\/<\/span><span class=\"pln\">sbin<\/span><span class=\"pun\">\/<\/span><span class=\"pln\">statistic<\/span><span class=\"pun\">.<\/span><span class=\"pln\">pl<\/span><\/pre>\n<p>Finally check permission rules for \/usr\/local\/sbin\/statistic.pl file. They have to allow script execution. It should look like<\/p>\n<pre> ls -al \/usr\/local\/sbin\/statistic.pl\n<strong><span style=\"background-color: #ffff99;\">-rwxr-xr-x <\/span><\/strong>1 root staff 5798 Dec 20 10:07 \/usr\/local\/sbin\/statistic.pl\n<\/pre>\n<p>If not, run<\/p>\n<pre>chmod 755 \/usr\/local\/sbin\/statistic.pl\n<\/pre>\n<h1>Installing\/enabling capture agent<\/h1>\n<h2>Kamailio<\/h2>\n<p>SIP\u00a0capture functionalities are builded into core kamailio. We have to only load required module, initialized them with appropriate parameters and modify routing logic. We do it with directives which allow us to simply switch on\/off this functionalities:<\/p>\n<p>First, define WITH_HOMER\u00a0directive<\/p>\n<pre>#!define WITH_HOMER\n<\/pre>\n<p>then move to loadparam section of your kamailio.cfg and paste there<\/p>\n<pre>#!ifdef WITH_HOMER\nloadmodule \"siptrace.so\"\n#!endif\n<\/pre>\n<p>Take care that the siptrace module is loaded after loading mysql and tm modules!<\/p>\n<p>As a next step we will configure parameters of the module:<\/p>\n<pre>#!ifdef WITH_HOMER\n# check IP and port of your capture node\nmodparam(\"siptrace\", \"duplicate_uri\",\"sip:158.193.139.49:5060\");\nmodparam(\"siptrace\", \"hep_mode_on\",1);\nmodparam(\"siptrace\", \"trace_to_database\",0);\nmodparam(\"siptrace\", \"trace_flag\",22);\nmodparam(\"siptrace\", \"trace_on\", 1);\n#!endif\n<\/pre>\n<p>Finally we modify main routing logic. Look for line with &#8222;route{&#8220; and add<\/p>\n<pre>#!ifdef WITH_HOMER\n        #start duplicate the SIP message now\n        sip_trace();\n        setflag(22);\n#!endif\n<\/pre>\n<h2>Adding capture agents<\/h2>\n<p>Capture agents have to be added as nodes in homer_users DB (table homer nodes). It can be realized through webhomer GUI. We have to click on Admin menu and drag Nodes button from left part of the page and drop it somewhere on page.<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/files\/image\/SIP\/Tools\/siremis-nodes-config-1.png\" alt=\"\" width=\"750\" height=\"259\" \/><\/p>\n<p>where nodes window willa appear:<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/files\/image\/SIP\/Tools\/homer\/siremis-nodes-config-2.png\" alt=\"\" width=\"620\" height=\"162\" \/><\/p>\n<p>Where HOST\u00a0means IP\u00a0address of capture agent and name is its name unde which we are able to see its statistics and SIP\u00a0messages.<\/p>\n<h1>Testing<\/h1>\n<h2>Checking of required services<\/h2>\n<p>If everything is OK we should be able login to homer webgui and check admin status of required services, where inside of all fields have to be OK<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/files\/image\/SIP\/Tools\/homer\/webhomer3-2-3-stats.png\" alt=\"\" width=\"700\" height=\"520\" \/><\/p>\n<h2>Monitoring verification<\/h2>\n<p>If everything is working, after login to webhomer, we are able to see captured sip messages:<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/files\/image\/SIP\/Tools\/homer\/webhomer3-2-3-test.png\" alt=\"\" width=\"700\" height=\"378\" \/><\/p>","protected":false},"excerpt":{"rendered":"<p><strong>Description: <\/strong>Homer is an Open Source SIP Capture server by Alexandr Dubovikov &amp; Friends,  based on OpenSER\/Kamailio and supporting HEPv1\/v2 <i>(Homer Encapsulation Protocol)<\/i> &amp; IP proto 4 <i>(IPIP)<\/i>  encapsulation and monitoring\/mirroring port capture modes. Homer ships  with a flexible and lightweight capture agent for unsupported scenarios  and a powerful browser based UI (webHomer).<\/p>\n<p><strong>Web<\/strong>:<\/p>\n<p>http:\/\/sipcapture.org\/<\/p>\n<p>http:\/\/code.google.com\/p\/homer\/<\/p>","protected":false},"author":7,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_seopress_robots_primary_cat":"","_seopress_titles_title":"","_seopress_titles_desc":"","_seopress_robots_index":"","_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"footnotes":""},"categories":[781,685,771,807,809,699],"tags":[],"class_list":["post-481","post","type-post","status-publish","format-standard","hentry","category-kamailio-en","category-linux_-_howto-en","category-sip-en","category-sip-testing-en","category-sip-tools-en","category-mmm-tools"],"taxonomy_info":{"category":[{"value":781,"label":"Kamailio"},{"value":685,"label":"Linux - HOWTO"},{"value":771,"label":"SIP"},{"value":807,"label":"Testing"},{"value":809,"label":"Tools"},{"value":699,"label":"Tools"}]},"featured_image_src_large":false,"author_info":{"display_name":"admin","author_link":"https:\/\/nil.uniza.sk\/en\/author\/admin\/"},"comment_info":8,"category_info":[{"term_id":781,"name":"Kamailio","slug":"kamailio-en","term_group":0,"term_taxonomy_id":779,"taxonomy":"category","description":"","parent":771,"count":29,"filter":"raw","cat_ID":781,"category_count":29,"category_description":"","cat_name":"Kamailio","category_nicename":"kamailio-en","category_parent":771},{"term_id":685,"name":"Linux - HOWTO","slug":"linux_-_howto-en","term_group":0,"term_taxonomy_id":683,"taxonomy":"category","description":"","parent":0,"count":71,"filter":"raw","cat_ID":685,"category_count":71,"category_description":"","cat_name":"Linux - HOWTO","category_nicename":"linux_-_howto-en","category_parent":0},{"term_id":771,"name":"SIP","slug":"sip-en","term_group":0,"term_taxonomy_id":769,"taxonomy":"category","description":"","parent":0,"count":23,"filter":"raw","cat_ID":771,"category_count":23,"category_description":"","cat_name":"SIP","category_nicename":"sip-en","category_parent":0},{"term_id":807,"name":"Testing","slug":"sip-testing-en","term_group":0,"term_taxonomy_id":805,"taxonomy":"category","description":"","parent":771,"count":2,"filter":"raw","cat_ID":807,"category_count":2,"category_description":"","cat_name":"Testing","category_nicename":"sip-testing-en","category_parent":771},{"term_id":809,"name":"Tools","slug":"sip-tools-en","term_group":0,"term_taxonomy_id":807,"taxonomy":"category","description":"","parent":771,"count":10,"filter":"raw","cat_ID":809,"category_count":10,"category_description":"","cat_name":"Tools","category_nicename":"sip-tools-en","category_parent":771},{"term_id":699,"name":"Tools","slug":"mmm-tools","term_group":0,"term_taxonomy_id":697,"taxonomy":"category","description":"","parent":687,"count":6,"filter":"raw","cat_ID":699,"category_count":6,"category_description":"","cat_name":"Tools","category_nicename":"mmm-tools","category_parent":687}],"tag_info":false,"_links":{"self":[{"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/posts\/481","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/comments?post=481"}],"version-history":[{"count":0,"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/posts\/481\/revisions"}],"wp:attachment":[{"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/media?parent=481"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/categories?post=481"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/tags?post=481"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}