Gavin Henry
2007-Jun-01 02:31 UTC
[asterisk-users] ZAP inbound/outbound connection taking too long
Dear all, I think this is common, or at least how it is supposed to be, but whening dialing over a ZAP channel, it's taking around 5~ seconds to ring on the over end, likewise inbound. This is just with a normal Dial command. Are there any ways to tweak this? Thanks, Gavin.
Gordon Henderson
2007-Jun-01 04:03 UTC
[asterisk-users] ZAP inbound/outbound connection taking too long
On Fri, 1 Jun 2007, Gavin Henry wrote:> Dear all, > > I think this is common, or at least how it is supposed to be, but > whening dialing over a ZAP channel, it's taking around 5~ seconds to > ring on the over end, likewise inbound. > > This is just with a normal Dial command.It's "normal" for an analogue Zap channel. Asterisk has to "sieze" the line (after a basic check to make sure the channel is free), that may entail a delay of a second or so while it makes sure there there is a dial-tone (actually, I'm not sure it waits for a dial-tone), then it sends the digits out via DTMF - that might take a second or 2 for a long number - then it's up to the PSTN switch at the other end to connect the call - depending on the technology, this might take several seconds. What you can do is connect to asterisk (asterisk -r), set verbose 9999, then initiate a dial and you'll see the dialplan progress and you can work out yourself where the longest part of the delay is... Inbound ought to be answered as soon as asterisk "hears" the ringing signal - but this might be one whole ring time from the ring starting, depending on how caller-id is being handled in your country, again, monitor it by looking at the output on the console, and by connecting an existing analogue phone in paralel with the incoming Zap line. Gordon
Tzafrir Cohen
2007-Jun-01 06:25 UTC
max verbose level [was: Re: [asterisk-users] ZAP inbound/outbound connection taking too long]
Unrelated issue: On Fri, Jun 01, 2007 at 12:03:27PM +0100, Gordon Henderson wrote:> On Fri, 1 Jun 2007, Gavin Henry wrote:> What you can do is connect to asterisk (asterisk -r), set verbose 9999,Any point in verbose level over 4 ? -- Tzafrir Cohen icq#16849755 jabber:tzafrir@jabber.org +972-50-7952406 mailto:tzafrir.cohen@xorcom.com http://www.xorcom.com iax:guest@local.xorcom.com/tzafrir
Gordon Henderson
2007-Jun-01 06:33 UTC
max verbose level [was: Re: [asterisk-users] ZAP inbound/outbound connection taking too long]
On Fri, 1 Jun 2007, Tzafrir Cohen wrote:> Unrelated issue: > > On Fri, Jun 01, 2007 at 12:03:27PM +0100, Gordon Henderson wrote: >> On Fri, 1 Jun 2007, Gavin Henry wrote: > >> What you can do is connect to asterisk (asterisk -r), set verbose 9999, > > Any point in verbose level over 4 ?Probably not - I just seem to have gotten into the habit of typing that :) Gordon