Dear Richard Fuchs,
Thanks for giving your valuable time.
I am newbie of kamailio and taking configuration file from kamailio mailing list. I need to know where I am going to change for play hold music on 'reconly'. I am attaching kamailio.cfg file.
Please guide me where I need to change.
Thanks
Amit Pal
From: sr-users [mailto:sr-users-bounces@lists.kamailio.org] On Behalf Of Richard Fuchs Sent: Thursday, August 20, 2020 7:05 PM To: sr-users@lists.kamailio.org Subject: Re: [SR-Users] kamailio+rtpengine for media not playing media file while hold the call
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:89162207232 fae50MTg0YzVlODc0NTBiZGU1ZGJiYmNmYjY1MDc0MjIwMzI.13:received-froml3:IP414:19 2.168.20.254e8:from-tag32:9f5288f14b704b28a1c2dfc2112250eb6:to-tag8:1e05e757 7: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