[sr-dev] [kamailio/kamailio] msrp: fixed IPv6 address parsing (#2472)

sergey-safarov notifications at github.com
Mon Sep 7 11:31:13 CEST 2020


The issue happens when Kamailio receive MSRP message like
```
MSRP e1df91d477cc632a SEND
To-Path: msrp://3.236.25.4:5060/s.57471.1.1260517458;tcp msrp://[2600:1f18:63e1:6937:c504:55a1:e141:6810]:2855/e3e5c58412a3479fb007238b3729403a;tcp
From-Path: msrp://192.168.122.2:2855/88fafa933e5144ffa59e;tcp
Message-ID: f7d1b51d7ec9ad2d
Byte-Range: 1-365/365
Success-Report: no
Failure-Report: no
Content-Type: message/cpim

From: +12134445566 <sip:+12134445566 at wv.nga911.com>
To: <sip:+13044598081 at wv.nga911.com>
DateTime: 2020-09-06T11:07:09.980093+03:00

MIME-Version: 1.0
Content-Type: application/im-iscomposing+xml

<?xml version='1.0' encoding='UTF-8'?>
<isComposing xmlns="urn:ietf:params:xml:ns:im-iscomposing"><state>active</state><contenttype>text</contenttype></isComposing>
```

Kamailio acts as MSRP relay between IPv4 and IPv6 clients.

-- 
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/pull/2472#issuecomment-688198806
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20200907/53d5d8fe/attachment.htm>


More information about the sr-dev mailing list