Closed sylvainleris closed 1 year ago
It will be great if we could update User-Agent in SIP headers. It could be done like this :
esp_rtc_config_t sip_service_config = { .uri = uri, .user_agent = "ESP32 SIP/2.0", .ctx = av_stream, .local_addr = ip4addr_ntoa(&ip), .acodec_type = RTC_ACODEC_G711A, .data_cb = &data_cb, .event_handler = _esp_sip_event_handler, };
@sylvainleris
Thanks for your report, we will add this feature.
It will be great if we could update User-Agent in SIP headers. It could be done like this :