[asterisk-bugs] [JIRA] (ASTERISK-15828) [patch] Add new AGI command: PARK

Matt Jordan (JIRA) noreply at issues.asterisk.org
Tue Jan 15 11:39:45 CST 2013


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

Matt Jordan commented on ASTERISK-15828:
----------------------------------------

While trolling through the backlog I came across this feature. Is there a reason why there needs to be a separate AGI command for park apart from calling 'EXEC' with the Park application?
                
> [patch] Add new AGI command: PARK
> ---------------------------------
>
>                 Key: ASTERISK-15828
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-15828
>             Project: Asterisk
>          Issue Type: New Feature
>          Components: Resources/res_agi/NewFeature
>            Reporter: Ben Klang
>         Attachments: agi-park-trunk.patch, agi-park-v2.patch, agi-park-v3.patch
>
>
> I needed a way to programmatically park calls via AGI and return the parking slot to the script for further processing.  Since the generic EXEC AGI command does not allow returning information, I created this patch which adds the PARK command to AGI.  On success, the parking lot space is returned.  The PARK command accepts the same arguments as the dialplan function PARK and in fact uses the same parsing code.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list