ossrs / srs-sip

The SIP demo application for SRS GB28181.
https://ossrs.net/lts/zh-cn/docs/v6/doc/gb28181#external-sip
MIT License
31 stars 17 forks source link

REGISTER error #4

Open tomtao opened 3 months ago

tomtao commented 3 months ago

[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:34020000001320000001@192.168.1.23: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 commented 1 week ago

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