Hi, i have a OpenVox TDM400p installed in a Elastix 2.3 with Asterisk 1.8 and when i dial to the pstn network, 12 seconds before i get the ring tone of the PSTN.
I’ve been trying to minimize this using the TONEDURATION=100 in chan_dahdi.conf without any result…
I want to modify the default DMTF length when asterisk send a call to the PSTN network, there is a bug of asterisk identified at: issues.asterisk.org/view.php?id=15160 and issues.asterisk.org/view.php?id=15173, so I want to modify the DEFAULT_DTMF_LENGTH parameter but I can’t find it in this version of asterisk used by Elastix 2.3
A delay of 12 seconds sounds more like you haven’t reached the maximum number length somewhere. If you have SIP phones, it could even be within those.
Typically, on modern networks, calls aren’t actually forward routed until either the maximum length number is dialed (this may take account of initial digits) or there has been a timeout.
In some cases, using ! type Asterisk dial patterns may help, but you may also have to insert extra digits to pad numbers out.
Make sure the dialplans in any VoIP phones know the correct number lengths for your environment.
12 seconds sounds a bit long. I believe the UK PSTN used to use 4, but only once the minimum number length was reached.
I understand what you might say, but when in my dial plan i use: NXXXXXXX, is this not enough for trigger the call? as I see in issues.asterisk.org/view.php?id=15160, this is a problem of the DEFAULT_DTMF_LENGTH parameter on DAHDI technology … what can i do now?
When I use: Dial(DAHDI/g0/${EXTEN}), the call has a delay of 12 seconds until ring.
When i use: Dial(DAHDI/g0/${EXTEN}#), the call has a delay of 8 second until ring.
Four seconds are due to your PSTN operator timing out for the end of the number.
You need to establish where the delay is in relation the protocol with the local extension and the protocol with the PSTN, which means getting channel driver level tracing.
The Dial w option is completely unrelated. You need to configure automon (e.g. uncomment it) in features.conf.
automon triggers the recording of calls. w and W enable its use. features.conf determines what, if any digit sequence enables it. It has nothing to do with call set up times.
[quote]; Specify whether the channel should be answered immediately or if the simple
; switch should provide dialtone, read digits, etc.
; Note: If immediate=yes the dialplan execution will always start at extension
; ‘s’ priority 1 regardless of the dialed number!
;
;immediate=yes[/quote]
Make sure that all your calls originate from dahdi (not SIP) as it only applies to dahdi originated calls, make your dialplan start with:
exten => s,1,…
then use applications like waitexten to handle the number dialed. Basically I think you are trying to solve a SIP to DAHDI problem, for which it will be no help at all.
By the way, I don’t speak .rar., and generally won’t go to the trouble of running an uncompressor of any sort on attachments.
It means that the SIP side has set a marker bit in the RTP stream, because the apparent source of the audio has changed, and therefore it would be an appropriate place for the downstream system to re-adjust its latency buffers. It is very much a secondary diagnostic. What I’m actually after is the relative timing of the sending of each DTMF digit, to when the Dial application was initiated. If this is earth start, also the timing of when line seize completed.
Unforunately, it is difficult to work out the time delay between when you made last keypress and when the SIP INVITE was sent.
If I use a softphone, when I press “call”, all the digits are sent in one go to the asterisk? right? , so , I think that the execution time is a problem of the dial command when it process one by one de received digits…
Hello, I don’t think that the problem is related with the dial application. Maybe the problem is in the timeout on your phone’s timeout or in the card contacting the pstn.
To check if is the phone timeout take the hour when you dial the last digit and send the call, then check the cli and check when the number is received. Check when appear the “Dahdi/X-XX is answered”. Usually if I see the card already answered and I can’t hear the ringing tone the problem is in the card or in my pstn.
And finally contact openvox for check issues or bugs in your card.