Search code examples
freeswitch

FreeSwitch/FusionPBX Transfers to the Wrong Extension


Here is my scenario:

A caller makes a call to PSTN line which is connected to GrandStream GWX4108, registered as a freeswitch gateway.

  1. Phone is picked by an IVR--Welcome IVR (Exten: 5000).
  2. Caller pressed 1, transferred to another IVR--MainMenu-IVR-NP (Exten: 5001).
  3. Caller pressed 0, transferred to Hunt Group--FrontDesk Hunt. (Exten: 6500).
  4. An operator of the FrontDesk Hunt at extension 6002 picks up the call. She then performs a blind transfer to the extension 9999.

The extension 9999 does not ring. To my surprise, the call goes to another Hunt Group--Support Hunt (Exten 6600).

Below is a copy of the log for investigation and review.

http://pastebin.com/vZ2z6bUH

EDIT #1

Except for the above problem, all the extensions are working normally. For example, for outgoing calls originating from any extension, we can transfer the call to any extension without any problem.

Edit #2

Dialplan of Exten 9999

/directory/default/v_9999.xml

<include>
  <user id="9999">
    <params>
      <param name="password" value="secret"/>
      <param name="vm-password" value="user-choose"/>
      <param name="vm-enabled" value="true"/>
    </params>
    <variables>
      <variable name="toll_allow" value=""/>
      <variable name="accountcode" value=""/>
      <variable name="user_context" value="default"/>
      <variable name="effective_caller_id_name" value="CEO Line2"/>
      <variable name="directory-visible" value="true"/>
      <variable name="directory-exten-visible" value="true"/>
      <variable name="limit_max" value="5"/>
    </variables>
  </user>
</include>

Solution

  • FusionPBX-->Dialplan-->Dialplan Manager

    Edit the dialplan "extension-intercom", set enabled to true.

    We had the similar issue which was solved by setting the above parameter.

    Hope this helps.