In Asterisk 13 and 16 RTT, whenever Asterisk sends T.140 message the string “RTP” and null terminator are written to the end of the message. This also affects the packet data in T.140 RED. Is this defect in Asterisk code because the spec and text capabable clients such as SipCon1 do not append the string “RTP” after every character or set of characters is sent?
Another issue, If just a T.140 invite comes into Asterisk, Asterisk will connect the call initially, but disconnects with the message “Bearer Capability Not Available” and the Asterisk CLI says codec not available. Can Asterisk T.140 call with no audio in the SDP?
T.140 is rarely used, so it’s entirely possible that the functionality has issues. I do recall someone putting some time into it fairly recently, but don’t remember further details.
Asterisk is very audio heavy and really requires an audio stream to be present.
Does anyone have a recommend way to debug Asterisk? I am not a Linux developer, but have C/C++ knowledge. The frame.c has a function that duplicates the frame and it adds the frame.src right after the frame data which is thus RTP\0. However, that would mean that the length of the data was incremented by four somewhere after that function is called or something else is causing it.