From cc07f75cb0cc79c8ef0fa6aef0de86285ff52584 Mon Sep 17 00:00:00 2001 From: tilghman Date: Fri, 9 Jul 2010 17:00:22 +0000 Subject: Kill some startup warnings and errors and make some messages more helpful in tracking down the source. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@275105 f38db490-d61c-443f-a65b-d21fe96a405b --- channels/sip/config_parser.c | 4 ++-- channels/sip/dialplan_functions.c | 2 +- channels/sip/reqresp_parser.c | 16 ++++++++-------- 3 files changed, 11 insertions(+), 11 deletions(-) (limited to 'channels/sip') diff --git a/channels/sip/config_parser.c b/channels/sip/config_parser.c index 988231f12..659e8cecc 100644 --- a/channels/sip/config_parser.c +++ b/channels/sip/config_parser.c @@ -288,7 +288,7 @@ AST_TEST_DEFINE(sip_parse_register_line_test) switch (cmd) { case TEST_INIT: info->name = "sip_parse_register_line_test"; - info->category = "channels/chan_sip/"; + info->category = "/channels/chan_sip/"; info->summary = "tests sip register line parsing"; info->description = "Tests parsing of various register line configurations. " @@ -696,7 +696,7 @@ AST_TEST_DEFINE(sip_parse_host_line_test) switch (cmd) { case TEST_INIT: info->name = "sip_parse_host_line_test"; - info->category = "channels/chan_sip/"; + info->category = "/channels/chan_sip/"; info->summary = "tests sip.conf host line parsing"; info->description = "Tests parsing of various host line configurations. " diff --git a/channels/sip/dialplan_functions.c b/channels/sip/dialplan_functions.c index 6e1f65b84..e14975d5d 100644 --- a/channels/sip/dialplan_functions.c +++ b/channels/sip/dialplan_functions.c @@ -316,7 +316,7 @@ AST_TEST_DEFINE(test_sip_rtpqos_1) switch (cmd) { case TEST_INIT: info->name = "test_sip_rtpqos"; - info->category = "channels/chan_sip/"; + info->category = "/channels/chan_sip/"; info->summary = "Test retrieval of SIP RTP QOS stats"; info->description = "Verify values in the RTP instance structure can be accessed through the dialplan."; diff --git a/channels/sip/reqresp_parser.c b/channels/sip/reqresp_parser.c index eb5c1803e..ddfc304c6 100644 --- a/channels/sip/reqresp_parser.c +++ b/channels/sip/reqresp_parser.c @@ -428,7 +428,7 @@ AST_TEST_DEFINE(sip_parse_uri_fully_test) switch (cmd) { case TEST_INIT: info->name = "sip_uri_full_parse_test"; - info->category = "channels/chan_sip/"; + info->category = "/channels/chan_sip/"; info->summary = "tests sip full uri parsing"; info->description = "Tests full parsing of various URIs " @@ -501,7 +501,7 @@ AST_TEST_DEFINE(sip_parse_uri_test) switch (cmd) { case TEST_INIT: info->name = "sip_uri_parse_test"; - info->category = "channels/chan_sip/"; + info->category = "/channels/chan_sip/"; info->summary = "tests sip uri parsing"; info->description = "Tests parsing of various URIs " @@ -758,7 +758,7 @@ AST_TEST_DEFINE(get_calleridname_test) switch (cmd) { case TEST_INIT: info->name = "sip_get_calleridname_test"; - info->category = "channels/chan_sip/"; + info->category = "/channels/chan_sip/"; info->summary = "decodes callerid name from sip header"; info->description = "Decodes display-name field of sip header. Checks for valid output and expected failure cases."; return AST_TEST_NOT_RUN; @@ -872,7 +872,7 @@ AST_TEST_DEFINE(get_name_and_number_test) switch (cmd) { case TEST_INIT: info->name = "sip_get_name_and_number_test"; - info->category = "channels/chan_sip/"; + info->category = "/channels/chan_sip/"; info->summary = "Tests getting name and number from sip header"; info->description = "Runs through various test situations in which a name and " @@ -1056,7 +1056,7 @@ AST_TEST_DEFINE(get_in_brackets_test) switch (cmd) { case TEST_INIT: info->name = "sip_get_in_brackets_test"; - info->category = "channels/chan_sip/"; + info->category = "/channels/chan_sip/"; info->summary = "Tests getting a sip uri in <> brackets within a sip header."; info->description = "Runs through various test situations in which a sip uri " @@ -1266,7 +1266,7 @@ AST_TEST_DEFINE(parse_name_andor_addr_test) switch (cmd) { case TEST_INIT: info->name = "parse_name_andor_addr_test"; - info->category = "channels/chan_sip/"; + info->category = "/channels/chan_sip/"; info->summary = "tests parsing of name_andor_addr abnf structure"; info->description = "Tests parsing of abnf name-andor-addr = name-addr / addr-spec " @@ -1496,7 +1496,7 @@ AST_TEST_DEFINE(parse_contact_header_test) switch (cmd) { case TEST_INIT: info->name = "parse_contact_header_test"; - info->category = "channels/chan_sip/"; + info->category = "/channels/chan_sip/"; info->summary = "tests parsing of sip contact header"; info->description = "Tests parsing of a contact header including those with multiple contacts " @@ -1714,7 +1714,7 @@ AST_TEST_DEFINE(sip_parse_options_test) switch (cmd) { case TEST_INIT: info->name = "sip_parse_options_test"; - info->category = "channels/chan_sip/"; + info->category = "/channels/chan_sip/"; info->summary = "Tests parsing of sip options"; info->description = "Tests parsing of SIP options from supported and required " -- cgit v1.2.3