[asterisk-users] How to detect long calls

2007-01-16 Thread Savoy, Kevin - Williston, ND
We have been running an Asterisk box with 1.2.9.1 on it since August in
a call center environment. We use the Asterisk box as an IVR and then
pass the calls on to a Nortel Option 11C. Today we found in our long
distance bill two calls that lasted a VERY long time. One was 58 hours
and another was 38 DAYS!!!

 

Nortel does not show this call being that long. Obviously the person
that called in didn't hold the line for 58 days so somehow between
Asterisk and MCI the call got stuck open and didn't hang up on the
network.

 

My question is two parts, part one, has anyone heard of anything like
this where a call doesn't hang up properly and seems stuck in the
system. Part two is there anyway to monitor in Asterisk the length of
all active calls and then if a call lasts longer then, say one hour, we
could send off a text message or warning.

 

Any ideas or comments would be helpful

 

 

Thanks

_

 

Kevin Savoy

Business Unit Telecom Analyst

2218 4th Ave W

Williston, ND 58801

Ph: 701-774-4023

Fax: 701-774-2901

http://www.novo1.com http://www.novo1.com/ 

Novo 1 is a service mark of Novo 1, Inc

 



image001.gif
Description: image001.gif
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] How to detect long calls

2007-01-16 Thread yusuf

Savoy, Kevin - Williston, ND wrote:
We have been running an Asterisk box with 1.2.9.1 on it since August in 
a call center environment. We use the Asterisk box as an IVR and then 
pass the calls on to a Nortel Option 11C. Today we found in our long 
distance bill two calls that lasted a VERY long time. One was 58 hours 
and another was 38 DAYS!!!


 

Nortel does not show this call being that long. Obviously the person 
that called in didn’t hold the line for 58 days so somehow between 
Asterisk and MCI the call got stuck open and didn’t hang up on the network.


 

My question is two parts, part one, has anyone heard of anything like 
this where a call doesn’t hang up properly and seems “stuck” in the 
system. Part two is there anyway to monitor in Asterisk the length of 
all active calls and then if a call lasts longer then, say one hour, we 
could send off a text message or warning.




Hi ,

similiar thing happend to me.  Try looking at the L() optin in Dial.  I define a max call time, say 
few hours, then warn every x seconds, then cut the call.


--
thanks,
Yusuf

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
--Bandwidth and Colocation provided by Easynews.com --

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


RE: [asterisk-users] How to detect long calls

2007-01-16 Thread Cullin J. Wible
You should:

Set(TIMEOUT(absolute)=14400)

When the call is received - this will set the maximum limit of a call and
asterisk will force hang-up when the limit is reached.

14400 seconds = 4 hours, which for our purposes is longer then any call we
expect. Even if you double-it or set it to several days some limit is better
then nothing.

When we found the same problem we had a call that was stuck open for 20
days. The call was stuck in a conference and was sending the on-hold music,
which is what kept it open.

Hope that helps.

Cullin J. Wible

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of yusuf
Sent: Tuesday, January 16, 2007 12:51 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] How to detect long calls

Savoy, Kevin - Williston, ND wrote:
 We have been running an Asterisk box with 1.2.9.1 on it since August 
 in a call center environment. We use the Asterisk box as an IVR and 
 then pass the calls on to a Nortel Option 11C. Today we found in our 
 long distance bill two calls that lasted a VERY long time. One was 58 
 hours and another was 38 DAYS!!!
 
  
 
 Nortel does not show this call being that long. Obviously the person 
 that called in didn't hold the line for 58 days so somehow between 
 Asterisk and MCI the call got stuck open and didn't hang up on the
network.
 
  
 
 My question is two parts, part one, has anyone heard of anything like 
 this where a call doesn't hang up properly and seems stuck in the 
 system. Part two is there anyway to monitor in Asterisk the length of 
 all active calls and then if a call lasts longer then, say one hour, 
 we could send off a text message or warning.
 

Hi ,

