[asterisk-bugs] [JIRA] (ASTERISK-29359) transport_apply: Allow to define a transport without listener

Joshua C. Colp (JIRA) noreply at issues.asterisk.org
Sun Mar 21 04:31:14 CDT 2021


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

Joshua C. Colp edited comment on ASTERISK-29359 at 3/21/21 4:30 AM:
--------------------------------------------------------------------

The attachment is of a diff which is code. I've had to mark it as a contribution accordingly. You can describe how such a thing could be accomplished in the description and someone could potentially work on it.

Any attachment that is code (be it a proposal or ready to be merged) needs a signed contributor agreement. I understand you do not wish to sign one, so in the future you can describe in human readable text how things could be changed without providing code.


was (Author: jcolp):
The attachment is of a diff which is code. I've had to mark it as a contribution accordingly. You can describe how such a thing could be accomplished in the description and someone could work potentially work on it.

Any attachment that is code (be it a proposal or ready to be merged) needs a signed contributor agreement.

> transport_apply: Allow to define a transport without listener
> -------------------------------------------------------------
>
>                 Key: ASTERISK-29359
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29359
>             Project: Asterisk
>          Issue Type: Improvement
>      Security Level: None
>          Components: Resources/res_pjsip
>    Affects Versions: 18.0.0
>            Reporter: Michael Maier
>            Assignee: Michael Maier
>         Attachments: allow-port-0.diff.gz
>
>
> res_pjsip/config_transport.c:
> The pjsip architecture uses so called transports as the interface of each configured device, which provides the network connection for a device. Therefore Asterisk provides a interface to create this transport. At the moment, it is impossible to create a transport without a listener added (even the flow transport can't be used without an arbitrary existing transport containing the correct listener (sip / sips)). 
> Attached is a proposal, which enables Asterisk to configure transports without forcibly adding a listener. This is handy if you don't need a listener at all (and therefore increases security) - e.g. for a trunk device, which registers itself to a SIP provider and which is and should be never connected from outside. Pjsip itself supports this operation by adding port 0 to this transport.
> This proposal is tested on base of ASTERISK-29241.



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



More information about the asterisk-bugs mailing list