[asterisk-bugs] [JIRA] (ASTERISK-30191) core/ari/pjsip: Add refer mechanism to refer endpoints to some resource

Maximilian Fridrich (JIRA) noreply at issues.asterisk.org
Thu Aug 25 02:24:09 CDT 2022


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

Maximilian Fridrich commented on ASTERISK-30191:
------------------------------------------------

I have started implementing this feature and I have run into some design considerations that I wanted to clarify with the maintainers before I continue. I am interested in implementing this feature for the PJSIP technology, and I am not aware of any other technology that provides this feature.

So my question is how general this feature should be. Should I create a functionality in the core to allow refers for any technology? (I would mirror what message.c, ast_msg_tech, etc. provide.)

Or should I make the endpoints API resource depend on res_stasis_refer which in turn uses res_pjsip to send refers?

The first option would allow this feature to be implemented for other (future) technologies as well. However it does touch the Asterisk core. Please let me know what you think would be the better way to implement this.

> core/ari/pjsip: Add refer mechanism to refer endpoints to some resource
> -----------------------------------------------------------------------
>
>                 Key: ASTERISK-30191
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-30191
>             Project: Asterisk
>          Issue Type: New Feature
>      Security Level: None
>          Components: Applications/NewFeature, Core/NewFeature, Core/Stasis
>    Affects Versions: 19.6.0, 16.28.0, 18.14.0
>            Reporter: Maximilian Fridrich
>
> Currently, Asterisk can refer endpoints to some resource or URI only during a call using the Transfer application. However, there are use cases which require out-of-dialog refers for click to dial or remote dial scenarios.
> For the PJSIP technology for example, out-of-dialog REFERs provide this functionality, and this scenario is described in RFC 5359, [section 2.18|https://www.rfc-editor.org/rfc/rfc5359.html#section-2.18].
> A new ARI resource for endpoints (possibly {{/endpoints/refer}} with similar parameters to the sendMessage endpoint) could provide this feature as well as an Application (called _Refer_ ?).
> Note: I am already working on this feature, so please feel free to assign the issue to me.



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



More information about the asterisk-bugs mailing list