[sr-dev] [kamailio/kamailio] add rport to uac register msg (#2639)

Seven Du notifications at github.com
Tue Feb 16 17:18:54 CET 2021


updated and now hit another problem. again, comment out the `add_rport` function removes the err.

```
11(37206) INFO: <core> [core/kemi.c:105]: sr_kemi_core_info(): ===== tm module triggered event: tm:local-request
11(37206) INFO: <core> [core/kemi.c:105]: sr_kemi_core_info(): ===== add local rport =====
11(37206) ERROR: <core> [core/parser/parse_hname2.c:235]: parse_sip_header_name(): invalid start of header name for [;received=172.18.0.4To: <sip:6077 at xyt.xswitch.cn>
From: <sip:6077 at xyt.xswitch.cn>;tag=313d8852a4ab4756667432d70505cb2e-432aedaf
CSeq: 10 REGISTER
Call-ID: 61936a7e322da704-37206 at 172.18.0.4
Max-Forwards: 70
Content-Length: 0
User-Agent: kamailio (5.5.0-dev4 (x86_64/linux))
Contact: <sip:a at 172.16.131.200:9060>
Expires: 300

]
11(37206) ERROR: <core> [core/parser/msg_parser.c:98]: get_hdr_field(): bad header
11(37206) ERROR: <core> [core/parser/msg_parser.c:339]: parse_headers(): bad header field [;received=172.18.0.4To: <sip:6077 at xyt.xswitch.cn>
From: <sip:6077 at xyt.xswitch.cn>;tag=313d8852a4ab4]
11(37206) ERROR: tm [uac.c:175]: uac_refresh_hdr_shortcuts(): failed to parse headers in new message
11(37206) ERROR: tm [uac.c:579]: t_uac_prepare(): failed to refresh header shortcuts
11(37206) ERROR: uac [uac_reg.c:1163]: uac_reg_send(): failed to send request for [a]
```


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2639#issuecomment-779945796
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20210216/87eba14b/attachment-0001.htm>


More information about the sr-dev mailing list