The purpose of RingDelay is to give the OBi time to process CallerID information from the PSTN line. If you have the CallerID function and wish to use it, then simply reduce it as low as you can and still keep CallerId working. If you do not have CallerID or do not wish to use it then set:
Physical Interfaces > LINE Port > LINE Port > RingDelay: 0
QuoteI changed the impedance to 270+(750||150 nF) and 275+etc and that seemed to improve the sound quality to an acceptable level
Getting a perfect impedance match between the OBi Line Port and the PSTN line involves trial and error, unless you are very lucky and have the perfect PSTN line and perfect house wiring and no other devices attached to the PSTN line.
The OBi assumes your line to be not perfect when dialling out, so applies DTMF tones for longer than most lines need (200ms on and 200ms off). To speed up dialling out I use the following settings with no problems on a fairly short PSTN line:
Physical Interfaces > LINE Port > LINE Port > DialDigitOnTime: 80
Physical Interfaces > LINE Port > LINE Port > DialDigitOffTime: 80
Others have reported reliable dialling using:
Physical Interfaces > LINE Port > LINE Port > DialDigitOnTime: 80
Physical Interfaces > LINE Port > LINE Port > DialDigitOffTime: 50
Going back to my original post advising you to disable all four of the PSTN Disconnect Detection methods - you may wish to try bringing back (one at a time):
DetectCPC
DetectDisconnectTone
If enabling one results in your original problem coming back, then disable it again. If the caller and callee both hang up on a call, then normally the call will disconnect with no problem. However, some equipment or some information lines may keep the line busy even if you as the caller hang up. This is why the PSTN Disconnect Detection settings are there. Again, some trial and error. If you are not getting any problems then no need to worry.