Open Source Training Seminar FreePBX Paid Support

Ticket #1873 (closed Bugs: wontfix)

Opened 1 year ago

Last modified 1 year ago

Direct to voicemail calling doesn't work if set to *

Reported by: scotth Assigned to:
Priority: minor Milestone: 2.3
Component: Core Version: 2.2.1
Keywords: Direct Voicemail Cc:
Confirmation: SVN Revision (if applicable):
Backend Engine: Asterisk 1.2.x Backend Engine Version:

Description

I searched tickets and couldn't find this issue, my apologies if it's already been addressed.

When setting direct to voicemail extension under 'General Settings' it conflicts with app-userlogonoff, if remove the section from extensions_additional.conf calling direct to voicemail with * works, however of course after a reload it's broken again, here below is the relevant code within FreePBX generating that code, starting on line 91 in modules/core/functions.inc.php I've edited most of it out to avoid it breaking again.

                        // Log on / off -- all in one context
                        if ($fc_userlogoff != '' || $fc_userlogon != '') {
                                $ext->addInclude('from-internal-additional', 'app-userlogonoff'); // Add the include from from-internal

                                if ($fc_userlogoff != '') {

/* COMMENTED OUT BY SCOTT HARVANEK ON MAR 29TH AS IT BREAKS DIRECT TO VMAIL CALLING */

        //                              $ext->add('app-userlogonoff', $fc_userlogoff, '', new ext_macro('user-logoff'));
        //                              $ext->add('app-userlogonoff', $fc_userlogoff, '', new ext_hangup(''));
                                }

                                if ($fc_userlogon != '') {
        //                              $ext->add('app-userlogonoff', $fc_userlogon, '', new ext_macro('user-logon'));
        //                              $ext->add('app-userlogonoff', $fc_userlogon, '', new ext_hangup(''));

        //                              $clen = strlen($fc_userlogon);
        //                              $fc_userlogon = "_$fc_userlogon.";
        //                              $ext->add('app-userlogonoff', $fc_userlogon, '', new ext_macro('user-logon,${EXTEN:'.$clen.'}'));
//                                      $ext->add('app-userlogonoff', $fc_userlogon, '', new ext_hangup(''));
                                }
                        }

Change History

03/29/07 05:13:02 changed by p_lindheimer

  • status changed from new to closed.
  • resolution set to wontfix.

you must have an extension starting with 11, there will inherently be conflicts with such overlap and today freepbx does not detect such conflicts, so the first will win. (CF is another example) If you want to disable or change the feature code then you should do such in the featurecodes tab (either disable). We are looking into improving this sort of dependency issue in 2.3 - will keep this type of scenario in mind to try and detect conflicts with feature codes.

Donate



Support
Download
Develop
Forums
News
Documentation
Paid Support
About

Paid Ads