When I receive a call, I want to automatically park it from the dialplan so
that I can retrieve it later. However, I don't want callers to be aware that
they are being parked, so I want to play a ringing tone to the caller. Park()
is supposed to be able to do this:
Park([timeout][,return_context[,return_exten[,return_priority[,options[,parking_lot_name]]]]])
options
r: Send ringing instead of MOH to the parked call.
s: Silence announcement of the parking space number.
I've created an extension to test this with, here's what I have in
extensions.conf:
exten => *10,1,Answer
exten => *10,n,Park(120000,special,*59,1,rs)
exten => *10,n,Hangup()
Here's the output on the Asterisk console:
-- Executing [*10@house-phones:1] Answer("SIP/200-0000000a", "") in new stack
-- Executing [*10@house-phones:2] Park("SIP/200-0000000a",
"120000,special,*59,1,rs") in new stack
== Parked SIP/200-0000000a on 701 (lot default). Will timeout back to
extension [special] *59, 1 in 120 seconds
-- Added extension '701' priority 1 to parkedcalls
-- Started music on hold, class 'default', on SIP/200-0000000a
-- Executing [h@house-phones:1] NoOp("Parked/SIP/200-0000000a<ZOMBIE>", "")
in new stack
I can see that the call is parked OK and the 's' option is being respected, but
the caller just hears the default MOH rather than ringing. Does anyone have
this working?
I was using Asterisk version 1.8.3.3, I've upgraded to 1.8.9.2, but it hasn't
helped.
James.
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users