[OpenSIPS-Users] Caller not able to hear Audio file

Devang Dhandhalya devang.dhandhalya at ecosmob.com
Mon Aug 14 10:51:17 UTC 2023

Hello All

I am facing the problem that when I make a call, I am not able to hear the
audio file on my softphone(zoiper3&5, microsip) which is playing from
opensips using rtpengine module, but when i capture the that call sip trace
and load that pcap in wireshark i am able to hear audio file music.

Here is the code snippet:
    append_to_reply("Content-Type: application/sdp\r\n");
    $var(body) = $(rb{re.subst,/(IP4.).*/\1127.0.0.1/g});
    t_reply_with_body(183, "Session Progress", $var(body));

opensips version: 3.2.5
I am using a Standard wave audio file with 8KHz, 16bit mono, I used other
formats (i.e.mp3) as well but still in softphones I am not able to Hear
voice but in wireshark I am able to hear mp3 file voice.
I would appreciate it if someone has an idea what to do. Please feel free
to ask if you think I have forgotten to describe something that might be
important or something is unclear in what I have written.

Devang Dhandhalya


In addition to generic Disclaimer which you have agreed on 
our website, any views or opinions presented in this email are solely those 
of the originator and do not necessarily represent those of the Company or 
its sister concerns. Any liability (in negligence, contract or otherwise) 
arising from any third party taking any action, or refraining from taking 
any action on the basis of any of the information contained in this email 
is hereby excluded.

This communication (including any 
attachment/s) is intended only for the use of the addressee(s) and contains 
information that is PRIVILEGED AND CONFIDENTIAL. Unauthorized reading, 
dissemination, distribution, or copying of this communication is 
prohibited. Please inform originator if you have received it in error.

*Caution for viruses, malware etc.*
This communication, including any 
attachments, may not be free of viruses, trojans, similar or new 
contaminants/malware, interceptions or interference, and may not be 
compatible with your systems. You shall carry out virus/malware scanning on 
your own before opening any attachment to this e-mail. The sender of this 
e-mail and Company including its sister concerns shall not be liable for 
any damage that may incur to you as a result of viruses, incompleteness of 
this message, a delay in receipt of this message or any other computer 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20230814/12607e69/attachment.html>

More information about the Users mailing list