On 22/08/2020 09.39, Amit Pal wrote:

Dear Team,
                 I am using kamailio with rtpengine for media.

When I make call between two sipUA then media  flow is manage by rtpengine offer/answer.

The issue is when hold the call  then following some error are coming .

 

Pls find the full log in attached file.

 

rtpengine[14099]: DEBUG: [43402b3cc9425239MTg0YzVlODc0NTBiZGU1ZGJiYmNmYjY1MDc0MjIwMzI.]: av_log: parser not found for codec pcm_s16le, packets or times may be invalid.

rtpengine[14099]: DEBUG: [43402b3cc9425239MTg0YzVlODc0NTBiZGU1ZGJiYmNmYjY1MDc0MjIwMzI.]: av_log: max_analyze_duration 5000000 reached at 5120000 microseconds st:0

rtpengine[14099]: DEBUG: [43402b3cc9425239MTg0YzVlODc0NTBiZGU1ZGJiYmNmYjY1MDc0MjIwMzI.]: av_log: stream 0: start_time: -1152921504606847.000 duration: 27.034

rtpengine[14099]: DEBUG: [43402b3cc9425239MTg0YzVlODc0NTBiZGU1ZGJiYmNmYjY1MDc0MjIwMzI.]: av_log: format: start_time: -9223372036854.775 duration: 27.034 bitrate=128 kb/s

rtpengine[14099]: DEBUG: [43402b3cc9425239MTg0YzVlODc0NTBiZGU1ZGJiYmNmYjY1MDc0MjIwMzI.]: av_log: After avformat_find_stream_info() pos: 131130 bytes read:196666 seeks:1 frames:22

rtpengine[14099]: ERR: [43402b3cc9425239MTg0YzVlODc0NTBiZGU1ZGJiYmNmYjY1MDc0MjIwMzI.]: No supported output codec found in SDP

rtpengine[14099]: INFO: [43402b3cc9425239MTg0YzVlODc0NTBiZGU1ZGJiYmNmYjY1MDc0MjIwMzI.]: Replying to 'play media' from 127.0.0.1:48757 (elapsed time 0.121111 sec)

rtpengine[14099]: DEBUG: [43402b3cc9425239MTg0YzVlODc0NTBiZGU1ZGJiYmNmYjY1MDc0MjIwMzI.]: Response dump for 'play media' to 127.0.0.1:48757: { "result": "ok" }

 

I am unable to understand this issue.

Is this related to rtpenging, which is  not supported given codec  or file codec, which is used to play after hold call or anything else in script issue.

 

Can you please guide me where is the issue.

You're trying to play media to the B side (callee - answerer), but rtpengine has only seen the offer from the A side (caller). So rtpengine neither knows which codec to use, nor where to send the media to. You can only play to the B side after having seen an answer from it.

Cheers