Transfer does not work with Parking Lot however it works with extensions and queues
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
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
Comments
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
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
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)
#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
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.
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
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.
Do you have a licensed FOP2?
I am online at the live help if you want to chat.