External transfer hangs up

Hi,

I'm using FOP2 v2.21 on Asterisk 1.8.5 and FreePBX 2.9.0.7 (FOP2 admin module v1.2.6).
Everything is working well, but i have an issue when i try to transfer to a mobile : the call hangs up when i hit the "transfer to mobile" button after selecting the correct button (extension).
In Fop2 admin module, I have inserted the mobile number in the "external transfer" field, and my user has the "transferextenal" permission.

Here is the result of fop2_server in debug mode :
127.0.0.1       -> Action: Redirect
127.0.0.1       -> Channel: SIP/mediasrv-user-0001775a
127.0.0.1       -> Exten:
127.0.0.1       -> Context: from-internal
127.0.0.1       -> Priority: 1
127.0.0.1       -> Async: True

Apparently, the "exten" option is empty, even if the mobile number is setted up in FOP2 admin module.

Can you please help me ?

Thanks.

Comments

  • My first recommendation would be for you to update to latest versions.. if that is not an option, run

    /usr/local/fop2/autoconfig-buttons-freepbx.sh

    and see if the external=xxxx line is being written to the button configuration, at least to check if the problem is in the autogenerated config or in some other place.
  • Hi,

    Thank you for your quick answer. It's really appreciated.
    When I run autoconfig-buttons-freepbx.sh, i can see the "external=xxxx" and everything seems to be correct. By the way, i'm not sure to understand what autoconfig-buttons-freepbx.sh does, because, as far as I see, it only display the config.
    I think that fop2 call that file in order to get its config, but i'm not sure and i didn't see where this call is made...

    I can try to update fop2 to latest version, but where can i fing any update documentation ? Last time I updated my fop2 (2.20 to 2.21), i completely reinstall my fop2 because i didn't find update instructions.

    Regards,
  • Hi,

    Please upgrade, installation instructions are just the same as to install a new version, something like:
    cd /usr/src
    rm -rf fop2
    wget http://download.fop2.com/fop2-2.23-centos5-i386.tgz
    tar zxvf fop2-2.23-centos5-i386.tgz
    cd fop2
    make
    

    You will need to upgrade fop2admin to 1.2.7 also, just download and upload the module in FreePBX.

    The autoconfig script just outputs the configuration to STDOUT, you are right. The fop2 configuration will execute that script and will config itself based on that script output.

    Best regards,
  • Hi,

    Thank you for the update, it works now !

    Regards,
Sign In or Register to comment.