Summary: | ASTERISK-05116: app_voicemail.c:5606 vm_box_exists: VM box ...@default exists, but extension ..., priority ... doesn't exist | ||
Reporter: | auktionmaster (auktionmaster) | Labels: | |
Date Opened: | 2005-09-20 11:39:40 | Date Closed: | 2008-01-15 15:49:06.000-0600 |
Priority: | Trivial | Regression? | No |
Status: | Closed/Complete | Components: | Applications/app_voicemail |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) 20050920__bug5258__2.diff.txt | |
Description: | Warning "Sep 20 18:28:45 WARNING[6225]: app_voicemail.c:5606 vm_box_exists: VM box 711@default exists, but extension 999711, priority 207 doesn't exist" pops up, but everything is working anyway. Why does app_voicemail.c try to jump into 207 ? Responsible for that error is "exten => _999.,6,MailboxExists(${VoiceBoxNumber}@default)" exten => _999.,1,Set(VoiceBoxNumber=${EXTEN:3:3}) exten => _999.,2,Set(EmployeeStatus=${EXTEN:6:1}) exten => _999.,3,Set(VoiceBoxMode=u); exten => _999.,4,GotoIf($["${EmployeeStatus}" = "1"]?5:6) exten => _999.,5,Set(VoiceBoxMode=b); exten => _999.,6,MailboxExists(${VoiceBoxNumber}@default) exten => _999.,7,Playback(vm-nobox) exten => _999.,8,Hangup exten => _999.,107,VoiceMail(${VoiceBoxMode}${VoiceBoxNumber}@default) exten => _999.,108,Hangup | ||
Comments: | By: Clod Patry (junky) 2005-09-20 11:43:02 Which app_voicemail.c version? which CVS-HEAD version? By: auktionmaster (auktionmaster) 2005-09-20 12:18:19 - Asterisk CVS HEAD built on 2005-09-16 12:22:55 UTC - app_voicemail.c Revision: 1.248 By: Tilghman Lesher (tilghman) 2005-09-20 13:12:26 Looks like another problem with the ast_goto_if_exists() conversion. This patch should fix it. By: auktionmaster (auktionmaster) 2005-09-20 14:19:04 Patch is working :-) But same problem seems to be in line 5539: if (!ast_goto_if_exists(chan, chan->context, chan->exten, chan->priority + 101)) ast_log(LOG_WARNING, "Extension %s, priority %d doesn't exist.\n", chan->exten, chan->priority + 101); By: Kevin P. Fleming (kpfleming) 2005-09-25 16:42:38 Committed to CVS HEAD, thanks! By: Digium Subversion (svnbot) 2008-01-15 15:49:06.000-0600 Repository: asterisk Revision: 6651 U trunk/apps/app_voicemail.c ------------------------------------------------------------------------ r6651 | kpfleming | 2008-01-15 15:49:06 -0600 (Tue, 15 Jan 2008) | 2 lines correct logic errors (issue ASTERISK-5116) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=6651 |