Re: [asterisk-users] Hang up detection with TDM400P and Telewest/Virgin Media line

2008-11-03 Thread Ed W
robb wrote:
 I have a TDM400 working quite well, Digium dialled in and recompiled  
 chan_zap with some changes , to get BT Callerid working and  I have
 set hangup on polarity in the zaptel.conf which seems to work well

 this is a BT home line, not business, if you have a business line you
 should get the DCT set to 800ms and the disconnect clear should work


Would you be kind enough to share the changes you made to get callerID
working please?  Any chance of posting the relevant bits of your zap
config also?

My situation is that I have callerid working most of the time on a home
BT line.  Hangup is fairly reliably detected.  TDM400P

However, at a customers site on a bunch of business BT lines and the
same model of TDM400P we see unreliable hangups (not frequent, but
occasional times that lines are getting stuck off hook). Also callerId
is working about 50-60% of the time and when it doesn't work (or
genuinely that the callerId is witheld) there is a long pause for about
2-3 rings before Asterisk answers the zap line.  It would be desirable
to limit this pause because it makes it look like they are being slow to
answer all the calls!

Just wondering what changes you made?

Also, anyone understand why DCT is different between home and business
lines?  Can the Zap code be changed to avoid needing something tweaking
on the exchange?

Thanks

Ed W
___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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

Re: [asterisk-users] Hang up detection with TDM400P and Telewest/Virgin Media line

2008-10-14 Thread Gordon Henderson
On Mon, 13 Oct 2008, Mike wrote:

 On Sun, Oct 12, 2008 at 11:18:40AM +0100, Gordon Henderson wrote:
 On Thu, 9 Oct 2008, Mike wrote:

 I'm guessing this lamp is on an ordinary analogue phone you have?


 Yeah, this is a bog standard 9 quid analogue phone.


 OK. A bit convoluted this as I'm not local to the PBX, but an IAX trunk,
 another asterisk and a SIP phone away from it - however I'm looking at
 verbose console output on the original asterisk box which has an OpenVox
 card (TDM400 clone) so:

 Telewest line - TDM - Asterisk - IAX trunk - Asterisk - SIP phone

 I call into the site on their Telewest landline from my mobile (O2). My
 phone rings, which is to be expected.

 I don't answer it, but hangup my mobile.

 I can't tell if telewest have dropped the line immediately, but from
 asterisk point of view, the line stays open for about another 2-3
 seconds, then hangs up and asterisk detects it and stops the phone
 ringing. As far as I can tell, this is all perfectly normal, and it's what
 I see with BT lines too.

 If I answer it, that's fine too.

 If I then hangup the mobile, the (analogue) line hangs up almost
 immediately, this is detected almost immediately by asterisk and it clears
 down the call.

 So that's more or less what I'm expecting.

 Going the other way: Dialled out from my SIP phone to my mobile - when I
 hungup the mobile the call dropped almost instantly and my SIP phone
 hungup.

 So again, that's more or less what I expect.


 Thanks for doing that.  Do you mind showing me your zapata.conf?


/etc/zaptel.conf (just for completeness):

   fxsks=3
   fxsks=4
   loadzone=uk
   defaultzone=uk

zapata.conf:

   [trunkgroups]

   [channels]

   ; Default settings applicable to all channels

   usecallerid=yes
   cidsignalling=v23
   cidstart=polarity
   hidecallerid=no
   callwaiting=no
   threewaycalling=yes
   transfer=yes
   echocancel=256
   ;echocancel=yes
   ;echotraining=yes
   echocancelwhenbridged=no
   immediate=no
   faxdetect=no

   ; Channel 3: PSTN line
   context=incoming
   group=1
   usecallerid=no
   faxdetect=none
   signalling=fxs_ks
   rxgain=4
   txgain=4
   callerid=asreceived
   channel = 3

   ; Channel 4: PSTN line
   context=incoming
   group=1
   usecallerid=no
   faxdetect=none
   signalling=fxs_ks
   rxgain=4
   txgain=4
   callerid=asreceived
   channel = 4


 I've heard that Telewest used whatever switch they could get their hands
 on at the time when they were building their network, and that different
 regions might well have different equipment in the TW exchanges. More
 complicated by them buying up the local cable co's (eg. Eurobell in the
 Plymouth area where this line is), then being sucked into the ntl: monster
 and now virgin media.

 Yeah, I gather all the many, small telcos doing cable all eventually
 merged together.  I'm trying to get hold of a Telewest engineer to find
 out what is going on.  Naturally this is proving challenging...

Again, good luck - you might need it after the last round of 
renaming/merging from TW to ntl: and now Virgin Media..

Gordon

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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


Re: [asterisk-users] Hang up detection with TDM400P and Telewest/Virgin Media line

2008-10-13 Thread Mike
On Sun, Oct 12, 2008 at 11:18:40AM +0100, Gordon Henderson wrote:
 On Thu, 9 Oct 2008, Mike wrote:
 
 I'm guessing this lamp is on an ordinary analogue phone you have?


Yeah, this is a bog standard 9 quid analogue phone.

 
 OK. A bit convoluted this as I'm not local to the PBX, but an IAX trunk, 
 another asterisk and a SIP phone away from it - however I'm looking at 
 verbose console output on the original asterisk box which has an OpenVox 
 card (TDM400 clone) so:
 
 Telewest line - TDM - Asterisk - IAX trunk - Asterisk - SIP phone
 
 I call into the site on their Telewest landline from my mobile (O2). My 
 phone rings, which is to be expected.
 
 I don't answer it, but hangup my mobile.
 
 I can't tell if telewest have dropped the line immediately, but from 
 asterisk point of view, the line stays open for about another 2-3 
 seconds, then hangs up and asterisk detects it and stops the phone 
 ringing. As far as I can tell, this is all perfectly normal, and it's what 
 I see with BT lines too.
 
 If I answer it, that's fine too.
 
 If I then hangup the mobile, the (analogue) line hangs up almost 
 immediately, this is detected almost immediately by asterisk and it clears 
 down the call.
 
 So that's more or less what I'm expecting.
 
 Going the other way: Dialled out from my SIP phone to my mobile - when I 
 hungup the mobile the call dropped almost instantly and my SIP phone 
 hungup.
 
 So again, that's more or less what I expect.


Thanks for doing that.  Do you mind showing me your zapata.conf?

 
 I've heard that Telewest used whatever switch they could get their hands 
 on at the time when they were building their network, and that different 
 regions might well have different equipment in the TW exchanges. More 
 complicated by them buying up the local cable co's (eg. Eurobell in the 
 Plymouth area where this line is), then being sucked into the ntl: monster 
 and now virgin media.


Yeah, I gather all the many, small telcos doing cable all eventually
merged together.  I'm trying to get hold of a Telewest engineer to find
out what is going on.  Naturally this is proving challenging...

  I'm trying to work out what to expect from the line and see if that is
  consistent with what I am seeing.  Once I know what the phone line is
  meant to do, then I can work out if it is doing and what I can do with
  Asterisk to accomodate it.
 
 Good luck!
 
 Gordon


Mike.

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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


Re: [asterisk-users] Hang up detection with TDM400P and Telewest/Virgin Media line

2008-10-12 Thread Gordon Henderson
On Thu, 9 Oct 2008, Mike wrote:

 Zaptel Version: 1.2.11

 Asterisk 1.2.13

 I called my mobile from the line and hung up.  The line just went
 silent.  There were no tones.  I also watched the lamp on the phone, it
 didn't got out.  I guess this could be because the line current isn't
 dropped or maybe because of capacitance in the phone?

 I tried this on my BT line and when I clear down, the lamp on the phone
 goes off momentarilly and then I get a single, continuous tone.

I'm guessing this lamp is on an ordinary analogue phone you have?

 Gordon, would you mind doing this test on your line to see what happens?

OK. A bit convoluted this as I'm not local to the PBX, but an IAX trunk, 
another asterisk and a SIP phone away from it - however I'm looking at 
verbose console output on the original asterisk box which has an OpenVox 
card (TDM400 clone) so:

Telewest line - TDM - Asterisk - IAX trunk - Asterisk - SIP phone

I call into the site on their Telewest landline from my mobile (O2). My 
phone rings, which is to be expected.

I don't answer it, but hangup my mobile.

I can't tell if telewest have dropped the line immediately, but from 
asterisk point of view, the line stays open for about another 2-3 
seconds, then hangs up and asterisk detects it and stops the phone 
ringing. As far as I can tell, this is all perfectly normal, and it's what 
I see with BT lines too.

If I answer it, that's fine too.

If I then hangup the mobile, the (analogue) line hangs up almost 
immediately, this is detected almost immediately by asterisk and it clears 
down the call.

So that's more or less what I'm expecting.

Going the other way: Dialled out from my SIP phone to my mobile - when I 
hungup the mobile the call dropped almost instantly and my SIP phone 
hungup.

So again, that's more or less what I expect.

 If not, I'll try to get hold of someone with a Telewest phone and get
 them to try it.

I've heard that Telewest used whatever switch they could get their hands 
on at the time when they were building their network, and that different 
regions might well have different equipment in the TW exchanges. More 
complicated by them buying up the local cable co's (eg. Eurobell in the 
Plymouth area where this line is), then being sucked into the ntl: monster 
and now virgin media.

 I'm trying to work out what to expect from the line and see if that is
 consistent with what I am seeing.  Once I know what the phone line is
 meant to do, then I can work out if it is doing and what I can do with
 Asterisk to accomodate it.

Good luck!

Gordon

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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


Re: [asterisk-users] Hang up detection with TDM400P and Telewest/Virgin Media line

2008-10-10 Thread Gordon Henderson
On Thu, 9 Oct 2008, Mike wrote:

 On Fri, Oct 10, 2008 at 08:10:39AM +1930, Luis Morales wrote:
 Mike,

 Can you tell us :

 - asterisk version
 - zaptel version

 When you call over this line, when you hangup did you hear an busy
 tone ? or any class tone ? To do this test connect your lines to
 analog phone and make a call. Let's us know the results.

 Regards,

 Luis Morales

 Zaptel Version: 1.2.11

 Asterisk 1.2.13

 I called my mobile from the line and hung up.  The line just went
 silent.  There were no tones.  I also watched the lamp on the phone, it
 didn't got out.  I guess this could be because the line current isn't
 dropped or maybe because of capacitance in the phone?

Best way is to watch via the CLI - set verbose 3 and watch what happens.

 I tried this on my BT line and when I clear down, the lamp on the phone
 goes off momentarilly and then I get a single, continuous tone.

 Gordon, would you mind doing this test on your line to see what happens?

I'll do it tonight (or probably tomorow) - both sites are live  running 
today and I'll need to do it via a remote IAX phone as I'm not driving to 
each site to do the test.

Gordon

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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


Re: [asterisk-users] Hang up detection with TDM400P and Telewest/Virgin Media line

2008-10-09 Thread Luis Morales
Mike,

Can you tell us :

- asterisk version
- zaptel version

When you call over this line, when you hangup did you hear an busy
tone ? or any class tone ? To do this test connect your lines to
analog phone and make a call. Let's us know the results.

Regards,

Luis Morales

On Fri, Oct 10, 2008 at 4:48 AM, Mike [EMAIL PROTECTED] wrote:
 Folks,

 I've seen a few reports that people have had problems with hang up
 detection on UK cable phone lines.  I have a TDM400P with two FXO ports,
 one connected to my BT line and the other connected to my
 Telewest/Virgin Media cable line.  If I ring the BT line and then clear
 down, Asterisk detects this and acts accordingly.  If I ring the
 Telewest line, the clear down is not detected, hence Asterisk continues
 to ring extentions, record voicemail, etc.

 I've seen a few posts reporting this issue with the UK cable system but
 these are generally not resolved.

 Has anyone sucessfully configured a UK Telewest line with Astersik?
 Does anyone know how Telewest signals that the remote caller has cleared
 down?

 On the same topic, how does BT signal remote clear down?

 I have plugged a phone into the Telewest line and it doesn't appear to
 receive a tone on clear down, nor does it appear to drop power on the
 line.  Just in case, I changed the DCT in zaptel.h from 500ms to 100ms and
 recompiled, however, this did not resolve the issue.

 I'm working blind at the moment as I cannot find anything which
 documents what to expect the Telewest line to do to signal a remote
 clear down occured.  I've played around with the kewlstart and
 loop-start setting but without knowing what the line is going to do,
 it's difficult to know how to configure Asterisk.

 Does anyone have any experience of Telewest?

 Thanks,
 Mike.

 ___
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --

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




-- 
-
Luis Morales
Consultor de Tecnologia
Cel: +(58)416-4242091
-
Empieza por hacer lo necesario, luego lo que es posible... y de
pronto estarás haciendo lo imposible

Leonardo Da'Vinci
-

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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


Re: [asterisk-users] Hang up detection with TDM400P and Telewest/Virgin Media line

2008-10-09 Thread Gordon Henderson
On Thu, 9 Oct 2008, Mike wrote:

 Folks,

 I've seen a few reports that people have had problems with hang up
 detection on UK cable phone lines.  I have a TDM400P with two FXO ports,
 one connected to my BT line and the other connected to my
 Telewest/Virgin Media cable line.  If I ring the BT line and then clear
 down, Asterisk detects this and acts accordingly.  If I ring the
 Telewest line, the clear down is not detected, hence Asterisk continues
 to ring extentions, record voicemail, etc.

 I've seen a few posts reporting this issue with the UK cable system but
 these are generally not resolved.

 Has anyone sucessfully configured a UK Telewest line with Astersik?
 Does anyone know how Telewest signals that the remote caller has cleared
 down?

I did an instalaltion yesterday with 2 Teleworst lines.

When I was calling in on my mobile, then hanging up, it seemed to work ok 
- it did keep the line open for a few seconds, but I see that with BT too.

 On the same topic, how does BT signal remote clear down?

Dunno...

 I have plugged a phone into the Telewest line and it doesn't appear to
 receive a tone on clear down, nor does it appear to drop power on the
 line.  Just in case, I changed the DCT in zaptel.h from 500ms to 100ms and
 recompiled, however, this did not resolve the issue.

I'm using asterisk 1.2.30, Zaptel 1.2.24. Oslec and an OpenVox card.

 I'm working blind at the moment as I cannot find anything which
 documents what to expect the Telewest line to do to signal a remote
 clear down occured.  I've played around with the kewlstart and
 loop-start setting but without knowing what the line is going to do,
 it's difficult to know how to configure Asterisk.

 Does anyone have any experience of Telewest?

Only 2 sites and they both seem to work OK - One in Bristol the other in 
Plymouth.

Can't get caller ID to work though )-:

Zaptel.conf:

fxsks=3
fxsks=4
loadzone=uk
defaultzone=uk


zapata.conf:

usecallerid=yes
cidsignalling=v23
cidstart=polarity
hidecallerid=no
callwaiting=no
threewaycalling=yes
transfer=yes
echocancel=256
;echocancel=yes
;echotraining=yes
echocancelwhenbridged=no
immediate=no
faxdetect=no


; Channel 3: PSTN line
context=incoming
group=1
usecallerid=no
faxdetect=none
signalling=fxs_ks
rxgain=4
txgain=4
callerid=asreceived
channel = 3

; Channel 4: PSTN line
context=incoming
group=1
usecallerid=no
faxdetect=none
signalling=fxs_ks
rxgain=4
txgain=4
callerid=asreceived
channel = 4


Gordon

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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


Re: [asterisk-users] Hang up detection with TDM400P and Telewest/Virgin Media line

2008-10-09 Thread Luis Morales
Ok!!

Do this finale test.

call fron analog lines to any number, wait until the called hang up.
Now tell us the signal tone. If the signal is busy ? or any thing
else

Your set up look ok. Now try with this options into zapata.conf header:


zapata.conf:
usecallerid=yes
hidecallerid=no
callwaiting=no
threewaycalling=yes
transfer=yes
echocancelwhenbridged=no
immediate=no
faxdetect=no
busydetect=yes
busycount=4

On Fri, Oct 10, 2008 at 11:42 AM, Gordon Henderson
[EMAIL PROTECTED] wrote:
 On Thu, 9 Oct 2008, Mike wrote:

 Folks,

 I've seen a few reports that people have had problems with hang up
 detection on UK cable phone lines.  I have a TDM400P with two FXO ports,
 one connected to my BT line and the other connected to my
 Telewest/Virgin Media cable line.  If I ring the BT line and then clear
 down, Asterisk detects this and acts accordingly.  If I ring the
 Telewest line, the clear down is not detected, hence Asterisk continues
 to ring extentions, record voicemail, etc.

 I've seen a few posts reporting this issue with the UK cable system but
 these are generally not resolved.

 Has anyone sucessfully configured a UK Telewest line with Astersik?
 Does anyone know how Telewest signals that the remote caller has cleared
 down?

 I did an instalaltion yesterday with 2 Teleworst lines.

 When I was calling in on my mobile, then hanging up, it seemed to work ok
 - it did keep the line open for a few seconds, but I see that with BT too.

 On the same topic, how does BT signal remote clear down?

 Dunno...

 I have plugged a phone into the Telewest line and it doesn't appear to
 receive a tone on clear down, nor does it appear to drop power on the
 line.  Just in case, I changed the DCT in zaptel.h from 500ms to 100ms and
 recompiled, however, this did not resolve the issue.

 I'm using asterisk 1.2.30, Zaptel 1.2.24. Oslec and an OpenVox card.

 I'm working blind at the moment as I cannot find anything which
 documents what to expect the Telewest line to do to signal a remote
 clear down occured.  I've played around with the kewlstart and
 loop-start setting but without knowing what the line is going to do,
 it's difficult to know how to configure Asterisk.

 Does anyone have any experience of Telewest?

 Only 2 sites and they both seem to work OK - One in Bristol the other in
 Plymouth.

 Can't get caller ID to work though )-:

 Zaptel.conf:

 fxsks=3
 fxsks=4
 loadzone=uk
 defaultzone=uk


 zapata.conf:

 usecallerid=yes
 cidsignalling=v23
 cidstart=polarity
 hidecallerid=no
 callwaiting=no
 threewaycalling=yes
 transfer=yes
 echocancel=256
 ;echocancel=yes
 ;echotraining=yes
 echocancelwhenbridged=no
 immediate=no
 faxdetect=no


 ; Channel 3: PSTN line
 context=incoming
 group=1
 usecallerid=no
 faxdetect=none
 signalling=fxs_ks
 rxgain=4
 txgain=4
 callerid=asreceived
 channel = 3

 ; Channel 4: PSTN line
 context=incoming
 group=1
 usecallerid=no
 faxdetect=none
 signalling=fxs_ks
 rxgain=4
 txgain=4
 callerid=asreceived
 channel = 4


 Gordon

 ___
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --

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




-- 
-
Luis Morales
Consultor de Tecnologia
Cel: +(58)416-4242091
-
Empieza por hacer lo necesario, luego lo que es posible... y de
pronto estarás haciendo lo imposible

Leonardo Da'Vinci
-

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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


Re: [asterisk-users] Hang up detection with TDM400P and Telewest/Virgin Media line

2008-10-09 Thread Gordon Henderson

On Fri, 10 Oct 2008, Luis Morales wrote:


Ok!!

Do this finale test.


Who, me or the OP (Mike). My setup works OK and I've no intention of doing 
tests, final or otherwise, thanks.


Gordon



call fron analog lines to any number, wait until the called hang up.
Now tell us the signal tone. If the signal is busy ? or any thing
else

Your set up look ok. Now try with this options into zapata.conf header:


zapata.conf:
usecallerid=yes
hidecallerid=no
callwaiting=no
threewaycalling=yes
transfer=yes
echocancelwhenbridged=no
immediate=no
faxdetect=no
busydetect=yes
busycount=4

On Fri, Oct 10, 2008 at 11:42 AM, Gordon Henderson
[EMAIL PROTECTED] wrote:

On Thu, 9 Oct 2008, Mike wrote:


Folks,

I've seen a few reports that people have had problems with hang up
detection on UK cable phone lines.  I have a TDM400P with two FXO ports,
one connected to my BT line and the other connected to my
Telewest/Virgin Media cable line.  If I ring the BT line and then clear
down, Asterisk detects this and acts accordingly.  If I ring the
Telewest line, the clear down is not detected, hence Asterisk continues
to ring extentions, record voicemail, etc.

I've seen a few posts reporting this issue with the UK cable system but
these are generally not resolved.

Has anyone sucessfully configured a UK Telewest line with Astersik?
Does anyone know how Telewest signals that the remote caller has cleared
down?


I did an instalaltion yesterday with 2 Teleworst lines.

When I was calling in on my mobile, then hanging up, it seemed to work ok
- it did keep the line open for a few seconds, but I see that with BT too.


On the same topic, how does BT signal remote clear down?


Dunno...


I have plugged a phone into the Telewest line and it doesn't appear to
receive a tone on clear down, nor does it appear to drop power on the
line.  Just in case, I changed the DCT in zaptel.h from 500ms to 100ms and
recompiled, however, this did not resolve the issue.


I'm using asterisk 1.2.30, Zaptel 1.2.24. Oslec and an OpenVox card.


I'm working blind at the moment as I cannot find anything which
documents what to expect the Telewest line to do to signal a remote
clear down occured.  I've played around with the kewlstart and
loop-start setting but without knowing what the line is going to do,
it's difficult to know how to configure Asterisk.

