[asterisk-users] asterisk 1.8 parking not working
Matthew Jordan
mjordan at digium.com
Wed Oct 3 06:49:50 CDT 2012
----- Original Message -----
> From: "gincantalupo" <gincantalupo at fgasoftware.com>
> To: asterisk-users at lists.digium.com
> Sent: Wednesday, October 3, 2012 4:29:28 AM
> Subject: [asterisk-users] asterisk 1.8 parking not working
>
> Hi guys,
>
> I've upgraded my pbx from asterisk 1.4 to 1.8 but parking does not
> work
> anymore. Tried asterisk-1.8.11.0 and then, after reading about a
> (fixed)
> problem in CHANGELOG tried asterisk-1.8.16.0, without success.
>
> My features.conf is:
> [general]
> parkext = 700 ; What ext. to dial to park
> parkpos = 701-720 ; What extensions to park calls on
> context = parkedcalls ; Which context parked calls are in, need to
> INCLUDE this in extensions.conf
> parkingtime = 45 ; Number of seconds a call can be parked for
> (default
> is 45)
>
> My extensions.conf is:
> [inbound]
> include=>parkedcalls
> ...
> [outbound]
> include=>parkedcalls
>
> as written on the manual (Oreilly ver.3). They seem right to me but
> when
> I transfer a call to exten 700 I get an invalid extension message as
> if
> Asterisk wouldnt' recognize 700 as a special extrension.
>
> Any idea?
Nope. Using Asterisk 1.8, I set up a rather limited and contrived test using
the following dialplan and a Local channel:
[default]
exten => 100,1,NoOp()
same => n,Answer()
same => n,Echo()
include => parkedcalls
Originating the Local channel into extension 100 and 700 resulted in the channel
being parked without any problems:
*CLI> channel originate Local/100 at default extension 700 at default
-- Executing [100 at default:1] NoOp("Local/100 at default-00000000;2", "") in new stack
-- Executing [100 at default:2] Answer("Local/100 at default-00000000;2", "") in new stack
*CLI> -- Executing [700 at default:1] Park("Local/100 at default-00000000;1", "") in new stack
== Parked Local/100 at default-00000000;1 on 701 (lot default). Will timeout back to extension [default] s, 1 in 45 seconds
-- Added extension '701' priority 1 to parkedcalls
-- <Local/100 at default-00000000;1> Playing 'digits/7.gsm' (language 'en')
-- Executing [100 at default:3] Echo("Local/100 at default-00000000;2", "") in new stack
When you perform a "dialplan show", does it show the parkinglots context?
[ Context 'parkedcalls' created by 'features' ]
'700' => 1. Park() [features]
What does a DEBUG log file illustrate when you attempt to place a channel in
extension 700? How you are attempting to place the channel in extension 700?
--
Matthew Jordan
Digium, Inc. | Engineering Manager
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: http://digium.com & http://asterisk.org
More information about the asterisk-users
mailing list