Help with Call Parking

I am using Asterisk 1.6.2.7 and FOP2 2.11. I believe I have everything working correctly but I cannot get it to display call parking.

I have added the
[fop2-park]
exten => _X.,1,Set(ARRAY(RETURN_EXTENSION,RETURN_CONTEXT)=${CUT(EXTEN,:,1)}\,${CUT(EXTEN,:,2)})
exten => _X.,n,ParkAndAnnounce(PARKED,,Console/dsp,${RETURN_CONTEXT},${RETURN_EXTENSION},1)
exten => _X.,n,Goto(${RETURN_CONTEXT},${RETURN_EXTENSION},1)
exten => _X.,n,Hangup
to the bottom of my existing extensions.conf file. Do I need to add an include someplace else for it? Also I have call parking enabled from the features.conf, I am assuming that is to stay enabled and that the above code is not taking the place of the features.conf parking. Is this a correct assumption?

Then in the buttons.cfg file I have added
[PARK/default]
type=park
extension=700
label=Parking
context=parkedcalls
which matches my parking extension from features.conf.

What I get on a call transfer is the call comes in and is answered. The extension called presses the transfer button on the phone and dials 700. The recording plays back that the call is on extension 701. During this time on FOP2 it shows the call in the Parking Slot section in the upper right of the page. As soon as the caller hits the transfer button the second time from the phone to release the call to the parking lot, it disappears from the FOP2 page.

From the Asterisk CLI if you type parkedcalls show it will list the calls sitting in the parking lot.

What am I doing wrong that the parked calls do not show in the FOP2 page?

