diff --git a/coreapi/linphonecore.c b/coreapi/linphonecore.c index da8cdfb50..2da2f0007 100644 --- a/coreapi/linphonecore.c +++ b/coreapi/linphonecore.c @@ -1872,7 +1872,7 @@ static void linphone_core_register_default_codecs(LinphoneCore *lc){ linphone_core_register_payload_type(lc,&payload_type_ilbc,"mode=30",FALSE); linphone_core_register_payload_type(lc,&payload_type_amr,"octet-align=1",FALSE); linphone_core_register_payload_type(lc,&payload_type_amrwb,"octet-align=1",FALSE); - linphone_core_register_payload_type(lc,&payload_type_g729,"annexb=no",FALSE); + linphone_core_register_payload_type(lc,&payload_type_g729,"annexb=yes",TRUE); /* For AAC, we use a config value to determine if we ought to support SBR. Since it is not offically supported * for the mpeg4-generic mime type, setting this flag to 1 will break compatibility with other clients. */ if( lp_config_get_int(lc->config, "misc", "aac_use_sbr", FALSE) ) { diff --git a/coreapi/remote_provisioning.c b/coreapi/remote_provisioning.c index 717f8743c..167a28e4d 100644 --- a/coreapi/remote_provisioning.c +++ b/coreapi/remote_provisioning.c @@ -123,7 +123,10 @@ int linphone_remote_provisioning_download_and_apply(LinphoneCore *lc, const char lc->provisioning_http_listener = belle_http_request_listener_create_from_callbacks(&belle_request_listener, lc); - request=belle_http_request_create("GET",uri, NULL); + request=belle_http_request_create("GET" + , uri + , belle_sip_header_create("User-Agent",linphone_core_get_user_agent(lc)) + , NULL); return belle_http_provider_send_request(lc->http_provider, request, lc->provisioning_http_listener); } else { diff --git a/tester/call_single_tester.c b/tester/call_single_tester.c index e54438f65..62c12cf1a 100644 --- a/tester/call_single_tester.c +++ b/tester/call_single_tester.c @@ -1463,6 +1463,7 @@ static void call_with_custom_sdp_attributes(void) { pauline_params = linphone_core_create_call_params(pauline->lc, NULL); linphone_call_params_add_custom_sdp_attribute(pauline_params, "weather", "bad"); linphone_call_params_add_custom_sdp_attribute(pauline_params, "working", "yes"); + linphone_call_params_add_custom_sdp_attribute(pauline_params, "attribute_without_value", NULL); /*cannot be tested yet*/ linphone_call_params_add_custom_sdp_media_attribute(pauline_params, LinphoneStreamTypeAudio, "sleeping", "almost"); BC_ASSERT_TRUE(call_with_caller_params(pauline, marie, pauline_params)); linphone_call_params_unref(pauline_params);