BTW, hate to reply to myself, but here is what "core show channels"
shows for the stuck call:
SIP/2754-0849ce68 2760 at parkreturn:1 Up (None)
Also, below is the core show channel on the SIP channel:
-- General --
Name: SIP/2754-0849ce68
Type: SIP
UniqueID: 1235508605.71766
Caller ID: 2754
Caller ID Name: (N/A)
DNID Digits: (N/A)
State: Up (6)
Rings: 0
NativeFormats: 0x4 (ulaw)
WriteFormat: 0x4 (ulaw)
ReadFormat: 0x4 (ulaw)
WriteTranscode: No
ReadTranscode: No
1st File Descriptor: 132
Frames in: 0
Frames out: 0
Time to Hangup: 0
Elapsed Time: 17h54m39s
Direct Bridge: <none>
Indirect Bridge: <none>
-- PBX --
Context: parkreturn
Extension: 2760
Priority: 1
Call Group: 0
Pickup Group: 0
Application: (N/A)
Data: (None)
Blocking in: (Not Blocking)
Variables:
RTPAUDIOQOS=ssrc=724684267;themssrc=2145401849;lp=0;rxjitter=0.000036;rxcount=6;txjitter=0.000000;txcount=6;rlp=0;rtt=0.000000
RECALLEXTEN=2760
PARKINGEXTEN=792
SIPTRANSFER_REFERER=2760 at 10.10.220.2
SIPTRANSFER=yes
SIPDOMAIN=10.10.220.2
BLINDTRANSFER=SIP/2760-b2e42b60
BRIDGEPEER=SIP/2760-b2e42b60
DIALEDPEERNUMBER=2754
SIPCALLID=60001c104135b9967ef3d91d6649cbee at 10.10.220.2
SIPADDHEADER01=Alert-Info: info=<Bellcore-dr4>
CDR Variables:
level 1: clid=2760
level 1: src=2760
level 1: dst=792
level 1: dcontext=analog-voip
level 1: channel=SIP/2754-0849ce68
level 1: lastapp=ParkAndAnnounce
level 1: lastdata=PARKED|180|Local/parkedannounce at
parallelparking|parkreturn|2760|1
level 1: start=2009-02-24 14:49:10
level 1: answer=2009-02-24 14:49:14
level 1: end=2009-02-24 14:49:14
level 1: duration=0
level 1: billsec=0
level 1: disposition=ANSWERED
level 1: amaflags=DOCUMENTATION
level 1: uniqueid=1235508550.71744
Jonathan Bailey
Marshall County, Iowa
1 E Main St, Marshalltown, IA 50158
----- Original Message -----
From: "Jonathan C. Bailey" <jbailey at co.marshall.ia.us>
To: asterisk-users at lists.digium.com
Sent: Wednesday, February 25, 2009 8:39:42 AM GMT -06:00 US/Canada Central
Subject: [asterisk-users] Stuck Parked Calls?
I've lurked for a while, but I think this is one of my first
"pleas" for help. I'm having issues where a parked call using the
macro below is getting "stuck". Users park the call via a blfxfer key
on an Aastra phone. If the call is a blind transfer, it tries to park the call.
If it isn't a blind transfer, it tries to unpark the call. Only 2 extensions
(2759 and 2760) are doing the parking. The other extensions only pick up calls
(by dialing the 3 digit park code. The phone shows as in use and there is a call
that I see via "core show channels". I can't seem to soft hangup
the stuck channel either. Only killing Asterisk forcefully will solve the issue.
We're running Asterisk 1.4.18.
Thanks for any help!
[parallelparking]
exten => _7[89]X,1,Noop(Attempting to parallel park...)
exten => _7[89]X,n,Answer
exten => _7[89]X,n,Set(PARKINGEXTEN=${EXTEN})
exten => _7[89]X,n,GotoIf($["${BLINDTRANSFER}" !=
""]?dopark:dounpark)
exten => _7[89]X,n(dopark),Noop(Going to try to park this call)
exten => _7[89]X,n,Set(RECALLEXTEN=${BLINDTRANSFER:4:4})
exten => _7[89]X,n,ParkAndAnnounce(PARKED|180|Local/parkedannounce at
parallelparking|parkreturn,${RECALLEXTEN},1)
exten => _7[89]X,n,Hangup
exten => _7[89]X,n(dounpark),Noop(Going to try to un-park this call)
exten => _7[89]X,n,ParkedCall(${EXTEN})
exten => _7[89]X,n,Hangup
exten => parkedannounce,1,Noop
exten => parkedannounce,n,Answer
exten => parkedannounce,n,Wait(1)
exten => parkedannounce,n,Hangup
[parkreturn]
exten => _XXXX,1,Noop(Returning Parked Call)
exten => _XXXX,n,SIPAddHeader(Alert-Info:
info=<${AASTRA_PARKRINGBACK}>)
exten => _XXXX,n,Set(CALLERID(name)=FrPark:${CALLERID(name)})
exten => _XXXX,n,Dial(SIP/${EXTEN},60)
exten => _XXXX,n,Hangup
Jonathan Bailey
Marshall County, Iowa
1 E Main St, Marshalltown, IA 50158
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users