Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

FOP2 Community Forum

  1. Home
  2. Support
  3. Transfer Calls not working after FreePBX upgrade

Transfer Calls not working after FreePBX upgrade

Scheduled Pinned Locked Moved Support
20 Posts 5 Posters 554 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N
    N
    nicolas
    wrote on last edited by
    #8

    Hi Svan,

    Try editing /usr/local/fop2/autoconfig-users.sh and remove the caret from the AMPDBNAME, AMPDBUSER and AMPDBPASS variables, so it looks like this (at the top of the file).

    if [ -e /etc/freepbx.conf ]; then
    DBNAME=`cat /etc/freepbx.conf | sed 's/ //g' | grep AMPDBNAME | cut -d= -f2 | tail -n1`
    DBUSER=`cat /etc/freepbx.conf | sed 's/ //g' | grep AMPDBUSER | cut -d= -f2 | tail -n1`
    DBPASSLINE=`cat /etc/freepbx.conf | grep AMPDBPASS | tail -n1`
    

    Then do the same in autoconfig-buttons.sh

    To test it out, run the script in the command line and inspect the ouptut

    [fixed]
    /usr/local/fop2/autoconfig-users.sh
    [/fixed]

    Best regards,

    1 Reply Last reply
    0
    • S
      S
      svan
      wrote on last edited by
      #9

      The autoconfig-users runs fine, but the autoconfig-buttons doesn't:

      ./autoconfig-buttons.sh
      # Problem connecting to mysql
      
      ! Cannot connect to Fo2 Manager database
      

      This is what it looks like now:

      if [ -e /etc/freepbx.conf ]; then
      DBNAME=`cat /etc/freepbx.conf | sed 's/ //g' | grep AMPDBNAME | cut -d= -f2 | tail -n1`
      DBUSER=`cat /etc/freepbx.conf | sed 's/ //g' | grep AMPDBUSER | cut -d= -f2 | tail -n1`
      DBPASSLINE=`cat /etc/freepbx.conf | grep AMPDBPASS | tail -n1`
      DBSTRIP=`echo $DBPASSLINE | cut -d= -f1`
      DBPASS=`echo $DBPASSLINE | sed "s/$DBSTRIP=//g"`
      DBHOST=`cat /etc/freepbx.conf | sed 's/ //g' | grep ^AMPDBHOST | cut -d= -f2 | tail -n1`
      
      1 Reply Last reply
      0
      • N
        N
        nicolas
        wrote on last edited by
        #10

        Can you send me privately your /etc/freepbx.conf file ? Or please contact me via the live help. I am online now.

        1 Reply Last reply
        0
        • F
          F
          filippov
          wrote on last edited by
          #11

          Hello, transfer is now working, but no sound in listen/whisper mode. If cal to 555 (freepbx spy channel) + number extension - all good.

          1 Reply Last reply
          0
          • N
            N
            nicolas
            wrote on last edited by
            #12

            asterisk -rx "core show channels concise"

            When you are listening to a call, look for the chanspy session and the parameter delimiter, is it a comma or a pipe, if a pipe, in fop2.cfg set force_parameter_delimiter=','

            1 Reply Last reply
            0
            • F
              F
              filippov
              wrote on last edited by
              #13

              All the same, there is no sound. Output for asterisk -rx "core show channels concise" with and without force_parameter_delimiter=','

              DAHDI/pseudo-922601214!default!s!1!Rsrvd!(None)!!!!!3!47!!1418758260.206057
              DAHDI/i2/889658064166-31d!from-internal!STARTMEETME!4!Up!MeetMe!201,oTMr,!89658064166!!!3!30!!1418758277.206075
              DAHDI/pseudo-2103507193!default!s!1!Rsrvd!(None)!!!!!3!47!!1418758260.206059
              DAHDI/i2/88162280360-31c!from-internal!STARTMEETME!4!Up!MeetMe!201,oTMr,!88162280360!1418758252.206045!1418758252.206045!3!56!!1418758252.206045
              SIP/1002-00000317!from-internal-increase-vol!!1!Up!ChanSpy!CONFERENCE/201,dq!1002!!!3!12!!1418758295.206085
              
              1 Reply Last reply
              0
              • N
                N
                nicolas
                wrote on last edited by
                #14

                You cannot spy on conferences? Only extensions. If you want to hear a conference, just join it.

                Best regards,

                1 Reply Last reply
                0
                • F
                  F
                  filippov
                  wrote on last edited by
                  #15

                  No sounds in spy mode (listen / whisper) only in conferences. Button listen / whisper work well with other internal numbers. If i call 555 + number conference sounds is good, but it is inconvenient for the user.

                  1 Reply Last reply
                  0
                  • N
                    N
                    nicolas
                    wrote on last edited by
                    #16

                    You cannot spy on a conference in fop2, you can join the conference and listen in (same effect).

                    1 Reply Last reply
                    0
                    • F
                      F
                      filippov
                      wrote on last edited by
                      #17

                      About spy in conference understand.
                      I have error with blind transfer from user in queues to conference - after transfer incoming call to conference, sip line of user form queues is not released. The line of user remains busy until incoming call not complet.

                      1 Reply Last reply
                      0
                      • N
                        N
                        nicolas
                        wrote on last edited by
                        #18

                        I am not sure if I understand correctly the "flow" of the problem. Not sure who are you transferring nor how into the conference?

                        A line being busy after a transfer is made, and remaining busy until the transferred call finishes, is a classic asterisk "feature" when using Local/xxxx@yyyy/n channels. It is not a FOP2 problem, is a byproduct of /n in a Local channel inside Asterisk, and as such, cannot be fixed within FOP2, nor it is a FOP2 bug.

                        However, I am not sure if your description of the problem has to do with that or not.

                        Best regards,

                        1 Reply Last reply
                        0
                        • F
                          F
                          filippov
                          wrote on last edited by
                          #19

                          Incomming call (from dahdi) -> direct to SIP extension -> blind transfer to conference = all ok - external call in conference and SIP extension line released.

                          Incomming call (from dahdi) -> queue -> SIP extension -> blind transfer to conference = problem - external call in conference but SIP extension not released line.

                          Screen in attach.

                          1 Reply Last reply
                          0
                          • N
                            N
                            nicolas
                            wrote on last edited by
                            #20

                            Your description fits almost exactly on the case I described above. How do your queue members look like? Are you using Local/xxx@yyy/n devices?

                            asterisk -rx "queue show"

                            Best regards,

                            1 Reply Last reply
                            0

                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                            With your input, this post could be even better 💗

                            Register Login
                            Reply
                            • Reply as topic
                            Log in to reply
                            • Oldest to Newest
                            • Newest to Oldest
                            • Most Votes


                            • Login

                            • Don't have an account? Register

                            • Login or register to search.
                            Powered by NodeBB Contributors
                            • First post
                              Last post
                            0
                            • Categories
                            • Recent
                            • Tags
                            • Popular
                            • World
                            • Users
                            • Groups