thinhit / sipml5

Automatically exported from code.google.com/p/sipml5
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Content length for SIP INFO packets is incorrect in latest release #216

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
a) Before posting your issue you MUST answer to the questions otherwise it
will be rejected (invalid status) by us
b) Please check the issue tacker to avoid duplication
c) Please provide network capture (Wireshark) or Javascript console log
if you want quick response

What steps will reproduce the problem?
1. Setup an outbound call with r222 release of SIPML5
2.  Hit a DTMF digit
3.

What is the expected output? What do you see instead?

The expected output (which was working in previous releases of SIPML5) looks 
like

SEND: INFO ************:5060;transport=udp SIP/2.0
Via: SIP/2.0/WS 
*********************
Content-Type: application/dtmf-relay
Content-Length: 22
Max-Forwards: 70
Proxy-Authorization: Digest 
.................

Instead the Content length is set to 1.

This is has knock on effect with Freeswitch of DTMF packet being thrown away.

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by gbfa...@gmail.com on 17 Mar 2015 at 2:14

GoogleCodeExporter commented 8 years ago
https://code.google.com/p/sipml5/source/detail?r=228

Original comment by boss...@yahoo.fr on 18 Mar 2015 at 8:46