similiar thing happend to me.  Try looking at the L() optin in Dial.  I
define a max call time, say few hours, then warn every x seconds, then cut
the call.

--
thanks,
Yusuf

--
This message has been scanned for viruses and dangerous content by
MailScanner, and is believed to be clean.


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
--Bandwidth and Colocation provided by Easynews.com --

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

___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] How to detect long calls

2007-01-16 Thread Manrique Feoli
I had the same problem last year,  at the time for some reason Timeout 
instruction wouldn't trigger,  so,  just to be sure not to have to pay 
for another longdistance call,  I did the following,  (following 
someone's advise in here)


/usr/sbin/asterisk -rx show channels concise |awk -F : '($11  1500) 
{print /usr/sbin/asterisk -rx \soft hangup  $1 \} '|sh


this will hangup any call longer than 1500 seconds, or what ever 
value you choose


hope it helps you somehow


;-)

Manrique




Cullin J. Wible escribió:

You should:

Set(TIMEOUT(absolute)=14400)

When the call is received - this will set the maximum limit of a call and
asterisk will force hang-up when the limit is reached.

14400 seconds = 4 hours, which for our purposes is longer then any call we
expect. Even if you double-it or set it to several days some limit is better
then nothing.

When we found the same problem we had a call that was stuck open for 20
days. The call was stuck in a conference and was sending the on-hold music,
which is what kept it open.

Hope that helps.

Cullin J. Wible

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of yusuf
Sent: Tuesday, January 16, 2007 12:51 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] How to detect long calls

Savoy, Kevin - Williston, ND wrote:
  
We have been running an Asterisk box with 1.2.9.1 on it since August 
in a call center environment. We use the Asterisk box as an IVR and 
then pass the calls on to a Nortel Option 11C. Today we found in our 
long distance bill two calls that lasted a VERY long time. One was 58 
hours and another was 38 DAYS!!!


 

Nortel does not show this call being that long. Obviously the person 
that called in didn't hold the line for 58 days so somehow between 
Asterisk and MCI the call got stuck open and didn't hang up on the


network.
  
 

My question is two parts, part one, has anyone heard of anything like 
this where a call doesn't hang up properly and seems stuck in the 
system. Part two is there anyway to monitor in Asterisk the length of 
all active calls and then if a call lasts longer then, say one hour, 
we could send off a text message or warning.





Hi ,

similiar thing happend to me.  Try looking at the L() optin in Dial.  I
define a max call time, say few hours, then warn every x seconds, then cut
the call.

--
thanks,
Yusuf

--
This message has been scanned for viruses and dangerous content by
MailScanner, and is believed to be clean.


  


--
**
Manrique Feoli
R  D Director
[EMAIL PROTECTED]
Kínetos Software
www.kinetos.com
408-538-2113
**


___
--Bandwidth and Colocation provided by Easynews.com --

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


RE: [asterisk-users] How to detect long calls

2007-01-16 Thread Gary Mensenares
show channels will display all calls including Duration and BridgeTo. You
can check the BridgeTo column to determine if one call leg is still attached
to the other. If that fails, you can also check the duration for hung calls.
 
To automate, there are a number of approaches. I personally suggest looking
into writing/deploying an Asterisk manager.
 


  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Savoy, Kevin -
Williston, ND
Sent: Wednesday, January 17, 2007 2:08 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] How to detect long calls



We have been running an Asterisk box with 1.2.9.1 on it since August in a
call center environment. We use the Asterisk box as an IVR and then pass the
calls on to a Nortel Option 11C. Today we found in our long distance bill
two calls that lasted a VERY long time. One was 58 hours and another was 38
DAYS!!!

 

Nortel does not show this call being that long. Obviously the person that
called in didn't hold the line for 58 days so somehow between Asterisk and
MCI the call got stuck open and didn't hang up on the network.

 

My question is two parts, part one, has anyone heard of anything like this
where a call doesn't hang up properly and seems stuck in the system. Part
two is there anyway to monitor in Asterisk the length of all active calls
and then if a call lasts longer then, say one hour, we could send off a text
message or warning.

 

