Re: [Asterisk-Users] X100P delayed ring on incoming calls?

2005-04-25 Thread Peter Corlett
Joseph Gutowski [EMAIL PROTECTED] wrote:
[...]
 I wasn't suggesting Asterisk should magically be able to pick up the
 call before it rings at all, just that if my old roommate could
 manage to dive across the room and pick up half way through the
 first ring 99% of the time, surely a computer could do it (if it
 wasn't waiting for caller ID or distinctive ring determination).

This tangential thread was referring to the UK. Your roommate would
have to be very alert and fit to be able to realise the phone is
ringing and answer it within 400ms :)

With a 20Hz ringing current, that's just eight cycles of AC per ring.
A piece of kit that tries to detect ringing without just leaving it to
finish ringing is likely to suffer from false positives.

 And the 1 ring wasn't constant -- sometimes it's one ring,
 sometimes it's 3 -- with no apparent reason (test server with
 nothing to do except answer one X100P and play an IVR menu).

Well, the X100P (or at least a clone) is an unreliable piece of junk
anyway, so this doesn't surprise me. Mine has now taken to randomly
answering the line even when there's no inbound call, and has now been
relegated to being just a Zaptel timing source.

-- 
PGP key ID E85DC776 - finger [EMAIL PROTECTED] for full key

Please contribute to the beer fund and a tidier house:
http://search.ebay.co.uk/_W0QQfgtpZ1QQfrppZ25QQsassZpndc
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] X100P delayed ring on incoming calls?

2005-04-22 Thread bam




I have setup an asterisk box with 3off X100P cards and hooked them up to the PSTN. So far so good, everything does what it is supposed to do for the msot part.

Incoming calls seem to ring three or four times before asterisk then skips to do what it is supposed to do. If the caller drops the call before the extensions have started ringing asterisk seems not to pick this up and carries on regardless.

Anyone got any ideas?

This was built from CVS.

 == Spawn extension (BT_PSTN, s, 1) exited non-zero on 'Zap/3-1'
 -- Hungup 'Zap/3-1'
 -- Starting simple switch on 'Zap/3-1'
Apr 22 09:20:11 NOTICE[20851]: chan_zap.c:5585 ss_thread: Got event 2 (Ring/Answered)...
Apr 22 09:20:13 NOTICE[20851]: chan_zap.c:5585 ss_thread: Got event 2 (Ring/Answered)...
Apr 22 09:20:14 NOTICE[20851]: chan_zap.c:5585 ss_thread: Got event 2 (Ring/Answered)...
Apr 22 09:20:16 NOTICE[20851]: chan_zap.c:5585 ss_thread: Got event 2 (Ring/Answered)...
 -- Executing Dial(Zap/3-1, SIP/110SIP/112|20|tr) in new stack
 -- Called 110
 -- Called 112
 -- SIP/110-ff2f is ringing
 -- SIP/112-4713 is ringing
 -- SIP/110-ff2f answered Zap/3-1

extensions.conf

[BT_PSTN]

exten = s,1,Answer
exten = s,2,Dial(SIP/110SIP/112,20,tr)
exten = s,3,Voicemail(u000)

zapata.conf

context=BT_PSTN
callerid=Inbound Call 01774987987
signalling = fxs_ks
channel=1-3
group = 1




___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [Asterisk-Users] X100P delayed ring on incoming calls?

2005-04-22 Thread Dave Cotton
On Fri, 2005-04-22 at 10:22 +0100, bam wrote:
 I have setup an asterisk box with 3off X100P cards and hooked them up
 to the PSTN. So far so good, everything does what it is supposed to do
 for the msot part.
 
 Incoming calls seem to ring three or four times before asterisk then
 skips to do what it is supposed to do. If the caller drops the call
 before the extensions have started ringing asterisk seems not to pick
 this up and carries on regardless.
 
 Anyone got any ideas?

