Transfer does not work with Parking Lot however it works with extensions and queues
-
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.470587127.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.3127.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: 302127.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.2127.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.2127.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.2127.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.2Edited...
Exiting...
Thank you for the support
-
-
Hi admin,
I ran debug using following commands:
service fop2 stop
cd /usr/local/fop2
script capture.log
./fop2_server -X 511Then 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 -
-
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 -
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.
-
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.001Thx
-
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?
-
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/fop2I 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.
-
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