We have a dedicated Asterisk 1.6 server running as a front end SIP server for authenticated and internal users only, using SDSL 2MB/2MB, in the UK. The provider of out internet also is the provider of our outgoing SIP, so there are a few hops with a total of 30ms to the sip server.
- Everything works fine in the office. No delays.
- Everything works fine using extension dialling from two outside lines. Ie bot extensions are at home using home br= broadband of 512mb… there is roughly 100-200ms delay on both channels- which is fine.
The problem occurs when any extension, office, or home user dials out using a Trunk. Out Main one or even voipcheap.
The outgoing audio get to the “mobile” phone for test sake in not more than 250ms- that’s perfect. But when the person on the “mobile” replies, the audio returns after 500-750ms.
I have not timed anything exactly but that’s what it feels like. I tried running channel stats in CLI - jitter is 0, lost is 0
I mainly use aLaw codec, but i started forcing other like g729, g726 - Jitter is off, but even when its on it makes no difference (to my ear) the returning delay is still there.All these codecs are supported by my SIP servers, and all SIP clients connect using aLaw codec, and the aLaw has the lest translation time… but I am not sure if it actually translating it somewhere along the line, at should just pass through.
I do not know how to debug/trace the returning channel issue. Where is the delay, what can i do to try and resolve this.
The problem is that people start talking over each other because the delay out and in is different and confuses people, it would be better if the delay was the same. but i think 500ms is too much for the time and effort we spent setting up dedicated internet and server.
Does anybody have some advice?