Hi

when call is being trasfered to another number MS Teams sends new Invite with SDP as 'a=inactive'. How can I put ringback ton as MOH for this sitation?

I tried with:

if(is_audio_on_hold()) {
                 xlog("L_INFO", "onHOLD");
                                    
rtpengine_play_media("file=/home/ringback.wav");
                  }

From logs i can see that due to a=inactive rtpengine will not play media. I tried also to replace inactive with sendonly with function body_replace before I call rtpengine_play_media but it does not help.


thank you
miha
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to