* Dump OSP module configuration */
| 563 | * Dump OSP module configuration |
| 564 | */ |
| 565 | static void ospDumpParameters(void) |
| 566 | { |
| 567 | int i; |
| 568 | |
| 569 | LM_INFO("module configuration: \n"); |
| 570 | LM_INFO(" enable_crypto_hardware_support '%d'", _osp_crypto_hw); |
| 571 | LM_INFO(" validate_call_id '%d'", _osp_validate_callid); |
| 572 | LM_INFO(" ssl_lifetime '%d'", _osp_ssl_lifetime); |
| 573 | LM_INFO(" persistence '%d'", _osp_persistence); |
| 574 | LM_INFO(" retry_delay '%d'", _osp_retry_delay); |
| 575 | LM_INFO(" retry_limit '%d'", _osp_retry_limit); |
| 576 | LM_INFO(" timeout '%d'", _osp_timeout); |
| 577 | LM_INFO(" work mode '%d'", _osp_work_mode); |
| 578 | LM_INFO(" service type '%d'", _osp_service_type); |
| 579 | LM_INFO(" number of service points '%d'", _osp_sp_number); |
| 580 | for (i = 0; i < _osp_sp_number; i++) { |
| 581 | LM_INFO(" sp%d_uri '%s' sp%d_weight '%ld'", |
| 582 | osp_index[i], _osp_sp_uris[i], osp_index[i], _osp_sp_weights[i]); |
| 583 | } |
| 584 | LM_INFO(" device_ip '%s'", _osp_in_device); |
| 585 | LM_INFO(" use_security_features '%d'", _osp_use_security); |
| 586 | if (_osp_use_security != 0) { |
| 587 | LM_INFO(" private_key '%s'", _osp_private_key); |
| 588 | LM_INFO(" local_certificate '%s'", _osp_local_certificate); |
| 589 | LM_INFO(" ca_certificates '%s'", _osp_ca_certificate); |
| 590 | } |
| 591 | LM_INFO(" token_format '%d'", _osp_token_format); |
| 592 | LM_INFO(" support_nonsip_protocol '%d'", _osp_non_sip); |
| 593 | LM_INFO(" max_destinations '%d'", _osp_max_dests); |
| 594 | LM_INFO(" report_networkid '%d'", _osp_report_nid); |
| 595 | LM_INFO(" use_number_portability '%d'", _osp_use_np); |
| 596 | LM_INFO(" export_npparameter_order '%d'", _osp_export_np); |
| 597 | LM_INFO(" append_userphone '%d'", _osp_append_userphone); |
| 598 | LM_INFO(" networkid_location '%d'", _osp_dnid_location); |
| 599 | LM_INFO(" networkid_parameter '%s'", _osp_dnid_param); |
| 600 | LM_INFO(" switchid_location '%d'", _osp_swid_location); |
| 601 | LM_INFO(" switchid_parameter '%s'", _osp_swid_param); |
| 602 | LM_INFO(" parameterstring_location '%d'", _osp_paramstr_location); |
| 603 | LM_INFO(" parameterstring_value '%s'", _osp_paramstr_value); |
| 604 | LM_INFO(" source device IP AVP ID '%d'", _osp_srcdev_avpid); |
| 605 | LM_INFO(" source network ID AVP ID '%d'", _osp_snid_avpid); |
| 606 | LM_INFO(" source switch ID AVP ID '%d'", _osp_swid_avpid); |
| 607 | LM_INFO(" custom info AVP ID '%d'", _osp_cinfo_avpid); |
| 608 | LM_INFO(" cnam AVP ID '%d'", _osp_cnam_avpid); |
| 609 | LM_INFO(" extraheaders_value '%s'", _osp_extraheaders_value); |
| 610 | LM_INFO(" meida AVP ID '%d/%d'", _osp_srcmedia_avpid, _osp_destmedia_avpid); |
| 611 | LM_INFO(" request date AVP ID '%d'", _osp_reqdate_avpid); |
| 612 | LM_INFO(" sdp fingerprint AVP ID '%d'", _osp_sdpfp_avpid); |
| 613 | LM_INFO(" identity AVP ID '%d'", _osp_identity_avpid); |
| 614 | LM_INFO(" service provider AVP ID '%d'", _osp_sp_avpid); |
| 615 | LM_INFO(" user group AVP ID '%d'", _osp_usergroup_avpid); |
| 616 | LM_INFO(" user id AVP ID '%d'", _osp_userid_avpid); |
| 617 | LM_INFO(" prefered dest AVP ID '%d'", _osp_dest_avpid); |
| 618 | LM_INFO(" reason AVP ID '%d/%d/%d'", _osp_reasontype_avpid, _osp_reasoncause_avpid, _osp_reasontext_avpid); |
| 619 | } |
| 620 |
no outgoing calls
no test coverage detected