'Transfer to voicemail' button

I have a licensed FOP2 2.25 running on Asterisk 1.8.8.0 and FreePBX 2.9.0.7. I thought the "Transfer to voicemail" button was linked to the "mailbox=" returned by the "autoconfig-buttons-freepbx.sh" script. For some reason, some extensions with voicemail get the "Transfer to voicemail" button disabled and some others without voicemail get this button enabled. This is really annoying for the receptionist since she cannot transfert some calls to the voicemail even even though thay have one.

Thanks
Daniel

Comments

  • Hi Daniel,

    The button should be disabled when there is no extension to transfer to voicemail defined (extenvoicemail), or when you do not have permissions to transfer. Run /etc/asterisk/fop2/autoconfig-buttons-freepbx.sh and inspect the output, compare it with the extensions your receptionist is unable to transfer to voicemail, does the config includes both the extenvoicemail parameter?
  • Here's 2 exemple of extensions config returned by autoconfig-buttons-freepbx.sh
    (304 does not have a voicemail and 310 does in voicemail.conf)

    [SIP/304]
    type=extension
    extension=304
    label=XXX
    context=from-internal
    queuecontext=from-queue
    extenvoicemail=*304@default
    privacy=none
    rtmp=0
    queuechannel=Local/304@from-queue/n|Penalty=0|MemberName=XXX|StateInterface=SIP/304
    customastdb=CF/304


    [SIP/310]
    type=extension
    extension=310
    label=XXX
    mailbox=310@default
    context=from-internal
    queuecontext=from-queue
    rtmp=0
    queuechannel=Local/310@from-queue/n|Penalty=0|MemberName=XXX|StateInterface=SIP/310
    customastdb=CF/310

    As you can see, 304 (no voicemail) gets the "extenvoicemail" and "privacy" parameters and 310 (with voicemail) does not.

    Thanks
    Daniel
  • What I see is that fop2 is working according to the configuration. If the configuration data is wrong is probably because fop2admin is not reflecting a voicemail enabling/disabling on freepbx? What fop2admin version do you have installed? You can edit the fop2buttons table and set the mailbox parameter by hand, or you might want to uninstall/install the fop2admin module so it reads the freepbx config again for the buttons.
  • I've uninstalled the old version and installed the latest fop2admin 1.2.14 and it now works correctly.

    Thanks
Sign In or Register to comment.