asilem87

Member

Last active 9 years ago

  1. 9 years ago
    Fri Nov 13 12:53:17 2015

    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.

  2. Fri Nov 13 09:30:29 2015

    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

  3. Tue Nov 10 14:54:45 2015

    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

  4. Tue Nov 10 11:41:31 2015

    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

  5. Fri Nov 6 14:49:00 2015

    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

  6. Mon Nov 2 15:34:50 2015

    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

  7. Wed Oct 14 14:08:32 2015
    asilem87 joined the forum.