fred.ziegler@alum.mit.edu
2003-Jul-09 09:17 UTC
[Asterisk-Users] SUMMARY: Problems with Hangup Detection in VoiceMail2.
Many thanks to Martin Pycko and Mark Spencer. Mark's suggestion below was correct: "Maybe it's stuck trying to send the e-mail notification. If you take the e-mail address out of /etc/asterisk/voicemail.conf does that speed it up?" Indeed it did! The problem turned out to be a 60second delay while invoking mail, caused by a mis-configuration of my hostname and /etc/mail/sendmail.cf (must have been waiting while some DNS lookups timed out). My original problem is below:>Hi. >Has anyone experienced hangup detection problems with the VoiceMail2 app? >I have a console phone on the FXS port. When I call a SIP phone, and get >its voicemail greeting, I can enter the VoiceMail2 app, leave a message, >and then hit # to stop message recording. > >Recording does stop, but the channel stays up inside the VoiceMail2 app >(as shown by a "show channels" command) for about 60 seconds. Then it >drops. > >Is this expected behavior? If not, how can I make it disconnect the >call sooner? > >I get the very same behavior in all scenarios: > a) if calling from a console phone to a SIP phone. > b) if calling in on a POTS line, connected to an FXO card. > >a portion of my extensions.conf file is shown below: > . > . >exten => 304,1,Dial(SIP/304,16) ;fred >exten => 304,2,Voicemail2(u304) >exten => 304,3,Hangup > . > . >-- Regards, Fred -----------------_=o&o>_------------------------------- Fred R. Ziegler BMWOA #77929 AMA #631103 <fred.ziegler@alum.mit.edu> BMWRA #22468 '97 R1100RTL W. Medford, MA 02155 YB #235 IBA #6190 '72 R60/5 swb ... holder of the Ultra-Prestigious MA IBMWR plate!! :-)