This sounds like the CallerID problem. * is trying to get the ID, but
the UK's method is different to the default, so it does not get an ID it
finally gives up and processes the call. Look for UKCaller ID settings
in the archives or Wiki. (I left the UK 12 years ago so I've never
looked at it).


-- 
Dave Cotton [EMAIL PROTECTED]

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] X100P delayed ring on incoming calls?

2005-04-22 Thread Gavin Hamill
On Friday 22 April 2005 10:45, Dave Cotton wrote:
 On Fri, 2005-04-22 at 10:22 +0100, bam wrote:

  Incoming calls seem to ring three or four times before asterisk then
  skips to do what it is supposed to do. If the caller drops the call
  before the extensions have started ringing asterisk seems not to pick
  this up and carries on regardless.

I had this problem, and I think I tracked the problem down to the order I had 
the commands in my zapata.conf.

Here is my working one which passes CallerID and causes * to pickup the call 
immediately:

[channels]
signalling=fxs_ks
usecallerid=yes
cidsignalling=v23
cidstart=usehist
language=en
context=from-landline
echotraining=yes
echocancelwhenbridged=yes
echocancel=yes
rxgain=1.0
txgain=-6.0
channel=1
immediate=no


Previously I had the three CallerID directives *AFTER* the 'channel=1' and 
this seemed to confuse it..

Cheers,
Gavin.
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] X100P delayed ring on incoming calls?

2005-04-22 Thread Joseph Gutowski
3-4 rings seems kind of long, I usually see 1.5-2 (enough to grab the
caller ID here in the States).

The only way I know of to speed it up is to turn off all of the
features like distinctive ring detection, caller ID, etc. -- depending
on your usage, that may help some. I haven't confirmed that this
actually does anything myself, but it seems logical that Asterisk
could pick up quicker if it wasn't waiting for caller ID. This is what
people suggest if you Google the list.

Either way, the best I've ever managed on the X100P's was 1 ring
before Asterisk picks up and starts doing its thing.
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] X100P delayed ring on incoming calls?

2005-04-22 Thread bam




On Fri, 2005-04-22 at 10:45, Dave Cotton wrote:

On Fri, 2005-04-22 at 10:22 +0100, bam wrote:
 I have setup an asterisk box with 3off X100P cards and hooked them up
 to the PSTN. So far so good, everything does what it is supposed to do
 for the most part.
 
 Incoming calls seem to ring three or four times before asterisk then
 skips to do what it is supposed to do. If the caller drops the call
 before the extensions have started ringing asterisk seems not to pick
 this up and carries on regardless.
 
 Anyone got any ideas?

This sounds like the CallerID problem. * is trying to get the ID, but
the UK's method is different to the default, so it does not get an ID it
finally gives up and processes the call. Look for UKCaller ID settings
in the archives or Wiki. (I left the UK 12 years ago so I've never
looked at it).


What a hero, problem solved. ;-)

zapata.conf

usecallerid=no



___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [Asterisk-Users] X100P delayed ring on incoming calls?

2005-04-22 Thread Peter Corlett
Joseph Gutowski [EMAIL PROTECTED] wrote:
[...]
 Either way, the best I've ever managed on the X100P's was 1 ring
 before Asterisk picks up and starts doing its thing.

Well, when you think about it, it's hardly going to pick up after zero
rings, is it? :)

-- 
Beer is proof that God loves us and wants us to be happy.
- Benjamin Franklin
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] X100P delayed ring on incoming calls?

2005-04-22 Thread Gavin Hamill
On Friday 22 April 2005 12:07, Peter Corlett wrote:
 Joseph Gutowski [EMAIL PROTECTED] wrote:
 [...]

  Either way, the best I've ever managed on the X100P's was 1 ring
  before Asterisk picks up and starts doing its thing.

 Well, when you think about it, it's hardly going to pick up after zero
 rings, is it? :)

In the UK it's entirely possible - the CallerID info comes through as encoded 
data before the first ring has taken place :)

