[asterisk-bugs] [JIRA] (ASTERISK-24596) Park application always fails when using dynamic parking lots

Matt Jordan (JIRA) noreply at issues.asterisk.org
Fri Dec 5 08:55:29 CST 2014


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

Matt Jordan commented on ASTERISK-24596:
----------------------------------------

While I'm not sure yet what is occurring on your system, the patch is not correct. A return value of {{0}} from the {{parking_lot_cfg_create_extensions(cfg)}} function indicates success. There may be a clause in there returning {{-1}} when it shouldn't, but there are plenty of off nominals in that function that your patch would now validate.

Can you provide a full DEBUG log, as well as your extensions.conf and res_parking.conf?

> Park application always fails when using dynamic parking lots
> -------------------------------------------------------------
>
>                 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
>         Attachments: 0001-Fixing-incorrect-condition-check.patch, debug.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