Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] UK FXO hangup detection with a twist


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
davies147 at gmail.com
Guest





PostPosted: Mon Mar 31, 2008 7:32 am    Post subject: [asterisk-users] UK FXO hangup detection with a twist Reply with quote

Hi,

The twist? We actually have far-end hangup detection working fine, and
that seems to be where the problem lies for most people. Our problem
seems to be with requesting a hangup from our end reliably.

If we originate the call, we can hang it up. This suggests to me that
the Sangoma A200D is sending the correct hangup signaling. This way
round, it is 100% reliable.

If we accept a call originated elsewhere, then we cannot hang it up.
Only the call originator seems to be able to do that. The upshot is
that if asterisk hangs-up a line, and then tries to re-use it for an
outbound call before the remote has disconnected, we are simply
re-connected to the original caller, and start to play DTMF at them!

Has anyone experienced this before? Anyone found a solution?

Thanks,
Steve
Back to top
asterisk-users at conr...
Guest





PostPosted: Mon Mar 31, 2008 8:33 am    Post subject: [asterisk-users] UK FXO hangup detection with a twist Reply with quote

Quote:
If we accept a call originated elsewhere, then we cannot hang it up.
Only the call originator seems to be able to do that. The upshot is
that if asterisk hangs-up a line, and then tries to re-use it for an
outbound call before the remote has disconnected, we are simply
re-connected to the original caller, and start to play DTMF at them!

Has anyone experienced this before? Anyone found a solution?

Yes I have seen that with many analogue lines in the UK. This behaviour
is somewhat 'by design' - it occurs even if you just use 2 plain old
telephones (and no asterisk).
I always forced it on-hook for (I think it was) 15 seconds before
attempting a new call on the same line, but I always had spare lines to
dial out on, so no real need to dig deeper into this Wink

Conrad
Back to top
mcdent at gmail.com
Guest





PostPosted: Mon Mar 31, 2008 9:50 am    Post subject: [asterisk-users] UK FXO hangup detection with a twist Reply with quote

On 31/03/2008, Steve Davies <davies147 at gmail.com> wrote:
Quote:

Hi,

The twist? We actually have far-end hangup detection working fine, and
that seems to be where the problem lies for most people. Our problem
seems to be with requesting a hangup from our end reliably.

If we originate the call, we can hang it up. This suggests to me that
the Sangoma A200D is sending the correct hangup signaling. This way
round, it is 100% reliable.

If we accept a call originated elsewhere, then we cannot hang it up.
Only the call originator seems to be able to do that. The upshot is
that if asterisk hangs-up a line, and then tries to re-use it for an
outbound call before the remote has disconnected, we are simply
re-connected to the original caller, and start to play DTMF at them!

Has anyone experienced this before? Anyone found a solution?

People regularly use this feature to answer a call, then decide they need to
run upstairs to speak etc, so they put
the receiver down, go upstairs (or wherever) and pick up the handset to
speak. It dates back many years and I should think is designed in to the
system in the UK. Not sure on modern exchanges how long it would take for
the
line to clear.

Mike


Thanks,
Quote:
Steve

_______________________________________________
-- 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080331/ef1bfa80/attachment.htm
Back to top
davies147 at gmail.com
Guest





PostPosted: Mon Mar 31, 2008 10:25 am    Post subject: [asterisk-users] UK FXO hangup detection with a twist Reply with quote

On 31/03/2008, Mike Dent <mcdent at gmail.com> wrote:
Quote:

On 31/03/2008, Steve Davies <davies147 at gmail.com> wrote:
Quote:

The twist? We actually have far-end hangup detection working fine, and
that seems to be where the problem lies for most people. Our problem
seems to be with requesting a hangup from our end reliably.

If we originate the call, we can hang it up. This suggests to me that
the Sangoma A200D is sending the correct hangup signaling. This way
round, it is 100% reliable.

If we accept a call originated elsewhere, then we cannot hang it up.
Only the call originator seems to be able to do that. The upshot is
that if asterisk hangs-up a line, and then tries to re-use it for an
outbound call before the remote has disconnected, we are simply
re-connected to the original caller, and start to play DTMF at them!

Has anyone experienced this before? Anyone found a solution?


People regularly use this feature to answer a call, then decide they need to
run upstairs to speak etc, so they put
the receiver down, go upstairs (or wherever) and pick up the handset to
speak. It dates back many years and I should think is designed in to the
system in the UK. Not sure on modern exchanges how long it would take for
the
line to clear.


I do the same myself, but for PABX use, that feature must be fatal!
The line clearing time is long... I waited a couple of minutes at
least. Is it possible to turn it off (call BT and ask for a certain
feature to be enabled/disabled) or to shorten the line-clearing time
to zero? Or perhaps Asterisk is able to detect the line state or the
dialtone and act correctly to avoid re-using an open channel.

