[asterisk-bugs] [JIRA] (ASTERISK-24596) Unclear how to use Park application with res_parking 'parkeddynamic' enabled. Documentation?

Richard Mudgett (JIRA) noreply at issues.asterisk.org
Fri Mar 25 13:47:56 CDT 2016


    [ https://issues.asterisk.org/jira/browse/ASTERISK-24596?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=230031#comment-230031 ] 

Richard Mudgett edited comment on ASTERISK-24596 at 3/25/16 1:47 PM:
---------------------------------------------------------------------

This is only a documentation problem as Asterisk is working as intended.

You cannot create parking lots with extensions created by Asterisk that overlap.  The only exception is the parking lot access extension and that only if the access extension is not exclusive to a parking lot.

In the first scenario the {{parkext}} extensions overlap but since they are not exclusive it is ok.  However, the {{parkpos}} extensions of the default and VBX48 parking lots overlap so the dynamic parking lot creation fails.

In the second scenario neither the default nor VBX48 parking lots create any extensions so this is ok.

In the third scenario neither the default nor VBX48 parking lots create overlapping extensions since the extensions are created in different contexts so this is also ok.



was (Author: rmudgett):
This is only a documentation problem as Asterisk is working as intended.

You cannot create parking lots with extensions created by Asterisk that overlap.  The only exception is the parking lot access extension and that only if the access extension is not exclusive to a parking lot.

In the first scenario the {{parkext}} extensions overlap but since they are not exclusive it is ok.  However, the parkpos extensions of the default and VBX48 parking lots overlap so the dynamic parking lot creation fails.

In the second scenario neither the default nor VBX48 parking lots create any extensions so this is ok.

In the third scenario neither the default nor VBX48 parking lots create overlapping extensions since the extensions are created in different contexts so this is also ok.


> Unclear how to use Park application with res_parking 'parkeddynamic' enabled. Documentation?
> --------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-24596
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24596
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_parking
>    Affects Versions: 13.0.0, 13.0.1
>         Environment: GNU/Linux 2.6.18  SMP x86_64 
> Centos 5
>            Reporter: Philip Correia
>            Severity: Minor
>         Attachments: 0001-Fixing-incorrect-condition-check.patch, debug.txt, scenario1-debug.txt, scenario1.txt, scenario2.txt, scenario3.txt
>
>
> When enabling the dynamic parking lot features in res_parking.conf and using the Park application, the application always fails with an error stating the extensions cannot be registered.
> # in default res_parking.conf
> [general]
> parkeddynamic = yes
> # in extensions.conf
> exten => _X.,1,Park(VBX48)
> When placing a call the error appears in the CLI as per the debug.txt attached.
> The attached patch seems to fix the problem.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list