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 does not work with Parking Lot however it works with extensions and queues

Transfer does not work with Parking Lot however it works with extensions and queues

Scheduled Pinned Locked Moved Support
12 Posts 2 Posters 198 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.
  • A
    A
    asilem87
    wrote on last edited by
    #1

    Hi fop2 team,

    This is my first setup and use of fop2. Until now everything works fine, except I can not transfer a call to the Parking Lot. Everything is configured properly. To transfer my active call I have selected the Park button and then clicked the Transfer action button in the toolbar but nothing happened. Using the debug I was not able to see transfer action, just this message

    Flash clients connected: 1

    Client 192.168.xxx.xxx:53805, user: 502@GENERAL, type: xmlsocket (AnyEvent::Handle=HASH(0x6336b70))

    192.168.xxx.xxx:53805 <= <msg data="4|blindxfer|6|e84f05a3625a89387cf44610f2c27f88" ></msg>

    Additionally, sip conf is configured with callevents=yes and read and write permissions are set to all. I am using Centos 6.5, Asterisk 11.13.0 and fop2 2.30.00.

    I would appreciate any hints.

    Kind regards

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

      In the fop2 server log, after the blindxfer action you should see some action responses and probably new events, those will give us an idea of what is going on after the transfer command is being executed. Can you look at those in more detail?

      1 Reply Last reply
      0
      • A
        A
        asilem87
        wrote on last edited by
        #3

        Hi admin,

        I ran server in debug mode, tried to transfer a call to parking lot, but nothing happened. Here is my output:

        192.168.15.112:57534 <= <msg data="4|blindxfer|6|b5601bead2d59b50ba313f6e77d3f535" ></msg>

        Flash clients connected: 2

        Client 192.168.15.112:57534, user: 502@GENERAL, type: websocket (AnyEvent::Handle=HASH(0x12902e60))
        Client 192.168.15.112:57332, user: 502@GENERAL, type: websocket (AnyEvent::Handle=HASH(0x11b161d0))

        127.0.0.1 -> Action: Ping

        127.0.0.1 <- Response: Success
        127.0.0.1 <- Ping: Pong
        127.0.0.1 <- Timestamp: 1446820936.470587

        127.0.0.1 <- Event: HangupRequest
        127.0.0.1 <- Privilege: call,all
        127.0.0.1 <- Channel: SIP/302-00000003
        127.0.0.1 <- Uniqueid: 1446820906.3

        127.0.0.1 <- Event: Bridge
        127.0.0.1 <- Privilege: call,all
        127.0.0.1 <- Bridgestate: Unlink
        127.0.0.1 <- Bridgetype: core
        127.0.0.1 <- Channel1: SIP/502-00000002
        127.0.0.1 <- Channel2: SIP/302-00000003
        127.0.0.1 <- Uniqueid1: 1446820906.2
        127.0.0.1 <- Uniqueid2: 1446820906.3
        127.0.0.1 <- CallerID1: 502
        127.0.0.1 <- CallerID2: 302

        127.0.0.1 <- Event: Newexten
        127.0.0.1 <- Privilege: dialplan,all
        127.0.0.1 <- Channel: SIP/502-00000002
        127.0.0.1 <- Context: macro-dial-one
        127.0.0.1 <- Extension: h
        127.0.0.1 <- Priority: 1
        127.0.0.1 <- Application: Macro
        127.0.0.1 <- AppData: hangupcall,
        127.0.0.1 <- Uniqueid: 1446820906.2

        127.0.0.1 <- Event: Newexten
        127.0.0.1 <- Privilege: dialplan,all
        127.0.0.1 <- Channel: SIP/502-00000002
        127.0.0.1 <- Context: macro-hangupcall
        127.0.0.1 <- Extension: s
        127.0.0.1 <- Priority: 1
        127.0.0.1 <- Application: GotoIf
        127.0.0.1 <- AppData: 1?endmixmoncheck
        127.0.0.1 <- Uniqueid: 1446820906.2

        127.0.0.1 <- Event: Newexten
        127.0.0.1 <- Privilege: dialplan,all
        127.0.0.1 <- Channel: SIP/502-00000002
        127.0.0.1 <- Context: macro-hangupcall
        127.0.0.1 <- Extension: s
        127.0.0.1 <- Priority: 9
        127.0.0.1 <- Application: NoOp
        127.0.0.1 <- AppData: End of MIXMON check
        127.0.0.1 <- Uniqueid: 1446820906.2

        127.0.0.1 <- Event: Newexten
        127.0.0.1 <- Privilege: dialplan,all
        127.0.0.1 <- Channel: SIP/502-00000002
        127.0.0.1 <- Context: macro-hangupcall
        127.0.0.1 <- Extension: s
        127.0.0.1 <- Priority: 10
        127.0.0.1 <- Application: GotoIf
        127.0.0.1 <- AppData: 1?nomeetmemon
        127.0.0.1 <- Uniqueid: 1446820906.2

        Edited...

        Exiting...

        Thank you for the support

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

          Run fop2_server with debug level to 511 (full debug), and perform the same test and look at whatever you see just after the blindxfer (it seem your current capture has only level 15 debug).

          1 Reply Last reply
          0
          • A
            A
            asilem87
            wrote on last edited by
            #5

            Hi admin,

            I ran debug using following commands:

            service fop2 stop
            cd /usr/local/fop2
            script capture.log
            ./fop2_server -X 511

            Then I establish call between two extensions (502 and 302), logged into the fop panel using credentials from 502 extension and tried to transfer a call to the parking lot, but nothing happened. Please find attached my debug file.

            Thank you,
            Kind regards

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

              Here is the relevant line in the log:

              PARK/DEFAULT no definido (PARK/DEFAULT)

              Inspect the output from /usr/local/fop2/autoconfig-buttons.sh and look for the PARK button definition, can you share the entry here? (just the [park/xxx] button, not the rest)

              1 Reply Last reply
              0
              • A
                A
                asilem87
                wrote on last edited by
                #7

                I inspected autoconfig-buttons.sh but pattern park was not found there. Then I inspected autoconfig-buttons-freepbx.sh and I found:

                #PARKSLOT=/usr/sbin/asterisk -rx "dialplan show parkedcalls" | grep "=>" | cut -d= -f1 | sed s/\'//g | sed 's/ //g'
                #if [ "X${PARKSLOT}" != "X" ]; then
                #echo
                #echo "[PARK/default]"
                #echo "extension=${PARKSLOT}"
                #echo "context=parkedcalls"
                #echo "type=park"
                #echo "Label=Park ${PARKSLOT}"
                #echo
                #fi

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

                  autoconfig buttons uses the fop2 manager configuration tables, fop2 manager uses specific backend functions to retrieve button information, including park buttons.

                  Now, if you attempted to park it means you do see a park button in the panel display, and if you are using autoconfiguration, then it must appear as output from your autoconfiguration script. As I do not know anything about your specific installation I cannot provide a concise answer, but somewhere in your config there is a park button definition, otherwise you won't be seeing the park button in the first place. That park button definition is key to your problem, as it seems it is not named PARK/DEFAULT but something different, and it is important to find out to be able to fix your configuration.

                  1 Reply Last reply
                  0
                  • A
                    A
                    asilem87
                    wrote on last edited by
                    #9

                    Hi admin,

                    Here is my output from /usr/local/fop2/autoconfig-buttons.sh (Last time I did vi autoconfig-buttons.sh instead of executing it, sorry my mistake)

                    [PARK/default]
                    type=park
                    label=Default Lot
                    context=parkedcalls
                    autoanswerheader=__SIPADDHEADER51=Call-Info=answer-after=0.001

                    Thx

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

                      If you see that it makes no sense, as PARK/default exists and is defined. Did you modify fop2.cfg in any way besides settings the manager user and secret? Did you add buttonfile lines, user lines? Do you have an #exec line in /usr/local/fop2/fop2.cfg ? If so, what does that #exec line says completely? Also, maybe you have an /etc/asterisk/fop2/fop2.cfg file? If you do, do you have an #exec in there?

                      1 Reply Last reply
                      0
                      • A
                        A
                        asilem87
                        wrote on last edited by
                        #11

                        No I have never changed anything after installation (I just execute command /usr/local/fop2/generate_override_contexts.pl -write).

                        I have installed fop2 using official installation documentation from this webiste. I have Centos 6.5, Asterisk 13.0 and Elastix 2.5.

                        Here are all located fop2 direcotries:

                        /etc/sysconfig/fop2
                        /etc/rc.d/init.d/fop2
                        /usr/src/fop2
                        /usr/local/fop2
                        /var/www/html/fop2

                        I found #excec line just in /usr/local/fop2/fop2.cfg and it says:

                        #exec autoconfig-users.sh

                        Also I am able to see park default button from interface, as shown in attached picture.

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

                          If your button is defined and its named PARK/default, then it makes no sense to see a "not defined Park/Default" in the logs.

                          Do you have a licensed FOP2?

                          I am online at the live help if you want to chat.

                          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