Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting caller id in VoIP Example (AUD-5128) #1131

Closed
Latifly opened this issue Jan 9, 2024 · 2 comments
Closed

Getting caller id in VoIP Example (AUD-5128) #1131

Latifly opened this issue Jan 9, 2024 · 2 comments

Comments

@Latifly
Copy link

Latifly commented Jan 9, 2024

in the voip example in v2.4 release.
https://github.com/espressif/esp-adf/tree/release/v2.4/examples/advanced_examples/voip
in the sip event handler, there is event->type and event->data which contain type of event and the data. for example, when there is a SIP_EVENT_RINGING the event->data will contain the caller id.

in the current voip master branch.
https://github.com/espressif/esp-adf/tree/master/examples/protocols/voip
the sip event handler only contain the event type without the data. is there any way to get the caller id when there is ESP_RTC_EVENT_INCOMING event like the version 2.4 release?

@github-actions github-actions bot changed the title Getting caller id in VoIP Example Getting caller id in VoIP Example (AUD-5128) Jan 9, 2024
@ahhfzhang
Copy link
Contributor

Hi @Latifly ,

You can get caller id though esp_rtc_get_peer API.

br.

@jason-mao
Copy link
Collaborator

This topic has become inactive so I'm going to close the issue. Please reopen this if you have any questions or need any further assistance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants