[SR-Users] kamailio+rtpengine for media not playing media file while hold the call

Richard Fuchs rfuchs at sipwise.com
Thu Aug 20 15:34:46 CEST 2020


On 20/08/2020 03.42, Amit Pal wrote:
>
> Dear Team,
>
>    I am using kamailio with rtpengine  for media.
> when call getting hold no media sound play (configure hold.mp3).
>
> From rtpengine gets following error.
>
> rtpengine[624]: ERR:  No suitable SDP section for media playback
>
> rtpengine[624]: WARNING:  Protocol error in packet from 
> 127.0.0.1:46333: Failed to start media playback from file 
> [d8:supportsl10:load 
> limite4:file38:/home/coralswitch/queuesounds/hold.mp37:call-id60:89162207232fae50MTg0YzVlODc0NTBiZGU1ZGJiYmNmYjY1MDc0MjIwMzI.13:received-froml3:IP414:192.168.20.254e8:from-tag32:9f5288f14b704b28a1c2dfc2112250eb6:to-tag8:1e05e7577:command10:play 
> mediae]
>
> rtpengine[624]: INFO:  Received command 'offer' from 127.0.0.1:46333
>
> rtpengine[624]: INFO: Replying to 'offer' from 127.0.0.1:46333 
> (elapsed time 0.000106 sec)
>
>  /usr/local/sbin/kamailio[9094]: ERROR:rtpengine [rtpengine.c:2619]: 
> rtpp_function_call(): proxy replied with error: Failed to start media 
> playback from file
>
> Attached file show complete log of one call with hold /unhold actions.
>
That's because you tried to play media towards a `sendonly` RTP client.

Cheers

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20200820/3c40a308/attachment.htm>


More information about the sr-users mailing list