[asterisk-bugs] [JIRA] (ASTERISK-27032) res_pjsip: TLS options do not handle empty values

Friendly Automation (JIRA) noreply at issues.asterisk.org
Tue Nov 7 10:32:28 CST 2017


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

Friendly Automation commented on ASTERISK-27032:
------------------------------------------------

Change 7004 merged by Jenkins2:
res_pjsip: Ignore empty TLS configuration

[https://gerrit.asterisk.org/7004|https://gerrit.asterisk.org/7004]

> res_pjsip: TLS options do not handle empty values
> -------------------------------------------------
>
>                 Key: ASTERISK-27032
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27032
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_pjsip
>    Affects Versions: 13.15.1
>         Environment: openwrt
>            Reporter: seanchann.zhou
>            Assignee: Unassigned
>            Severity: Minor
>
> Hi:
>    in file config_transport.c line  661:
>    If there is no configuration value, loading the entire module will exit. But if the current  protocol  value is not tls, Then it is not necessary to have these values
>    I bind sorcery with realtime for ps_transports.
>    if check current protocol value, only process tls type. 
>    Look at the following code snippet
>    ```
>     	if(transport->type != AST_TRANSPORT_TLS){
> 		return 0;
> 	}
>    ```



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



More information about the asterisk-bugs mailing list