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

Amit Pal amit.pal at coraltele.com
Thu Aug 20 16:30:10 CEST 2020


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 at lists.kamailio.org] On Behalf Of
Richard Fuchs
Sent: Thursday, August 20, 2020 7:05 PM
To: sr-users at 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20200820/a73673e6/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kamailio.cfg
Type: application/octet-stream
Size: 25424 bytes
Desc: not available
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20200820/a73673e6/attachment.obj>


More information about the sr-users mailing list