[asterisk-bugs] [JIRA] (ASTERISK-26587) app_originate: Add option to execute gosub prior to dial

Joshua Colp (JIRA) noreply at issues.asterisk.org
Mon Nov 14 09:29:10 CST 2016


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

Joshua Colp commented on ASTERISK-26587:
----------------------------------------

I think people would find it useful, but the mailing lists[1] or community site[2] would be the best place to know for certain from the user base. As for adding the parameter to the internal function calls - they are actually publicly exposed functions that third party modules could use, as a result in order to maintain binary compatibility another function call would need to be added. That is what I was referring to only - not pulling additional options in from Dial.

[1] http://lists.digium.com/mailman/listinfo/asterisk-users
[2] https://community.asterisk.org/

> app_originate: Add option to execute gosub prior to dial
> --------------------------------------------------------
>
>                 Key: ASTERISK-26587
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26587
>             Project: Asterisk
>          Issue Type: New Feature
>      Security Level: None
>          Components: Applications/app_originate
>    Affects Versions: 11.24.1
>         Environment: Linux
>            Reporter: dkerr
>            Assignee: Unassigned
>            Severity: Minor
>         Attachments: asterisk-11-bugid26587.patch
>
>
> Inspired by issue ASTERISK-22992 that requested ability to add callerid into app_originate.  Comments in that issue suggested that it was better solved by adding an option to gosub prior to originating the call.
> The attached patch implements this much like app_dial with two options one to gosub on the originating channel and one to gosub on the newly created channel and behaves just like app_dial.  The attached patch has been tested on Asterisk 11.24.1.  I have tested adding callerid info and also SIPAddHeader (to e.g. add header to force auto answer) and confirmed it works. Have also tested both 'exten' and 'app' versions of app_originate.



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



More information about the asterisk-bugs mailing list