Polarity change, a burst of V23 data, then the normal rings 

Cheers,
Gavin.
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] X100P delayed ring on incoming calls?

2005-04-22 Thread Rich Adamson

 3-4 rings seems kind of long, I usually see 1.5-2 (enough to grab the
 caller ID here in the States).
 
 The only way I know of to speed it up is to turn off all of the
 features like distinctive ring detection, caller ID, etc. -- depending
 on your usage, that may help some. I haven't confirmed that this
 actually does anything myself, but it seems logical that Asterisk
 could pick up quicker if it wasn't waiting for caller ID. This is what
 people suggest if you Google the list.
 
 Either way, the best I've ever managed on the X100P's was 1 ring
 before Asterisk picks up and starts doing its thing.

Or, try immediate=yes in zapata.conf


___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] X100P delayed ring on incoming calls?

2005-04-22 Thread Adrian Chapman
Joseph Gutowski wrote:
The only way I know of to speed it up is to turn off all of the
features like distinctive ring detection, caller ID, etc. -- depending
on your usage, that may help some. I haven't confirmed that this
actually does anything myself, but it seems logical that Asterisk
could pick up quicker if it wasn't waiting for caller ID. This is what
people suggest if you Google the list.
Either way, the best I've ever managed on the X100P's was 1 ring
before Asterisk picks up and starts doing its thing.
We came across this exact problem in testing, and the more we thought 
about it, the more we realised it's actually a non-problem.

Think about it from the point of view of the person ringing. What do 
they hear, if there's that delay?

   ring ring
   ring ring
   ring ring
   Thank you for calling XYZ. Please press 1 for this, 2 for that
   hold music
   Hello, XYZ, Dave speaking, how can I help?
Now remove the ring ring - they've barely finished dialling before 
they're into the Thank you for calling. I don't know about you, but I 
tend to use the ringing time as a bit of an opportunity to get my 
brain in gear. It actually *throws* me slightly if I don't hear a ring 
or three.

If somebody's using an all-in-one type of phone, perhaps a landline with 
the buttons in the same physical bit you hold to your head, or a mobile, 
they'll probably miss the first ring or so as they move the phone from 
in front of them to their ear.

Which is better - they miss a ring ring or they miss the initial 
announcement and have to go through the IVR again, or just plain get a 
bit flustered? Don't forget - not all callers are us. A lot of people 
out there still have techno-fear with things as complex as telephones.

--
Adrian Chapman
Director
Trivas Ltd
Business on the Move
Mobility - Messaging - Infrastructure - Security - Remote Access
07796 690210 - 01582 626552
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] X100P delayed ring on incoming calls?

2005-04-22 Thread Peter Corlett
Gavin Hamill [EMAIL PROTECTED] wrote:
 On Friday 22 April 2005 12:07, Peter Corlett wrote:
[...]
 In the UK it's entirely possible - the CallerID info comes through
 as encoded data before the first ring has taken place :)
 Polarity change, a burst of V23 data, then the normal rings 

A good point, but I gather the X100P can't detect a line inversion, so
it's pretty much still got to wait until it sees loads of RICH, CHUNKY
VOLTS to know there's an incoming call.

-- 
PGP key ID E85DC776 - finger [EMAIL PROTECTED] for full key

Please contribute to the beer fund and a tidier house:
http://search.ebay.co.uk/_W0QQfgtpZ1QQfrppZ25QQsassZpndc
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] X100P delayed ring on incoming calls?

2005-04-22 Thread Joseph Gutowski
I wasn't suggesting Asterisk should magically be able to pick up the
call before it rings at all, just that if my old roommate could manage
to dive across the room and pick up half way through the first ring
99% of the time, surely a computer could do it (if it wasn't waiting
for caller ID or distinctive ring determination).

And the 1 ring wasn't constant -- sometimes it's one ring, sometimes
it's 3 -- with no apparent reason (test server with nothing to do
except answer one X100P and play an IVR menu).
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users