Re: [asterisk-users] Hangup()-command does not hang up the line

2009-05-12 Thread Gordon Henderson
On Tue, 12 May 2009, jonas kellens wrote:

> When I call my Asterisk-server from my cell phone on one of the
> PSTN-numbers that terminate in a FXO-module on my TDM410P Digium card,
> and in the dialplan the end of a context is reached and Asterisk needs
> to execute the Hangup()-command, I notice the following :
>
> - Asterisk tells me that the conversation was hung up (the log files
> tell me the command was executed)
> - On my cell phone I hear silence, no special tone on the line that
> tells me the call was terminated by Asterisk, AND time keeps on counting
> on my cell phone as if the duration of the conversation continues.

Replace the Asterisk box with a standard analogue phone and see what 
happens.

I suspect you'll see the same.

It happens in the UK too. The line will eventually clear, but it may take 
some time.

I used to use it to "transfer" a call - ie. just put the phone back 
on-hook, then go to another phone and lift it...

And you'll see it on old films where the bad guy phones a house and loads 
up the payphone with lots of money to stop the house being able to hang up 
the call and dial 999 ...

Some exchanges do seem to clear the call much quicker now, but I think 
it's pot-luck, depending on the exchange and maybe hardware/software they 
have...

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] Hangup()-command does not hang up the line

2009-05-12 Thread Danny Nicholas
I would try hanguponpolarityswitch=yes in my dadhi.conf.

 

 

  _  

From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of jonas kellens
Sent: Tuesday, May 12, 2009 3:09 PM
To: Asterisk Mailing
Subject: [asterisk-users] Hangup()-command does not hang up the line

 

When I call my Asterisk-server from my cell phone on one of the PSTN-numbers
that terminate in a FXO-module on my TDM410P Digium card, and in the
dialplan the end of a context is reached and Asterisk needs to execute the
Hangup()-command, I notice the following :

- Asterisk tells me that the conversation was hung up (the log files tell me
the command was executed)
- On my cell phone I hear silence, no special tone on the line that tells me
the call was terminated by Asterisk, AND time keeps on counting on my cell
phone as if the duration of the conversation continues.

I see the following solution :
- At the end of my context, I initiate the Congestion()-application to force
the caller to hang up.

But I think it must be enough just to call the Hangup()-command to make
Asterisk terminate the conversation...
But as I said : on my cell phone I see that time keeps on counting as if I'm
still connected + no tone that the line was hung up.

On the other hand : Asterisk detects the other end really good and registers
when the caller has put down his phone and the conversation is terminated by
the caller. Also a fax and a busy-tone is well detected. The option
busydetect=yes is set in my chan_dahdi.conf... But this is not the problem.

Is this a bug ??

Greetingz,
Jonas. 

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

[asterisk-users] Hangup()-command does not hang up the line

2009-05-12 Thread jonas kellens
When I call my Asterisk-server from my cell phone on one of the
PSTN-numbers that terminate in a FXO-module on my TDM410P Digium card,
and in the dialplan the end of a context is reached and Asterisk needs
to execute the Hangup()-command, I notice the following :

- Asterisk tells me that the conversation was hung up (the log files
tell me the command was executed)
- On my cell phone I hear silence, no special tone on the line that
tells me the call was terminated by Asterisk, AND time keeps on counting
on my cell phone as if the duration of the conversation continues.

I see the following solution :
- At the end of my context, I initiate the Congestion()-application to
force the caller to hang up.

But I think it must be enough just to call the Hangup()-command to make
Asterisk terminate the conversation...
But as I said : on my cell phone I see that time keeps on counting as if
I'm still connected + no tone that the line was hung up.

On the other hand : Asterisk detects the other end really good and
registers when the caller has put down his phone and the conversation is
terminated by the caller. Also a fax and a busy-tone is well detected.
The option busydetect=yes is set in my chan_dahdi.conf... But this is
not the problem.

Is this a bug ??

Greetingz,
Jonas.
___
-- 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