In fact, the "obvious" way to do this might be if Asterisk could set
the channel state to "hanging up" and wait for the far end signal
(loop disconnect) that the line has actually been disconnected.

This is a bit of Zaptel that I've never looked at, so I have no clue
if what I am suggesting is even slightly possible.

Steve
Back to top
dboyd at ignitetrx.com
Guest





PostPosted: Mon Mar 31, 2008 10:43 am    Post subject: [asterisk-users] UK FXO hangup detection with a twist Reply with quote

On Mon, 2008-03-31 at 16:25 +0100, Steve Davies wrote:
Quote:
On 31/03/2008, Mike Dent <mcdent at gmail.com> wrote:
Quote:

On 31/03/2008, Steve Davies <davies147 at gmail.com> wrote:
Quote:

The twist? We actually have far-end hangup detection working fine, and
that seems to be where the problem lies for most people. Our problem
seems to be with requesting a hangup from our end reliably.

If we originate the call, we can hang it up. This suggests to me that
the Sangoma A200D is sending the correct hangup signaling. This way
round, it is 100% reliable.

If we accept a call originated elsewhere, then we cannot hang it up.
Only the call originator seems to be able to do that. The upshot is
that if asterisk hangs-up a line, and then tries to re-use it for an
outbound call before the remote has disconnected, we are simply
re-connected to the original caller, and start to play DTMF at them!

Has anyone experienced this before? Anyone found a solution?


People regularly use this feature to answer a call, then decide they need to
run upstairs to speak etc, so they put
the receiver down, go upstairs (or wherever) and pick up the handset to
speak. It dates back many years and I should think is designed in to the
system in the UK. Not sure on modern exchanges how long it would take for
the
line to clear.


I do the same myself, but for PABX use, that feature must be fatal!
The line clearing time is long... I waited a couple of minutes at
least. Is it possible to turn it off (call BT and ask for a certain
feature to be enabled/disabled) or to shorten the line-clearing time
to zero? Or perhaps Asterisk is able to detect the line state or the
dialtone and act correctly to avoid re-using an open channel.

In fact, the "obvious" way to do this might be if Asterisk could set
the channel state to "hanging up" and wait for the far end signal
(loop disconnect) that the line has actually been disconnected.

This is a bit of Zaptel that I've never looked at, so I have no clue
if what I am suggesting is even slightly possible.

Steve

_______________________________________________
-- 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

You should ask for ground start signaling. This will resolve your
issues.

Dave
Back to top
davies147 at gmail.com
Guest





PostPosted: Mon Mar 31, 2008 11:02 am    Post subject: [asterisk-users] UK FXO hangup detection with a twist Reply with quote

On 31/03/2008, David Boyd <dboyd at ignitetrx.com> wrote:
Quote:

You should ask for ground start signaling. This will resolve your
issues.


Could you point me at some reference material for how this differs
from KS, and what compatibility issues this might cause with other
equipment? Has anyone tried this in the UK? Would BT even understand
the request for ground-start signalling?

I wonder if it is even possible with telco's other than BT in the
UK... I can just imagine calling Virgin Media and asking for the line
to be set to ground-start signalling... Smile

Any feedback welcomed.
Steve
Back to top
gordon+asterisk at dro...
Guest





PostPosted: Mon Mar 31, 2008 12:04 pm    Post subject: [asterisk-users] UK FXO hangup detection with a twist Reply with quote

On Mon, 31 Mar 2008, Steve Davies wrote:

Quote:
On 31/03/2008, David Boyd <dboyd at ignitetrx.com> wrote:
Quote:

You should ask for ground start signaling. This will resolve your
issues.


Could you point me at some reference material for how this differs
from KS, and what compatibility issues this might cause with other
equipment? Has anyone tried this in the UK? Would BT even understand
the request for ground-start signalling?

I wonder if it is even possible with telco's other than BT in the
UK... I can just imagine calling Virgin Media and asking for the line
to be set to ground-start signalling... Smile

Any feedback welcomed.

AIUI: You request BT to set the Disconnect Clear Time on the circuit to
whatever your PBX requires - 800mS is a usual figure...

Taken from another list, or even archives of this one, or somewhere
else....

A google of this reveals:

http://www.voipuser.org/forum_topic_7470.html

and others...

Good luck!

Gordon
Back to top
Guest






PostPosted: Tue Apr 01, 2008 2:18 pm    Post subject: [asterisk-users] UK FXO hangup detection with a twist Reply with quote

Steve Davies wrote:
Quote:
Could you point me at some reference material for how this differs
from KS, and what compatibility issues this might cause with other
equipment? Has anyone tried this in the UK? Would BT even understand
the request for ground-start signalling?

KS (Kewl Start) simply lets asterisk/zaptel autodetect whether LoopStart
or GroundStart is in use, so you don't have to muck with your configs as
much. It's *not* something provided by the telco.

Moj
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services