Monitor Logs from CLI

Login as user root.

  • OpenSIPS log messages to verify authorization and routing:
   # tail -f /var/log/messages (Example)
   Apr 5 15:36:29 lab-dell-64 /home/ospadmin/OSP/OSPreyPackage/opensips/sbin/opensips[27003]: +++-ROUTE: Processing INVITE
   Apr 5 15:36:29 lab-dell-64 /home/ospadmin/OSP/OSPreyPackage/opensips/sbin/opensips[27003]: OSP authorization validation logic
   Apr 5 15:36:29 lab-dell-64 /home/ospadmin/OSP/OSPreyPackage/opensips/sbin/opensips[27003]: Without OSP token, apply different authentication strategy
   Apr 5 15:36:29 lab-dell-64 /home/ospadmin/OSP/OSPreyPackage/opensips/sbin/opensips[27003]: Go ahead, everyone is welcomed
   Apr 5 15:36:29 lab-dell-64 /home/ospadmin/OSP/OSPreyPackage/opensips/sbin/opensips[27003]: +++-ROUTE: Authentication passed
   Apr 5 15:36:29 lab-dell-64 /home/ospadmin/OSP/OSPreyPackage/opensips/sbin/opensips[27003]: +++-ROUTE: Use OSP to get routing
   Apr 5 15:36:29 lab-dell-64 /home/ospadmin/OSP/OSPreyPackage/opensips/sbin/opensips[27003]: OSP authorization and routing logic
   Apr 5 15:36:29 lab-dell-64 /home/ospadmin/OSP/OSPreyPackage/opensips/sbin/opensips[27003]: Requesting OSP authorization and routing
   Apr 5 15:36:29 lab-dell-64 /home/ospadmin/OSP/OSPreyPackage/opensips/sbin/opensips[27003]: INFO:osp:ospRequestRouting: request auth and routing for: service_type '0' source '[172.16.4.146]:5060' source_dev '[172.16.4.54]' source_networkid '' calling 'sipp' called '17322025681' preferred '' nprn '' npcic '' npdi '0' rpid 'sipp' pai '' div_user '' div_host '' pci '' call_id 'SDd861b01-6cb0b40005f835c1c38bfd0aa042d321-c548092' dest_count '12'
   Apr 5 15:36:29 lab-dell-64 /home/ospadmin/OSP/OSPreyPackage/opensips/sbin/opensips[27003]: INFO:osp:ospRequestRouting: authreq cost = 0.003074 for call-id 'SDd861b01-6cb0b40005f835c1c38bfd0aa042d321-c548092'
   Apr 5 15:36:29 lab-dell-64 /home/ospadmin/OSP/OSPreyPackage/opensips/sbin/opensips[27003]: INFO:osp:ospLoadRoutes: get destination '0': valid after '2012-04-05T15:31:29Z' valid until '2012-04-05T15:41:29Z' time limit '14400' seconds call id 'SDd861b01-6cb0b40005f835c1c38bfd0aa042d321-c548092' calling 'sipp' called '17322025681' host '[172.16.4.136]' nprn '+17323770000' npcic '' npdi '1' protocol '0' supported '1' network id '' token size '0'
   Apr 5 15:36:29 lab-dell-64 /home/ospadmin/OSP/OSPreyPackage/opensips/sbin/opensips[27003]: INFO:osp:ospLoadRoutes: get destination '1': valid after '2012-04-05T15:31:29Z' valid until '2012-04-05T15:41:29Z' time limit '14400' seconds call id 'SDd861b01-6cb0b40005f835c1c38bfd0aa042d321-c548092' calling 'sipp' called '17322025681' host '[172.16.4.43]' nprn '+17323770000' npcic '' npdi '1' protocol '0' supported '1' network id '' token size '0'
   Apr 5 15:36:29 lab-dell-64 /home/ospadmin/OSP/OSPreyPackage/opensips/sbin/opensips[27003]: INFO:osp:ospLoadRoutes: get destination '2': valid after '2012-04-05T15:31:29Z' valid until '2012-04-05T15:41:29Z' time limit '14400' seconds call id 'SDd861b01-6cb0b40005f835c1c38bfd0aa042d321-c548092' calling 'sipp' called '17322025681' host '[172.16.4.35]' nprn '+17323770000' npcic '' npdi '1' protocol '0' supported '1' network id '' token size '186'
   Apr 5 15:36:29 lab-dell-64 /home/ospadmin/OSP/OSPreyPackage/opensips/sbin/opensips[27003]: INFO:osp:ospRequestRouting: there are '3' OSP routes, call_id 'SDd861b01-6cb0b40005f835c1c38bfd0aa042d321-c548092'
   Apr 5 15:36:29 lab-dell-64 /home/ospadmin/OSP/OSPreyPackage/opensips/sbin/opensips[27003]: Response received
   Apr 5 15:36:29 lab-dell-64 /home/ospadmin/OSP/OSPreyPackage/opensips/sbin/opensips[27003]: Prepare all routes and redirect
   Apr 5 15:36:29 lab-dell-64 /home/ospadmin/OSP/OSPreyPackage/opensips/sbin/opensips[27003]: INFO:osp:ospPrepareDestination: prepare route to URI '<sip:17322025681;rn=+17323770000;npdi@172.16.4.136>' for call_id 'SDd861b01-6cb0b40005f835c1c38bfd0aa042d321-c548092' transaction_id '5727937797710024577'
   Apr 5 15:36:29 lab-dell-64 /home/ospadmin/OSP/OSPreyPackage/opensips/sbin/opensips[27003]: INFO:osp:ospPrepareDestination: prepare route to URI '<sip:17322025681;rn=+17323770000;npdi@172.16.4.43>' for call_id 'SDd861b01-6cb0b40005f835c1c38bfd0aa042d321-c548092' transaction_id '5727937797710024577'
   Apr 5 15:36:29 lab-dell-64 /home/ospadmin/OSP/OSPreyPackage/opensips/sbin/opensips[27003]: INFO:osp:ospPrepareDestination: prepare route to URI '<sip:17322025681;rn=+17323770000;npdi@172.16.4.35>' for call_id 'SDd861b01-6cb0b40005f835c1c38bfd0aa042d321-c548092' transaction_id '5727937797710024577'
   Apr 5 15:36:29 lab-dell-64 /home/ospadmin/OSP/OSPreyPackage/opensips/sbin/opensips[27003]: INFO:osp:ospReportOrigSetupUsage: report orig setup for call_id 'SDd861b01-6cb0b40005f835c1c38bfd0aa042d321-c548092' transaction_id '5727937797710024577'
   Apr 5 15:36:29 lab-dell-64 /home/ospadmin/OSP/OSPreyPackage/opensips/sbin/opensips[27003]: +++-ROUTE: Route OUT