Any ideas or comments would be helpful

 

 

Thanks

_



Kevin Savoy

Business Unit Telecom Analyst

2218 4th Ave W

Williston, ND 58801

Ph: 701-774-4023

Fax: 701-774-2901

 http://www.novo1.com/ http://www.novo1.com

Novo 1 is a service mark of Novo 1, Inc

 



image001.gif
Description: GIF image
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] How to detect long calls

2007-01-16 Thread Frederico Madeira
Hi guys,

Look my example:

pabx*CLI sip show channels
Peer User/ANRCall ID  Seq (Tx/Rx)  Form  Hold
Last Message 
64.71.xx.xx322121226ee03b46000  00103/15992  unkn  No  (d)  Rx:
BYE   
64.71.xx.xx0113941735  57344d766af  00103/0  unkn  No   Tx:
INVITE
64.71.xx.xx0113677599  5456e05e17d  00103/0  unkn  No   Tx:
INVITE
64.71.xx.xx0113388754  3fe71d9114a  00103/0  unkn  No   Tx:
INVITE
64.71.xx.xx0113388754  75c54f392c3  00103/0  unkn  No   Tx:
INVITE
64.71.xx.xx0113677599  22fe2ae1237  00103/0  unkn  No   Tx:
INVITE
64.71.xx.xx0823241639  3b99e044545  00103/0  unkn  No   Tx:
INVITE
64.71.xx.xx0823231223  4345657f406  00103/0  unkn  No   Tx:
INVITE
64.71.xx.xx0823327211  5516645b4b7  00103/0  unkn  No   Tx:
INVITE
64.71.xx.xx0823336651  5692acca779  00103/0  unkn  No   Tx:
INVITE
64.71.xx.xx0823235526  14b7d28729f  00103/0  unkn  No   Tx:
INVITE
64.71.xx.xx0793246319  3fe706487f1  00103/0  unkn  No   Tx:
INVITE
64.71.xx.xx0613364414  13ea2109500  00103/0  unkn  No   Tx:
INVITE
64.71.xx.xx0613364414  531f94b42c4  00103/0  unkn  No   Tx:
INVITE
14 active SIP channels

I can confirm that when i run this command, no one was in the office.
What is this status ?

Where can i see duration of this calls ?
How can i kill them ?

Thanks.

Fred

Em Ter, 2007-01-16 às 11:08 -0600, Savoy, Kevin - Williston, ND
escreveu:
 We have been running an Asterisk box with 1.2.9.1 on it since August
 in a call center environment. We use the Asterisk box as an IVR and
 then pass the calls on to a Nortel Option 11C. Today we found in our
 long distance bill two calls that lasted a VERY long time. One was 58
 hours and another was 38 DAYS!!!
 
  
 
 Nortel does not show this call being that long. Obviously the person
 that called in didn’t hold the line for 58 days so somehow between
 Asterisk and MCI the call got stuck open and didn’t hang up on the
 network.
 
  
 
 My question is two parts, part one, has anyone heard of anything like
 this where a call doesn’t hang up properly and seems “stuck” in the
 system. Part two is there anyway to monitor in Asterisk the length of
 all active calls and then if a call lasts longer then, say one hour,
 we could send off a text message or warning.
 
  
 
 Any ideas or comments would be helpful
 
  
 
  
 
 Thanks
 
 _
 
 
 
 Kevin Savoy
 
 Business Unit Telecom Analyst
 
 2218 4th Ave W
 
 Williston, ND 58801
 
 Ph: 701-774-4023
 
 Fax: 701-774-2901
 
 http://www.novo1.com
 
 Novo 1 is a service mark of Novo 1, Inc
 
  
 
 
 
 ___
 --Bandwidth and Colocation provided by Easynews.com --
 
 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users


image001.gif
Description: image001.gif


signature.asc
Description: Esta é uma parte de mensagem	assinada digitalmente
___
--Bandwidth and Colocation provided by Easynews.com --

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