[OpenSIPS-Devel] [opensips] 400 Bad Request (Invalid content length X / Y) (#358)

Lead Developer notifications at github.com
Wed Oct 15 18:50:29 CEST 2014


Hi,

Indeed 400 reply is not generated by OpenSIPS. It is generated by `ana` UAS in the example above. What happens is OpenSIPS receives from `bob`:

```
MESSAGE sip:ana at example.com SIP/2.0
Content-Length: 8
[SIP headers]

test 123
```

and forward is to `ana` via `t_relay()` as:
```
MESSAGE sip:ana at example.com SIP/2.0
Content-Length: 8
[SIP headers]

test
```
note: ` 123` is removed

and `ana` UAS replies:

```
SIP/2.0 400 Bad Request (Invalid content length 5 / 8)
[SIP headers]
```

tomorrow I will post sample .cfg file, which will replicate this behaviour.

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/358#issuecomment-59237471
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20141015/8f7b1e01/attachment.htm>


More information about the Devel mailing list