[Home]

Summary:ASTERISK-10543: crash on vmcount
Reporter:Marcelo M. Sosa Lugones (marsosa)Labels:
Date Opened:2007-10-16 09:22:09Date Closed:2007-10-16 09:55:11
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Applications/app_voicemail
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) bt-vmcount.txt
Description:I'm using VMCOUNT() in the dialplan in the h extension to see if there is any voicemail waiting (asterisk is being used as voicemail for hipath system) and sometimes i get a crash with core dump. I do not have easy access to the system, sorry for that, i'm reporting this just in case it can be solved by looking at the backtrace.

****** ADDITIONAL INFORMATION ******

The dialplan is:
;
exten => _#03##XXXX#,1,Set(VMS="in")
exten => _#03##XXXX#,n,Set(VMN=0${EXTEN:5:4})
exten => _#03##XXXX#,n,VoiceMail(u${EXTEN:5:4})
exten => _#03##XXXX#,n,Hangup
;
exten => _#00#XXXX##,1,Set(VMS="consulta")
exten => _#00#XXXX##,n,Set(VMN=9${EXTEN:4:4})
exten => _#00#XXXX##,n,Wait,1
exten => _#00#XXXX##,n,VoiceMailMain(${VMN:1})
exten => _#00#XXXX##,n,Hangup
; operator
exten => o,1,Flash()
exten => o,n,SendDTMF(9)
exten => o,n,Hangup
; mwi
exten => h,1,NoOp(${VMCOUNT(${VMN:1})})
exten => h,2,Set(VMC=${VMCOUNT(${VMN:1})})
exten => h,3,DeadAGI(voicemail.agi)
Comments:By: Digium Subversion (svnbot) 2007-10-16 09:32:09

Repository: asterisk
Revision: 85850

U   branches/1.4/apps/app_hasnewvoicemail.c

------------------------------------------------------------------------
r85850 | file | 2007-10-16 09:32:09 -0500 (Tue, 16 Oct 2007) | 4 lines

Check to make sure a value has been given to the VMCOUNT dialplan function.
(closes issue ASTERISK-10543)
Reported by: marsosa

------------------------------------------------------------------------

By: Digium Subversion (svnbot) 2007-10-16 09:55:11

Repository: asterisk
Revision: 85851

_U  trunk/
U   trunk/funcs/func_vmcount.c

------------------------------------------------------------------------
r85851 | file | 2007-10-16 09:55:10 -0500 (Tue, 16 Oct 2007) | 12 lines

Merged revisions 85850 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85850 | file | 2007-10-16 11:52:22 -0300 (Tue, 16 Oct 2007) | 4 lines

Check to make sure a value has been given to the VMCOUNT dialplan function.
(closes issue ASTERISK-10543)
Reported by: marsosa

........

------------------------------------------------------------------------