[Home]

Summary:ASTERISK-17870: Cannot retrieve parked calls
Reporter:Remi Quezada (remiq)Labels:
Date Opened:2011-05-17 10:51:54Date Closed:2011-08-16 12:33:48
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Features/Parking
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) cli_parkedcall.txt
Description:When I use ParkAndAnnounce application the call gets parked to the proper parking lot, but I am unable to retrieve the call from the parking lot.  Asterisk always announces there is no call parked on that extension.  

In the CLI I am able to confirm that the call is parked in the proper parking lot by using 'parkedcalls show':

*** Parking lot: parkinglot_eng (5)
701                 SIP/mg2-00000024 (test            175          1   )      7s


****** ADDITIONAL INFORMATION ******

extensions.conf:

[test]
include => local-extensions-eng
include => parkedcalls-eng

exten => 2700,1,Set(CHANNEL(parkinglot)=parkinglot_eng)
exten => 2700,n,ParkAndAnnounce(PARKED,20,SIP/175-eng,test,175,1)

exten => 2701,1,Set(CHANNEL(parkinglot)=parkinglot_eng)
exten => 2701,n,ParkedCall(701)



sip.conf:

[175-eng]
qualify=no
nat=yes
accountcode=eng
callevents=yes
pickupgroup=6
callerid=Remi Quezada <175>
context=test
canreinvite=no
vmexten=175
callcounter=yes
parkinglot=parkinglot_eng
secret=*******
host=dynamic
username=175-eng
subscribecontext=local-extensions-eng
callgroup=6
dtmfmode=inband
type=friend
mailbox=175@default-eng
disallow=all
allow=ulaw

features.conf:

[parkinglot_eng]
context => parkedcalls-eng
parkingtime => 180
parkext => 700
parkpos => 701-704
findslot => next
Comments:By: Leif Madsen (lmadsen) 2011-05-31 09:42:07

I am not getting the same thing as you, but I do seem to be getting a bridging issue.

When I dial 2700 from a phone, I get parked fine.

<pre>

scrappy*CLI> parkedcalls show
Num                   Channel (Context         Extension    Pri ) Timeout
*** Parking lot: parkinglot_eng (1)
701        SIP/000E08CAC38E-00000014 (test            175          1   )      8s
</pre>

And the other phone is getting rung, and parking space 701 is announced.

But when I dial 2701 Asterisk appears to be doing the right thing, but I can't get the call back:

<pre>

   -- Executing [2701@internal:1] Set("SIP/0004f2297d42-00000018", "CHANNEL(parkinglot)=parkinglot_eng") in new stack
   -- Executing [2701@internal:2] ParkedCall("SIP/0004f2297d42-00000018", "701") in new stack
   -- Stopped music on hold on SIP/000E08CAC38E-00000016
   -- Channel SIP/0004f2297d42-00000018 connected to parked call 701
   -- Locally bridging SIP/0004f2297d42-00000018 and SIP/000E08CAC38E-00000016
</pre>

It just sits at the Locally bridging part, and no audio is passed.

While parked I also get no MoH but that is still possibly a configuration issue, but something that should be noted.

By: Richard Mudgett (rmudgett) 2011-08-15 12:51:30.860-0500

There are currently a bunch of issues reported against call parking.  These issues
are listed with a brief description in the patch I have up on reviewboard[1] to
resolve them and other parking issues I found.  A team branch[2] from the v1.8 branch
is also available to checkout until the patch is merged into the v1.8 and newer
branches.

The Asterisk Development Team would like some testers to check out the patch and to
report on this thread your findings.  We would like to compile some real world test
scenarios for a wiki page to prevent call parking from getting this badly broken in
the future.

Thank you

Richard

[1] https://reviewboard.asterisk.org/r/1358/

[2] http://svn.asterisk.org/svn/asterisk/team/rmudgett/parking

By: Richard Mudgett (rmudgett) 2011-08-16 12:33:48.307-0500

Fix committed see subversion tab.