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

Benny Amorsen benny+usenet at amorsen.dk
Tue Jan 16 15:10:08 MST 2007


>>>>> "KS" == "Savoy, Kevin <- Williston, ND" <ksavoy at novo1.com>> writes:

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

There has been some excellent suggestions in this thread. I just want
to add one. Sometimes a SIP packet can get lost or a phone rebooted
without closing a call properly. Then the call will just stay open
forever. You can solve that with rtptimeout=3600 or something similar
in sip.conf. Obviously it only works when the rtp stream is actually
going through Asterisk, and it will also kill the call if a Snom phone
turns the microphone off for an hour (Snom phones do silence
suppression unconditionally when you press the mute button).

Still, even with those limitations it works nicely for us. At least as
a stopgap until Asterisk gets TCP-support for SIP.


/Benny




More information about the asterisk-users mailing list