idf version v5.3.1
question description:
Use the example of "protocols\voip", the box can register to the freeswitch server, but can't receive the ESP_RTC_EVENT_INCOMING from the remote. below is the log info:
I (3574) SIP: [1970-01-01/00:00:13]<<======================
I (3584) SIP: Required authentication
I (3594) SIP: [1970-01-01/00:00:13]=======WRITE 0833 bytes>>
I (3594) SIP:
REGISTER sip:47.99.52.225:5060 SIP/2.0
Via: SIP/2.0/UDP 116.30.0.6:10495;branch=z9hG4bK-2054671995;rport
From: <sip:1006@47.99.52.225:5060>;tag=1031983087
To: <sip:1006@47.99.52.225:5060>
Contact: <sip:1006@116.30.0.6:10495;transport=UDP>
Max-Forwards: 70
Call-ID: CC31E6092B0B927D9D8C63396081A30DC72AE84E5E46
CSeq: 2 REGISTER
Expires: 3600
User-Agent: ESP32 SIP/2.0
Content-Length: 0
Allow: INVITE, ACK, CANCEL, BYE, UPDATE, REFER, MESSAGE, OPTIONS, INFO, SUBSCRIBE
Supported: replaces, norefersub, extended-refer, timer, X-cisco-serviceuri
Allow-Events: presence, kpml
Authorization: Digest username="1006", realm="47.99.52.225", nonce="c85bf4d2-6935-4ace-8766-477d21c0425b", uri="sip:47.99.52.225:5060", response="2a9c4ae8b946da5cedf9ab6edd8ab275", algorithm=MD5, qop=auth, nc=00000001, cnonce="46e8a32ee65dfc3f"
I (3674) SIP: [1970-01-01/00:00:13]=======================>>
I (3714) SIP: [1970-01-01/00:00:13]<<=====READ 0571 bytes==
I (3714) SIP:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 116.30.0.6:10495;branch=z9hG4bK-2054671995;rport=8689
From: <sip:1006@47.99.52.225:5060>;tag=1031983087
To: <sip:1006@47.99.52.225:5060>;tag=9cv2j4eD2F6cB
Call-ID: CC31E6092B0B927D9D8C63396081A30DC72AE84E5E46
CSeq: 2 REGISTER
Contact: <sip:1006@116.30.0.6:10495;transport=UDP>;expires=3600
Date: Tue, 06 May 2025 01:22:32 GMT
User-Agent: FreeSWITCH-mod_sofia/1.10.0~64bit
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
Supported: path, replaces
Content-Length: 0
I (3764) SIP: [1970-01-01/00:00:13]<<======================
I (3774) SIP_SERVICE: **********ESP_RTC_EVENT_REGISTERED
esp32-s3-box-3 use voip example can't receive the remote calling
Re: esp32-s3-box-3 use voip example can't receive the remote calling
solved, server configure error.
-
tempo.tian
- Posts: 44
- Joined: Wed Jun 22, 2022 12:10 pm
Re: esp32-s3-box-3 use voip example can't receive the remote calling
From log, can see that esp32-s3-box register to SIP server OK. If possible you can check wireshark log on PC (filter `sip`) keywords, and check server log to check whether server forward the call message to esp32-s3-box.
Who is online
Users browsing this forum: No registered users and 2 guests