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

REGISTER error #4

Open
tomtao opened this issue Jul 31, 2024 · 1 comment
Open

REGISTER error #4

tomtao opened this issue Jul 31, 2024 · 1 comment

Comments

@tomtao
Copy link

tomtao commented Jul 31, 2024

[trace] 2024/07/31 10:51:40.199479 sip signaling listening on UDP [::]:5060:5060
[trace] 2024/07/31 10:51:40.199842 sip signaling listening on TCP [::]:5060:5060
[trace] 2024/07/31 10:51:40.200333 media server address is 192.168.1.18:1985
[trace] 2024/07/31 10:51:40.200657 http api listen on :2020
[trace] 2024/07/31 10:51:40.200633 http server listen on 8888, home is ./web/html
[trace] 2024/07/31 10:51:42.797425 34020000001320000001 Register success, source:192.168.1.23:5060, req: REGISTER sip:34020000002000000001@3402000000 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.23:5060;rport;branch=z9hG4bK1876265284
From: sip:34020000001320000001@3402000000;tag=639987620
To: sip:34020000001320000001@3402000000
Call-ID: 706935136
CSeq: 1 REGISTER
Contact: sip:[email protected]:5060
Max-Forwards: 70
User-Agent: IP Camera
Expires: 3600
Content-Length: 0

[trace] 2024/07/31 10:52:02.888623 catalog response: SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.1.18:5060;branch=z9hG4bK.JU7IFNHHzgYWWMeE;alias
From: sip:34020000002000000001@3402000000;tag=MNnwCz1xf63yEXKw
To: sip:34020000001320000001@3402000000;tag=760893369
Call-ID: 71f7ffe6-f1d8-47f2-9722-549cb0f9c4c9
CSeq: 1 MESSAGE
User-Agent: IP Camera
Content-Length: 0

[trace] 2024/07/31 10:52:02.889091 Keepalive
[error] 2024/07/31 10:52:02.908429 decode message error: XML syntax error on line 10: invalid UTF-8
image
[trace] 2024/07/31 10:52:02.908787 Catalog
[trace] 2024/07/31 10:52:47.977262 Keepalive

@duiniuluantanqin
Copy link
Member

duiniuluantanqin commented Oct 31, 2024

The XML encoding on my device is GB2312, so your device's XML transmission might not be compliant.
You can capture a packet and send it to me

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

2 participants