Search found 11 matches

by liugyer
Sun Mar 13, 2022 1:09 am
Forum: ESP-ADF 中文讨论版
Topic: VoIP例程:无法连接到FreePBX
Replies: 4
Views: 14509

Re: VoIP例程:无法连接到FreePBX

Hi

看起来ADF Voip只能适配v3.3,高版本无法使用
by liugyer
Wed Jan 19, 2022 1:22 pm
Forum: ESP-ADF 中文讨论版
Topic: SIP Connection failed, error: Success
Replies: 0
Views: 4394

SIP Connection failed, error: Success

Hi 使用VoIP的代码库,连接SIP服务器时,有一定概率出现长时间连接不到服务器的原因。由于没有开源这部分代码,所以不知道log输出的含义是什么。请帮忙解答一下。 [11:01:21]E (9213) SIP: Connection failed, error: Success [11:01:31]W (19213) SIP: CHANGE STATE FROM 0, TO 0, :func: sip_reconnect:313 [11:01:33]I (20413) SIP: Conecting... [11:01:39]E (27213) SIP: Connection failed, ...
by liugyer
Wed Dec 22, 2021 12:30 pm
Forum: ESP-ADF
Topic: VoIP example error: can't connect to SIP-PBX
Replies: 2
Views: 18480

Re: VoIP example error: can't connect to SIP-PBX

Hi

When I use esp-adf with esp-idf V3.2 which is the submodule of esp-adf repo. It can work, but if I use esp-idf v4.x, the sip server can't be accessed.
And I'm sure that my Lyrat-mini board and FreePBx Server were connected with the same wifi. They should be in a same network.
by liugyer
Fri Oct 29, 2021 10:01 am
Forum: ESP-ADF 中文讨论版
Topic: Audio Codec导致panic
Replies: 2
Views: 10313

Re: Audio Codec导致panic

有人遇到过这个问题吗? 只要一跑到以下代码就会crash static esp_err_t recorder_pipeline_open() { audio_element_handle_t i2s_stream_reader; audio_pipeline_cfg_t pipeline_cfg = DEFAULT_AUDIO_PIPELINE_CONFIG(); recorder = audio_pipeline_init(&pipeline_cfg); AUDIO_NULL_CHECK(TAG, recorder, return ESP_FAIL); i2s_stream_cfg_t i2...
by liugyer
Wed Oct 27, 2021 1:41 pm
Forum: ESP-ADF 中文讨论版
Topic: Audio Codec导致panic
Replies: 2
Views: 10313

Audio Codec导致panic

Hi guys 我在使用voip的例程时,一旦使用codec播放音频,就会出现panic。‘ 我使用的硬件是ESP32-WROOM-32, 软件ESP-ADF和IDF版本分别是138ac2 和 722043f, log如下: I (42670) SIP: [1970-01-01/00:00:21]=======================>> I (42680) VOIP_EXAMPLE: SIP_EVENT_AUDIO_SESSION_BEGIN W (42680) I2S: I2S driver already installed I (42690) LYRAT_MINI_V1_1: ...
by liugyer
Fri Oct 22, 2021 9:23 am
Forum: ESP-ADF 中文讨论版
Topic: vscode安装esp-adf后voip例子编译失败
Replies: 7
Views: 23460

Re: vscode安装esp-adf后voip例子编译失败

Hi

SIP服务器是正常的,并且MicroSIP也能连接上,但是使用该例程的esp32却无法连接。
新的case已经提交到 viewtopic.php?f=28&t=23951

能否帮忙看看呢?

Thanks
by liugyer
Fri Oct 22, 2021 8:53 am
Forum: ESP-ADF 中文讨论版
Topic: VoIP例程:无法连接到FreePBX
Replies: 4
Views: 14509

VoIP例程:无法连接到FreePBX

Hi

我使用的是Lyrat_mini-v1.2开发板。烧录VoIP.bin后,无法连接到SIP服务器。从log看,一直在重复输出
W (44438) SIP: Retransmit again

在FreePBX的log中,一直显示Failed to authenticate。
但是,我使用MicroSIP连接服务器,是正常工作的。

附件中是esp32的log和freepbx的log,以及microSIP连接到freepbx的log。
log.rar
esp32 log 和 FreePBX log
(8.09 KiB) Downloaded 1054 times
请帮忙看一下,是哪里有问题?

Thanks
by liugyer
Thu Oct 21, 2021 3:48 am
Forum: ESP-ADF 中文讨论版
Topic: vscode安装esp-adf后voip例子编译失败
Replies: 7
Views: 23460

Re: vscode安装esp-adf后voip例子编译失败

你好

我执行了命令后,并没有解决这个问题。
我将idf改成v4.1版本后,是可以编译的。是否可以直接使用v4.1进行编译呢?

另外,我的开发板是lyrat mini v1.2, 所以我在Audio HAL中选择了 mini v1.1, 并且使用v4.1编译的VoIP例程。
这个bin文件有两个问题:
1、没有像例程中所说的播放声音
2、无法连接SIP服务器

所以,请问是否Audio HAL配置选择错误?

Thanks
by liugyer
Wed Oct 20, 2021 2:13 pm
Forum: ESP-ADF
Topic: VoIP example error: can't connect to SIP-PBX
Replies: 2
Views: 18480

VoIP example error: can't connect to SIP-PBX

Hi guys, When I use the VoIP example of esp-adf, my board can't be connected with FreePBX. I have tested with my FreePBX by using phone, so how to fix this issue or how can I debug? The log as following: REGISTER sip:123@192.168.137.171:5060 SIP/2.0 Via: SIP/2.0/UDP 192.168.1.10:17020;branch=z9hG4bK...
by liugyer
Mon Oct 18, 2021 7:02 am
Forum: ESP-ADF
Topic: FAILED: voip_app.elf
Replies: 2
Views: 14161

Re: FAILED: voip_app.elf

Hi

My solution is to re-install esp-idf with v4.1 in vscode, and then re-install esp-adf.
I think it's a compatible problem.

Thanks