proxy.c: fix quality reporting collector address check -...

proxy.c: fix quality reporting collector address check - sip:collector.linphone.org is a valid collector endpoint as well
parent a4666bd1
......@@ -568,7 +568,7 @@ int linphone_proxy_config_get_quality_reporting_interval(LinphoneProxyConfig *cf
void linphone_proxy_config_set_quality_reporting_collector(LinphoneProxyConfig *cfg, const char *collector){
if (collector!=NULL && strlen(collector)>0){
LinphoneAddress *addr=linphone_address_new(collector);
if (!addr || linphone_address_get_username(addr)==NULL){
if (!addr){
ms_error("Invalid SIP collector URI: %s. Quality reporting will be DISABLED.",collector);
} else {
if (cfg->quality_reporting_collector != NULL){
......
......@@ -42,7 +42,7 @@ typedef struct reporting_addr {
} reporting_addr_t;
/**
* Linphone quality report sub object storing media metrics information as required by RFC035.
* Linphone quality report sub object storing media metrics information as required by RFC6035.
*/
typedef struct reporting_content_metrics {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment