Skip to content
Snippets Groups Projects
  • Naveen Albert's avatar
    2016b331
    app_voicemail: Emit warning if asking for nonexistent mailbox. · 2016b331
    Naveen Albert authored
    Currently, if VoiceMailMain is called with a mailbox, if that
    mailbox doesn't exist, then the application silently falls back
    to prompting the user for the mailbox, as if no arguments were
    provided.
    
    However, if a specific mailbox is requested and it doesn't exist,
    then no warning at all is emitted.
    
    This fixes this behavior to now warn if a specifically
    requested mailbox could not be accessed, before falling back to
    prompting the user for the correct mailbox.
    
    ASTERISK-29920 #close
    
    Change-Id: Ib4093b88cd661a2cabc5d685777d4e2f0ebd20a4
    2016b331
    History
    app_voicemail: Emit warning if asking for nonexistent mailbox.
    Naveen Albert authored
    Currently, if VoiceMailMain is called with a mailbox, if that
    mailbox doesn't exist, then the application silently falls back
    to prompting the user for the mailbox, as if no arguments were
    provided.
    
    However, if a specific mailbox is requested and it doesn't exist,
    then no warning at all is emitted.
    
    This fixes this behavior to now warn if a specifically
    requested mailbox could not be accessed, before falling back to
    prompting the user for the correct mailbox.
    
    ASTERISK-29920 #close
    
    Change-Id: Ib4093b88cd661a2cabc5d685777d4e2f0ebd20a4
app_voicemail.c 522.53 KiB