Does anyone have any experience of Telewest?


Only 2 sites and they both seem to work OK - One in Bristol the other in
Plymouth.

Can't get caller ID to work though )-:

Zaptel.conf:

fxsks=3
fxsks=4
loadzone=uk
defaultzone=uk


zapata.conf:

usecallerid=yes
cidsignalling=v23
cidstart=polarity
hidecallerid=no
callwaiting=no
threewaycalling=yes
transfer=yes
echocancel=256
;echocancel=yes
;echotraining=yes
echocancelwhenbridged=no
immediate=no
faxdetect=no


; Channel 3: PSTN line
context=incoming
group=1
usecallerid=no
faxdetect=none
signalling=fxs_ks
rxgain=4
txgain=4
callerid=asreceived
channel = 3

; Channel 4: PSTN line
context=incoming
group=1
usecallerid=no
faxdetect=none
signalling=fxs_ks
rxgain=4
txgain=4
callerid=asreceived
channel = 4


Gordon

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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





--
-
Luis Morales
Consultor de Tecnologia
Cel: +(58)416-4242091
-
Empieza por hacer lo necesario, luego lo que es posible... y de
pronto estarás haciendo lo imposible

Leonardo Da'Vinci
-

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users
___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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

Re: [asterisk-users] Hang up detection with TDM400P and Telewest/Virgin Media line

2008-10-09 Thread robb
I have a TDM400 working quite well, Digium dialled in and recompiled   
chan_zap with some changes , to get BT Callerid working and  I have set 
hangup on polarity in the zaptel.conf which seems to work well


this is a BT home line, not business, if you have a business line you 
should get the DCT set to 800ms and the disconnect clear should work


Robb

Gordon Henderson wrote:

On Fri, 10 Oct 2008, Luis Morales wrote:


Ok!!

Do this finale test.


Who, me or the OP (Mike). My setup works OK and I've no intention of 
doing tests, final or otherwise, thanks.


Gordon



call fron analog lines to any number, wait until the called hang up.
Now tell us the signal tone. If the signal is busy ? or any thing
else

Your set up look ok. Now try with this options into zapata.conf header:


zapata.conf:
usecallerid=yes
hidecallerid=no
callwaiting=no
threewaycalling=yes
transfer=yes
echocancelwhenbridged=no
immediate=no
faxdetect=no
busydetect=yes
busycount=4

On Fri, Oct 10, 2008 at 11:42 AM, Gordon Henderson
[EMAIL PROTECTED] wrote:

On Thu, 9 Oct 2008, Mike wrote:


Folks,

I've seen a few reports that people have had problems with hang up
detection on UK cable phone lines.  I have a TDM400P with two FXO 
ports,

one connected to my BT line and the other connected to my
Telewest/Virgin Media cable line.  If I ring the BT line and then 
clear

down, Asterisk detects this and acts accordingly.  If I ring the
Telewest line, the clear down is not detected, hence Asterisk 
continues

to ring extentions, record voicemail, etc.

I've seen a few posts reporting this issue with the UK cable system 
but

these are generally not resolved.

Has anyone sucessfully configured a UK Telewest line with Astersik?
Does anyone know how Telewest signals that the remote caller has 
cleared

down?


I did an instalaltion yesterday with 2 Teleworst lines.

When I was calling in on my mobile, then hanging up, it seemed to 
work ok
- it did keep the line open for a few seconds, but I see that with 
BT too.



On the same topic, how does BT signal remote clear down?


Dunno...


I have plugged a phone into the Telewest line and it doesn't appear to
receive a tone on clear down, nor does it appear to drop power on the
line.  Just in case, I changed the DCT in zaptel.h from 500ms to 
100ms and

recompiled, however, this did not resolve the issue.


I'm using asterisk 1.2.30, Zaptel 1.2.24. Oslec and an OpenVox card.


I'm working blind at the moment as I cannot find anything which
documents what to expect the Telewest line to do to signal a remote
clear down occured.  I've played around with the kewlstart and
loop-start setting but without knowing what the line is going to do,
it's difficult to know how to configure Asterisk.

Does anyone have any experience of Telewest?


Only 2 sites and they both seem to work OK - One in Bristol the 
other in

Plymouth.

Can't get caller ID to work though )-:

Zaptel.conf:

fxsks=3
fxsks=4
loadzone=uk
defaultzone=uk


zapata.conf:

usecallerid=yes
cidsignalling=v23
cidstart=polarity
hidecallerid=no
callwaiting=no
threewaycalling=yes
transfer=yes
echocancel=256
;echocancel=yes
;echotraining=yes
echocancelwhenbridged=no
immediate=no
faxdetect=no


; Channel 3: PSTN line
context=incoming
group=1
usecallerid=no
faxdetect=none
signalling=fxs_ks
rxgain=4
txgain=4
callerid=asreceived
channel = 3

; Channel 4: PSTN line
context=incoming
group=1
usecallerid=no
faxdetect=none
signalling=fxs_ks
rxgain=4
txgain=4
callerid=asreceived
channel = 4


Gordon

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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





--
- 


Luis Morales
Consultor de Tecnologia
Cel: +(58)416-4242091
- 


Empieza por hacer lo necesario, luego lo que es posible... y de
pronto estarás haciendo lo imposible

Leonardo Da'Vinci
- 



___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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




___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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


___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   

Re: [asterisk-users] Hang up detection with TDM400P and Telewest/Virgin Media line

2008-10-09 Thread Mike
On Fri, Oct 10, 2008 at 08:10:39AM +1930, Luis Morales wrote:
 Mike,
 
 Can you tell us :
 
 - asterisk version
 - zaptel version
 
 When you call over this line, when you hangup did you hear an busy
 tone ? or any class tone ? To do this test connect your lines to
 analog phone and make a call. Let's us know the results.
 
 Regards,
 
 Luis Morales

Zaptel Version: 1.2.11

Asterisk 1.2.13

I called my mobile from the line and hung up.  The line just went
silent.  There were no tones.  I also watched the lamp on the phone, it
didn't got out.  I guess this could be because the line current isn't
dropped or maybe because of capacitance in the phone?

I tried this on my BT line and when I clear down, the lamp on the phone
goes off momentarilly and then I get a single, continuous tone.

Gordon, would you mind doing this test on your line to see what happens?

If not, I'll try to get hold of someone with a Telewest phone and get
them to try it.

I'm trying to work out what to expect from the line and see if that is
consistent with what I am seeing.  Once I know what the phone line is
meant to do, then I can work out if it is doing and what I can do with
Asterisk to accomodate it.

Mike.

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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


Re: [asterisk-users] Hang up detection with TDM400P and Telewest/Virgin Media line

2008-10-09 Thread Luis Morales
Well,

Your case it's not easy. Try  with ringtimeout=8000 (zapata.conf)
option. So it's very strange no signal on hang up. I have an question
for your test. Did you hang up first in your mobile and listen on the
phone for the signal ?

There are other option to play such as:
- hanguppolarityswitch = yes (zapata.conf)


Another question, to connect analog line to digium card you make the
rj-11 connect ? there is an posibility that you have incorrect pin
out.


Regards,

Luis Morales

On Fri, Oct 10, 2008 at 5:10 PM, Mike [EMAIL PROTECTED] wrote:
 On Fri, Oct 10, 2008 at 08:10:39AM +1930, Luis Morales wrote:
 Mike,

 Can you tell us :

 - asterisk version
 - zaptel version

 When you call over this line, when you hangup did you hear an busy
 tone ? or any class tone ? To do this test connect your lines to
 analog phone and make a call. Let's us know the results.

 Regards,

 Luis Morales

 Zaptel Version: 1.2.11

 Asterisk 1.2.13

 I called my mobile from the line and hung up.  The line just went
 silent.  There were no tones.  I also watched the lamp on the phone, it
 didn't got out.  I guess this could be because the line current isn't
 dropped or maybe because of capacitance in the phone?

 I tried this on my BT line and when I clear down, the lamp on the phone
 goes off momentarilly and then I get a single, continuous tone.

 Gordon, would you mind doing this test on your line to see what happens?

 If not, I'll try to get hold of someone with a Telewest phone and get
 them to try it.

 I'm trying to work out what to expect from the line and see if that is
 consistent with what I am seeing.  Once I know what the phone line is
 meant to do, then I can work out if it is doing and what I can do with
 Asterisk to accomodate it.

 Mike.

 ___
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --

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




-- 
-
Luis Morales
Consultor de Tecnologia
Cel: +(58)416-4242091
-
Empieza por hacer lo necesario, luego lo que es posible... y de
pronto estarás haciendo lo imposible

Leonardo Da'Vinci
-

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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