<div dir="ltr">Problem: Calls from PSTN provider > Asterisk > OpenSIPs > SIP Endpoint have intermittent audio issues. See below for details.<div><br></div><div>I am a long time Asterisk user but extremely new to OpenSIPs.</div><div><br></div><div>We are in the process of a migration from an older Asterisk server to a newer version along with some other changes.</div><div><br></div><div>First order of business is for us to offload all registrations from our current 1.8.x Asterisk server to OpenSIPs 2.4.6.</div><div><br></div><div>We have a setup that seems to be mostly working but intermittent audio issues are what we are trying to eliminate.</div><div><br></div><div>When I say intermittent, audio seems to work for a particular end point in certain situations or it doesn't. For example, we have some end points which have no audio at all such as my personal soft-phone. I can't get audio on any of three different soft-phones on my laptop, no audio in either direction. But, I have a Grandstream phone on the same LAN which works perfectly every time, on every call.</div><div><br></div><div>I have other end points which are Grandstream phones with perfectly working audio in both directions, all the time, consistently.</div><div><br></div><div>I have other Grandstream end points which work for the same type of call every time, with audio in both directions but the same phone has no audio on slightly different types of calls (hard to explain what I mean by "types of calls").</div><div><br></div><div>Ideally, we would not care about this working with Asterisk 1.8.x since we are moving away from it but it's important for it to work as part of our transition/migration.</div><div><br></div><div>I had horrible audio issues at first were it was hardly working at all or one way audio consistently. I fixed this by setting nat=yes in the sip.conf for the context pointing to the OpenSIPs server. I couldn't understand why this fixed it since the OpenSIPs server and the Asterisk server both have static IP's and are NOT behind any NAT of any sort. Only the end points registered to OpenSIPs are behind end points.</div><div><br></div><div>Still I noticed that Asterisk was trying to send calls to the LAN IP of the end points, so I tested nat=yes and it fixed most of the audio issues with only the issues outlined above remaining.</div><div><br></div><div>My next steps are to see if I have good audio if I push calls to the newer Asterisk server then to the end points registered to the OpenSIPs server. Even if that works, it does not solve my current need to make this work with Asterisk 1.8.x at least until the migration is complete.</div><div><br></div><div>Thanks in advance for any assistance with this.</div><div><br></div><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><p class="MsoNormal" style="color:rgb(0,0,0);font-family:Calibri,sans-serif;margin:0in 0in 0.0001pt;font-size:11pt"><span style="font-size:9.5pt;font-family:Arial,sans-serif;color:rgb(34,34,34)">Regards,</span></p><p class="MsoNormal" style="color:rgb(0,0,0);font-family:Calibri,sans-serif;margin:0in 0in 0.0001pt;font-size:11pt"><span style="font-size:9.5pt;font-family:Arial,sans-serif;color:rgb(34,34,34)">Todd<br></span></p></div></div></div></div></div></div>