Comments

  • Ran fop2_server -X 15 and got the following log:

    199 is from a remote Asterisk box coming across a IAX2 trunk. 214 is a local extension.

    199 calls 214.
    214 picks up the call.
    214 does an attended transfer to 700.
    700 plays back that the call is on 701.
    214 presses the transfer button to release the call into the parking lot.

    127.0.0.1       <- Event: Newchannel
    127.0.0.1       <- Privilege: call,all
    127.0.0.1       <- Channel: IAX2/apc-6305
    127.0.0.1       <- ChannelState: 4
    127.0.0.1       <- ChannelStateDesc: Ring
    127.0.0.1       <- CallerIDNum: 199
    127.0.0.1       <- CallerIDName: Info Services
    127.0.0.1       <- AccountCode: 
    127.0.0.1       <- Exten: 214
    127.0.0.1       <- Context: longdistance
    127.0.0.1       <- Uniqueid: 1273515763.1130
    127.0.0.1       <- Server: 0
    
    127.0.0.1       <- Event: ChannelUpdate
    127.0.0.1       <- Privilege: system,all
    127.0.0.1       <- Channel: 
    127.0.0.1       <- Channeltype: IAX2
    127.0.0.1       <- IAX2-callno-local: 6305
    127.0.0.1       <- IAX2-callno-remote: 19475
    127.0.0.1       <- IAX2-peer: 
    127.0.0.1       <- Server: 0
    
    127.0.0.1       <- Event: Newchannel
    127.0.0.1       <- Privilege: call,all
    127.0.0.1       <- Channel: SIP/214-000002cb
    127.0.0.1       <- ChannelState: 0
    127.0.0.1       <- ChannelStateDesc: Down
    127.0.0.1       <- CallerIDNum: 
    127.0.0.1       <- CallerIDName: 
    127.0.0.1       <- AccountCode: 
    127.0.0.1       <- Exten: 
    127.0.0.1       <- Context: international
    127.0.0.1       <- Uniqueid: 1273515763.1131
    127.0.0.1       <- Server: 0
    
    127.0.0.1       <- Event: ChannelUpdate
    127.0.0.1       <- Privilege: system,all
    127.0.0.1       <- Channel: SIP/214-000002cb
    127.0.0.1       <- Uniqueid: 1273515763.1131
    127.0.0.1       <- Channeltype: SIP
    127.0.0.1       <- SIPcallid: 0beefc9b1590ea183b0ca7733cafbdfa@10.1.4.9
    127.0.0.1       <- SIPfullcontact: sip:214@10.1.3.114
    127.0.0.1       <- Server: 0
    
    127.0.0.1       <- Event: ChannelUpdate
    127.0.0.1       <- Privilege: system,all
    127.0.0.1       <- Channel: SIP/214-000002cb
    127.0.0.1       <- Channeltype: SIP
    127.0.0.1       <- SIPcallid: 0beefc9b1590ea183b0ca7733cafbdfa@10.1.4.9
    127.0.0.1       <- SIPfullcontact: sip:214@10.1.3.114
    127.0.0.1       <- Peername: 214
    127.0.0.1       <- Server: 0
    
    127.0.0.1       <- Event: Dial
    127.0.0.1       <- Privilege: call,all
    127.0.0.1       <- SubEvent: Begin
    127.0.0.1       <- Channel: IAX2/apc-6305
    127.0.0.1       <- Destination: SIP/214-000002cb
    127.0.0.1       <- CallerIDNum: 199
    127.0.0.1       <- CallerIDName: Info Services
    127.0.0.1       <- UniqueID: 1273515763.1130
    127.0.0.1       <- DestUniqueID: 1273515763.1131
    127.0.0.1       <- Dialstring: 214
    127.0.0.1       <- Server: 0
    
    127.0.0.1       <- Event: NewCallerid
    127.0.0.1       <- Privilege: call,all
    127.0.0.1       <- Channel: SIP/214-000002cb
    127.0.0.1       <- CallerIDNum: 214
    127.0.0.1       <- CallerIDName: 
    127.0.0.1       <- Uniqueid: 1273515763.1131
    127.0.0.1       <- CID-CallingPres: 0 (Presentation Allowed, Not Screened)
    127.0.0.1       <- Server: 0
    
    127.0.0.1       <- Event: ExtensionStatus
    127.0.0.1       <- Privilege: call,all
    127.0.0.1       <- Exten: 214
    127.0.0.1       <- Context: inside
    127.0.0.1       <- Hint: SIP/214
    127.0.0.1       <- Status: 8
    127.0.0.1       <- Server: 0
    
    10.1.4.91       => { 'btn': '6@GENERAL', 'cmd': 'settext', 'data': '199 Info Services', 'slot': '1' }
    
    10.1.4.91       => { 'btn': '6@GENERAL', 'cmd': 'direction', 'data': 'inbound', 'slot': '1' }
    
    10.1.4.91       => { 'btn': '12@GENERAL', 'cmd': 'settext', 'data': '214', 'slot': '1' }
    
    10.1.4.91       => { 'btn': '12@GENERAL', 'cmd': 'direction', 'data': 'outbound', 'slot': '1' }
    
    127.0.0.1       <- Event: Newstate
    127.0.0.1       <- Privilege: call,all
    127.0.0.1       <- Channel: SIP/214-000002cb
    127.0.0.1       <- ChannelState: 5
    127.0.0.1       <- ChannelStateDesc: Ringing
    127.0.0.1       <- CallerIDNum: 214
    127.0.0.1       <- CallerIDName: 
    127.0.0.1       <- Uniqueid: 1273515763.1131
    127.0.0.1       <- Server: 0
    
    10.1.4.91       => { 'btn': '6@GENERAL', 'cmd': 'settimer', 'data': '0@UP', 'slot': '1' }
    
    10.1.4.91       => { 'btn': '6@GENERAL', 'cmd': 'state', 'data': 'RINGING', 'slot': '1' }
    
    10.1.4.91       => { 'btn': '6@GENERAL', 'cmd': 'clidnum', 'data': 'MTk5', 'slot': '1' }
    
    10.1.4.91       => { 'btn': '6@GENERAL', 'cmd': 'clidname', 'data': 'SW5mbyBTZXJ2aWNlcw==', 'slot': '1' }
    
    10.1.4.91       => { 'btn': '6@GENERAL', 'cmd': 'notifyringing', 'data': '1', 'slot': '' }
    
    10.1.4.91       => { 'btn': '6@GENERAL', 'cmd': 'settext', 'data': '199 Info Services', 'slot': '1' }
    
    127.0.0.1       <- Event: ChannelUpdate
    127.0.0.1       <- Privilege: system,all
    127.0.0.1       <- Channel: SIP/214-000002cb
    127.0.0.1       <- Channeltype: SIP
    127.0.0.1       <- Uniqueid: 1273515763.1131
    127.0.0.1       <- SIPcallid: 0beefc9b1590ea183b0ca7733cafbdfa@10.1.4.9
    127.0.0.1       <- SIPfullcontact: sip:214@10.1.3.114
    127.0.0.1       <- Peername: 214
    127.0.0.1       <- Server: 0
    
    127.0.0.1       <- Event: Newstate
    127.0.0.1       <- Privilege: call,all
    127.0.0.1       <- Channel: SIP/214-000002cb
    127.0.0.1       <- ChannelState: 6
    127.0.0.1       <- ChannelStateDesc: Up
    127.0.0.1       <- CallerIDNum: 214
    127.0.0.1       <- CallerIDName: 
    127.0.0.1       <- Uniqueid: 1273515763.1131
    127.0.0.1       <- Server: 0
    
    127.0.0.1       <- Event: ChannelUpdate
    127.0.0.1       <- Privilege: system,all
    127.0.0.1       <- Channel: IAX2/apc-6305
    127.0.0.1       <- Channeltype: IAX2
    127.0.0.1       <- IAX2-callno-local: 6305
    127.0.0.1       <- IAX2-callno-remote: 19475
    127.0.0.1       <- IAX2-peer: 
    127.0.0.1       <- Server: 0
    
    127.0.0.1       <- Event: Newstate
    127.0.0.1       <- Privilege: call,all
    127.0.0.1       <- Channel: IAX2/apc-6305
    127.0.0.1       <- ChannelState: 6
    127.0.0.1       <- ChannelStateDesc: Up
    127.0.0.1       <- CallerIDNum: 199
    127.0.0.1       <- CallerIDName: Info Services
    127.0.0.1       <- Uniqueid: 1273515763.1130
    127.0.0.1       <- Server: 0
    
    127.0.0.1       <- Event: ExtensionStatus
    127.0.0.1       <- Privilege: call,all
    127.0.0.1       <- Exten: 214
    127.0.0.1       <- Context: inside
    127.0.0.1       <- Hint: SIP/214
    127.0.0.1       <- Status: 1
    127.0.0.1       <- Server: 0
    
    127.0.0.1       <- Event: NewAccountCode
    127.0.0.1       <- Privilege: call,all
    127.0.0.1       <- Channel: SIP/214-000002cb
    127.0.0.1       <- Uniqueid: 1273515763.1131
    127.0.0.1       <- AccountCode: 
    127.0.0.1       <- OldAccountCode: 
    127.0.0.1       <- Server: 0
    
    127.0.0.1       <- Event: Bridge
    127.0.0.1       <- Privilege: call,all
    127.0.0.1       <- Bridgestate: Link
    127.0.0.1       <- Bridgetype: core
    127.0.0.1       <- Channel1: IAX2/apc-6305
    127.0.0.1       <- Channel2: SIP/214-000002cb
    127.0.0.1       <- Uniqueid1: 1273515763.1130
    127.0.0.1       <- Uniqueid2: 1273515763.1131
    127.0.0.1       <- CallerID1: 199
    127.0.0.1       <- CallerID2: 214
    127.0.0.1       <- Server: 0
    
    10.1.4.91       => { 'btn': '6@GENERAL', 'cmd': 'settimer', 'data': '0@UP', 'slot': '1' }
    
    10.1.4.91       => { 'btn': '6@GENERAL', 'cmd': 'state', 'data': 'UP', 'slot': '1' }
    
    10.1.4.91       => { 'btn': '6@GENERAL', 'cmd': 'settext', 'data': '199 Info Services', 'slot': '1' }
    
    10.1.4.91       => { 'btn': '12@GENERAL', 'cmd': 'settimer', 'data': '0@UP', 'slot': '1' }
    
    10.1.4.91       => { 'btn': '12@GENERAL', 'cmd': 'state', 'data': 'UP', 'slot': '1' }
    
    10.1.4.91       => { 'btn': '12@GENERAL', 'cmd': 'settext', 'data': '1 lines in use', 'slot': '0' }
    
    10.1.4.91       => { 'btn': '12@GENERAL', 'cmd': 'details', 'data': 'PGRpdiBjbGFzcz0nZW50cmFudGUgbXljbGljaycgaWQ9J3RybmstSUFYMi9hcGMtNjMwNSc+PC9kaXY+PGRpdiBzdHlsZT0nZmxvYXQ6bGVmdDsnPklBWDIvYXBjLTYzMDU8L2Rpdj48ZGl2IHN0eWxlPSdmbG9hdDpyaWdodDsnPjE5OTwvZGl2PjxiciBjbGFzcz0nY2xlYXInIC8+Cg==', 'slot': '' }
    
    10.1.4.91       => { 'btn': '12@GENERAL', 'cmd': 'settext', 'data': '214', 'slot': '1' }
    
    10.1.4.91       => { 'btn': '6@GENERAL', 'cmd': 'settext', 'data': '199', 'slot': '1' }
    
    127.0.0.1       <- Event: Hold
    127.0.0.1       <- Privilege: call,all
    127.0.0.1       <- Status: On
    127.0.0.1       <- Channel: SIP/214-000002cb
    127.0.0.1       <- Uniqueid: 1273515763.1131
    127.0.0.1       <- Server: 0
    
    127.0.0.1       <- Event: MusicOnHold
    127.0.0.1       <- Privilege: call,all
    127.0.0.1       <- State: Start
    127.0.0.1       <- Channel: IAX2/apc-6305
    127.0.0.1       <- UniqueID: 1273515763.1130
    127.0.0.1       <- Server: 0
    
    10.1.4.91       <= <msg data="1|ping||" />
    10.1.4.91       => { 'btn': '6@GENERAL', 'cmd': 'state', 'data': 'HOLD', 'slot': '1' }
    
    10.1.4.91       => { 'btn': '0', 'cmd': 'pong', 'data': '0', 'slot': '' }
    
    127.0.0.1       <- Event: Newchannel
    127.0.0.1       <- Privilege: call,all
    127.0.0.1       <- Channel: SIP/214-000002cc
    127.0.0.1       <- ChannelState: 0
    127.0.0.1       <- ChannelStateDesc: Down
    127.0.0.1       <- CallerIDNum: 214
    127.0.0.1       <- CallerIDName: P Smith
    127.0.0.1       <- AccountCode: infoserv
    127.0.0.1       <- Exten: 700
    127.0.0.1       <- Context: international
    127.0.0.1       <- Uniqueid: 1273515771.1132
    127.0.0.1       <- Server: 0
    
    127.0.0.1       <- Event: ChannelUpdate
    127.0.0.1       <- Privilege: system,all
    127.0.0.1       <- Channel: SIP/214-000002cc
    127.0.0.1       <- Uniqueid: 1273515771.1132
    127.0.0.1       <- Channeltype: SIP
    127.0.0.1       <- SIPcallid: 6891cba0-da9f929a-45f2ce15@10.1.3.114
    127.0.0.1       <- SIPfullcontact: sip:214@10.1.3.114
    127.0.0.1       <- Server: 0
    
    127.0.0.1       <- Event: Newstate
    127.0.0.1       <- Privilege: call,all
    127.0.0.1       <- Channel: SIP/214-000002cc
    127.0.0.1       <- ChannelState: 4
    127.0.0.1       <- ChannelStateDesc: Ring
    127.0.0.1       <- CallerIDNum: 214
    127.0.0.1       <- CallerIDName: P Smith
    127.0.0.1       <- Uniqueid: 1273515771.1132
    127.0.0.1       <- Server: 0
    
    127.0.0.1       <- Event: Newstate
    127.0.0.1       <- Privilege: call,all
    127.0.0.1       <- Channel: SIP/214-000002cc
    127.0.0.1       <- ChannelState: 6
    127.0.0.1       <- ChannelStateDesc: Up
    127.0.0.1       <- CallerIDNum: 214
    127.0.0.1       <- CallerIDName: P Smith
    127.0.0.1       <- Uniqueid: 1273515771.1132
    127.0.0.1       <- Server: 0
    
    10.1.4.91       => { 'btn': '6@GENERAL', 'cmd': 'settimer', 'data': '0@UP', 'slot': '2' }
    
    10.1.4.91       => { 'btn': '6@GENERAL', 'cmd': 'state', 'data': 'UP', 'slot': '2' }
    
    10.1.4.91       => { 'btn': '6@GENERAL', 'cmd': 'settext', 'data': '214 P Smith', 'slot': '2' }
    
    10.1.4.91       => { 'btn': '6@GENERAL', 'cmd': 'settimer', 'data': '0@UP', 'slot': '2' }
    
    10.1.4.91       => { 'btn': '6@GENERAL', 'cmd': 'state', 'data': 'UP', 'slot': '2' }
    
    10.1.4.91       => { 'btn': '6@GENERAL', 'cmd': 'settext', 'data': '214 P Smith', 'slot': '2' }
    
    127.0.0.1       <- Event: Newchannel
    127.0.0.1       <- Privilege: call,all
    127.0.0.1       <- Channel: Parked/SIP/214-000002cc
    127.0.0.1       <- ChannelState: 0
    127.0.0.1       <- ChannelStateDesc: Down
    127.0.0.1       <- CallerIDNum: 
    127.0.0.1       <- CallerIDName: 
    127.0.0.1       <- AccountCode: infoserv
    127.0.0.1       <- Exten: s
    127.0.0.1       <- Context: international
    127.0.0.1       <- Uniqueid: 1273515772.1133
    127.0.0.1       <- Server: 0
    
    127.0.0.1       <- Event: Masquerade
    127.0.0.1       <- Privilege: call,all
    127.0.0.1       <- Clone: SIP/214-000002cc
    127.0.0.1       <- CloneState: Up
    127.0.0.1       <- Original: Parked/SIP/214-000002cc
    127.0.0.1       <- OriginalState: Down
    127.0.0.1       <- Server: 0
    
    127.0.0.1       <- Event: Rename
    127.0.0.1       <- Privilege: call,all
    127.0.0.1       <- Channel: SIP/214-000002cc
    127.0.0.1       <- Newname: SIP/214-000002cc<MASQ>
    127.0.0.1       <- Uniqueid: 1273515771.1132
    127.0.0.1       <- Server: 0
    
    127.0.0.1       <- Event: Rename
    127.0.0.1       <- Privilege: call,all
    127.0.0.1       <- Channel: Parked/SIP/214-000002cc
    127.0.0.1       <- Newname: SIP/214-000002cc
    127.0.0.1       <- Uniqueid: 1273515772.1133
    127.0.0.1       <- Server: 0
    
    127.0.0.1       <- Event: Rename
    127.0.0.1       <- Privilege: call,all
    127.0.0.1       <- Channel: SIP/214-000002cc<MASQ>
    127.0.0.1       <- Newname: Parked/SIP/214-000002cc<ZOMBIE>
    127.0.0.1       <- Uniqueid: 1273515771.1132
    127.0.0.1       <- Server: 0
    
    127.0.0.1       <- Event: NewCallerid
    127.0.0.1       <- Privilege: call,all
    127.0.0.1       <- Channel: SIP/214-000002cc
    127.0.0.1       <- CallerIDNum: 214
    127.0.0.1       <- CallerIDName: P Smith
    127.0.0.1       <- Uniqueid: 1273515772.1133
    127.0.0.1       <- CID-CallingPres: 0 (Presentation Allowed, Not Screened)
    127.0.0.1       <- Server: 0
    
    127.0.0.1       <- Event: ParkedCall
    127.0.0.1       <- Privilege: call,all
    127.0.0.1       <- Exten: 701
    127.0.0.1       <- Channel: SIP/214-000002cc
    127.0.0.1       <- Parkinglot: default
    127.0.0.1       <- From: SIP/214-000002cc
    127.0.0.1       <- Timeout: 45
    127.0.0.1       <- CallerIDNum: 214
    127.0.0.1       <- CallerIDName: P Smith
    127.0.0.1       <- Uniqueid: 1273515772.1133
    127.0.0.1       <- Server: 0
    
    10.1.4.91       => { 'btn': '13@GENERAL', 'cmd': 'details', 'data': 'PGRpdiBpZD0ncGFyay1TSVAvMjE0LTAwMDAwMmNjJyBjbGFzcz0nc2FsaWVudGUgbXljbGljayc+PC9kaXY+PGRpdiBzdHlsZT0nZmxvYXQ6bGVmdDsnPjcwMSZuYnNwOzwvZGl2PjxkaXYgc3R5bGU9J2Zsb2F0OmxlZnQ7Jz4yMTQgUGhpbCBTbWl0aDwvZGl2PjxkaXYgc3R5bGU9J2Zsb2F0OnJpZ2h0Oyc+KDIxNCk8L2Rpdj48YnIgY2xhc3M9J2NsZWFyJyAvPgo=', 'slot': '0' }
    
    127.0.0.1       <- Event: MusicOnHold
    127.0.0.1       <- Privilege: call,all
    127.0.0.1       <- State: Start
    127.0.0.1       <- Channel: SIP/214-000002cc
    127.0.0.1       <- UniqueID: 1273515772.1133
    127.0.0.1       <- Server: 0
    
    127.0.0.1       <- Event: Hangup
    127.0.0.1       <- Privilege: call,all
    127.0.0.1       <- Channel: Parked/SIP/214-000002cc<ZOMBIE>
    127.0.0.1       <- Uniqueid: 1273515771.1132
    127.0.0.1       <- CallerIDNum: <unknown>
    127.0.0.1       <- CallerIDName: <unknown>
    127.0.0.1       <- Cause: 0
    127.0.0.1       <- Cause-txt: Unknown
    127.0.0.1       <- Server: 0
    
    127.0.0.1       <- Event: Transfer
    127.0.0.1       <- Privilege: call,all
    127.0.0.1       <- TransferMethod: SIP
    127.0.0.1       <- TransferType: Attended
    127.0.0.1       <- Channel: SIP/214-000002cb
    127.0.0.1       <- Uniqueid: 1273515763.1131
    127.0.0.1       <- SIP-Callid: 0beefc9b1590ea183b0ca7733cafbdfa@10.1.4.9
    127.0.0.1       <- TargetChannel: SIP/214-000002cc
    127.0.0.1       <- TargetUniqueid: 1273515772.1133
    127.0.0.1       <- Server: 0
    
    127.0.0.1       <- Event: MusicOnHold
    127.0.0.1       <- Privilege: call,all
    127.0.0.1       <- State: Stop
    127.0.0.1       <- Channel: SIP/214-000002cc
    127.0.0.1       <- UniqueID: 1273515772.1133
    127.0.0.1       <- Server: 0
    
    127.0.0.1       <- Event: MusicOnHold
    127.0.0.1       <- Privilege: call,all
    127.0.0.1       <- State: Stop
    127.0.0.1       <- Channel: IAX2/apc-6305
    127.0.0.1       <- UniqueID: 1273515763.1130
    127.0.0.1       <- Server: 0
    
    127.0.0.1       <- Event: MusicOnHold
    127.0.0.1       <- Privilege: call,all
    127.0.0.1       <- State: Stop
    127.0.0.1       <- Channel: IAX2/apc-6305
    127.0.0.1       <- UniqueID: 1273515763.1130
    127.0.0.1       <- Server: 0
    
    127.0.0.1       <- Event: Masquerade
    127.0.0.1       <- Privilege: call,all
    127.0.0.1       <- Clone: IAX2/apc-6305
    127.0.0.1       <- CloneState: Up
    127.0.0.1       <- Original: SIP/214-000002cc
    127.0.0.1       <- OriginalState: Up
    127.0.0.1       <- Server: 0
    
    127.0.0.1       <- Event: Rename
    127.0.0.1       <- Privilege: call,all
    127.0.0.1       <- Channel: IAX2/apc-6305
    127.0.0.1       <- Newname: IAX2/apc-6305<MASQ>
    127.0.0.1       <- Uniqueid: 1273515763.1130
    127.0.0.1       <- Server: 0
    
    127.0.0.1       <- Event: Rename
    127.0.0.1       <- Privilege: call,all
    127.0.0.1       <- Channel: SIP/214-000002cc
    127.0.0.1       <- Newname: IAX2/apc-6305
    127.0.0.1       <- Uniqueid: 1273515772.1133
    127.0.0.1       <- Server: 0
    
    127.0.0.1       <- Event: Rename
    127.0.0.1       <- Privilege: call,all
    127.0.0.1       <- Channel: IAX2/apc-6305<MASQ>
    127.0.0.1       <- Newname: SIP/214-000002cc<ZOMBIE>
    127.0.0.1       <- Uniqueid: 1273515763.1130
    127.0.0.1       <- Server: 0
    
    127.0.0.1       <- Event: NewCallerid
    127.0.0.1       <- Privilege: call,all
    127.0.0.1       <- Channel: IAX2/apc-6305
    127.0.0.1       <- CallerIDNum: 199
    127.0.0.1       <- CallerIDName: Info Services
    127.0.0.1       <- Uniqueid: 1273515772.1133
    127.0.0.1       <- CID-CallingPres: 0 (Presentation Allowed, Not Screened)
    127.0.0.1       <- Server: 0
    
    127.0.0.1       <- Event: MusicOnHold
    127.0.0.1       <- Privilege: call,all
    127.0.0.1       <- State: Start
    127.0.0.1       <- Channel: IAX2/apc-6305
    127.0.0.1       <- UniqueID: 1273515772.1133
    127.0.0.1       <- Server: 0
    
    127.0.0.1       <- Event: Unlink
    127.0.0.1       <- Privilege: call,all
    127.0.0.1       <- Channel1: SIP/214-000002cc<ZOMBIE>
    127.0.0.1       <- Channel2: SIP/214-000002cb
    127.0.0.1       <- Uniqueid1: 1273515763.1130
    127.0.0.1       <- Uniqueid2: 1273515763.1131
    127.0.0.1       <- CallerID1: 214
    127.0.0.1       <- CallerID2: 214
    127.0.0.1       <- Server: 0
    
    127.0.0.1       <- Event: ExtensionStatus
    127.0.0.1       <- Privilege: call,all
    127.0.0.1       <- Exten: 214
    127.0.0.1       <- Context: inside
    127.0.0.1       <- Hint: SIP/214
    127.0.0.1       <- Status: 0
    127.0.0.1       <- Server: 0
    
    127.0.0.1       <- Event: Hangup
    127.0.0.1       <- Privilege: call,all
    127.0.0.1       <- Channel: SIP/214-000002cb
    127.0.0.1       <- Uniqueid: 1273515763.1131
    127.0.0.1       <- CallerIDNum: 214
    127.0.0.1       <- CallerIDName: <unknown>
    127.0.0.1       <- Cause: 16
    127.0.0.1       <- Cause-txt: Normal Clearing
    127.0.0.1       <- Server: 0
    
    127.0.0.1       <- Event: Dial
    127.0.0.1       <- Privilege: call,all
    127.0.0.1       <- SubEvent: End
    127.0.0.1       <- Channel: SIP/214-000002cc<ZOMBIE>
    127.0.0.1       <- UniqueID: 1273515763.1130
    127.0.0.1       <- DialStatus: ANSWER
    127.0.0.1       <- Server: 0
    
    127.0.0.1       <- Event: Hangup
    127.0.0.1       <- Privilege: call,all
    127.0.0.1       <- Channel: SIP/214-000002cc<ZOMBIE>
    127.0.0.1       <- Uniqueid: 1273515763.1130
    127.0.0.1       <- CallerIDNum: 214
    127.0.0.1       <- CallerIDName: P Smith
    127.0.0.1       <- Cause: 16
    127.0.0.1       <- Cause-txt: Normal Clearing
    127.0.0.1       <- Server: 0
    
    10.1.4.91       => { 'btn': '12@GENERAL', 'cmd': 'details', 'data': 'PGRpdiBjbGFzcz0nZW50cmFudGUgbXljbGljaycgaWQ9J3RybmstSUFYMi9hcGMtNjMwNSc+PC9kaXY+PGRpdiBzdHlsZT0nZmxvYXQ6bGVmdDsnPklBWDIvYXBjLTYzMDU8L2Rpdj48ZGl2IHN0eWxlPSdmbG9hdDpyaWdodDsnPjE5OTwvZGl2PjxiciBjbGFzcz0nY2xlYXInIC8+Cg==', 'slot': '0' }
    
    10.1.4.91       => { 'btn': '6@GENERAL', 'cmd': 'settimer', 'data': '0@STOP', 'slot': '1' }
    
    10.1.4.91       => { 'btn': '6@GENERAL', 'cmd': 'settext', 'data': 'Line 1 inactive', 'slot': '1' }
    
    10.1.4.91       => { 'btn': '6@GENERAL', 'cmd': 'state', 'data': 'DOWN', 'slot': '1' }
    
    10.1.4.91       => { 'btn': '13@GENERAL', 'cmd': 'details', 'data': '', 'slot': '0' }
    
    10.1.4.91       => { 'btn': '6@GENERAL', 'cmd': 'settimer', 'data': '0@STOP', 'slot': '2' }
    
    10.1.4.91       => { 'btn': '6@GENERAL', 'cmd': 'settext', 'data': 'Line 2 inactive', 'slot': '2' }
    
    10.1.4.91       => { 'btn': '6@GENERAL', 'cmd': 'state', 'data': 'DOWN', 'slot': '2' }
    
    10.1.4.91       => { 'btn': '6@GENERAL', 'cmd': 'state', 'data': 'DOWN', 'slot': '0' }
    
    Exiting...
    
  • Hello,

    The problem has to do with attendant transfers and parking. When you are parking a channel XX, but then that channel XX is destroyed and shortly after masqueraded as XY. Most probably FOP2 will report it correctly if you use a blind transfer, or perhaps the asterisk native attendant transfer instead of your phone attendant transfer.

    You can also experiment transferring to parking from the same fop2 page. This is one of the reasons parking was not implemented on the 1st fop2 release. It is not something "predictable". Events are mixed, channel names mangled, etc. On some asterisk versions is just plain broken.

    Maybe I will be able to handle this special situation, but that we might face a potential and more serious problem (persisten or stuck states in fop2) if not destroying the channel when asterisk reports it is actually gone.
  • Actually stuck states are why we were looking at FOP2. In FOP1, after we upgraded from Asterisk 1.2 to 1.6, the buttons we had for the parking lot would never release the button. The system functioned as it should as people were able to collected the parked calls and the parkedcalls show command always had the right information, but the FOP1 would never clear the parking lot extension.

    We will try the other methods of parking a call and see what we get. Thanks for the info!
Sign In or Register to comment.