Transfer to mailbox rings extension

  1. 11 years ago

    Hello,
    I'm using 2.27 and when I try to transfer a call directly to a user's mailbox, the targeted user's extension rings. I took a look at the output of my autoconfig-buttons-freepbx.sh and I see that extenvoicemail=224@default seems to be missing the "*". Should this not have an asterisk in front of it? That is how I would have to dial it from an extension. Can I correct it in the script? I was going to make the change in the autoconfig script but didn't know what to edit. Thanks.

    [SIP/224]
    type=extension
    extension=224
    label=User's name
    mailbox=224@default
    context=from-internal
    queuecontext=from-queue
    extenvoicemail=224@default
    privacy=none
    group=Personal Lines
    rtmp=0
    queuechannel=Local/224@from-queue/n|Penalty=0|MemberName=User's name|StateInterface=SIP/224
    customastdb=CF/224

  2. admin

    23 Sep 2013 Administrator

    The autoconfig script reads a setting from the freepbx tables:

    VMPREFIX=`mysql -NB -u $DBUSER -p$DBPASS -h $DBHOST $DBNAME -e "select value from globals where variable='VM_PREFIX'"`

    If your FreePBX does not have the VM_PREFIX global variable you can hardcode it to the script with something like:

    VMPREFIX='*'

    However, I see no reason why it would not be reading the information from the freepbx table.

    Best regards,

  3. Thank you, hardcoding it fixed it. I'll have to dig deeper to see why the value isn't being pulled or if it might be missing for some reason.

  4. I am having this same issue, for some reason, and I may not be doing it correctly, this does not fix the problem, please help!

  5. admin

    26 Sep 2013 Administrator

    The latest freepbx upgrade moved the VMPREFIX variable from the global table to the featurecodes table, so the autoconfig-buttons-freepbx.sh only for the LAST freepbx version must be updated, either by hardcoding the prefix or with the script from here:

    http://download.fop2.com/autoconfig-buttons-freepbx.sh

  6. I am using vanilla Asterisk and my transfer to mailbox just rings the extension.

    Where do I start to troubleshoot?

  7. admin

    27 Sep 2013 Administrator

    If you use vanilla asterisk you must configure your buttons correctly and also define special extensions in your dialplan to reach voicemail directly.

    [SIP/john]
    type=extension
    extension=602
    context=from-internal
    extenvoicemail=*602@default

    And in your dialplan, dialing *602 should reach 602 voicemail.

or Sign Up to reply!