[asterisk-bugs] [JIRA] (ASTERISK-27032) disable retrieve ca_list_file fields when transport!=tls for realtime

seanchann.zhou (JIRA) noreply at issues.asterisk.org
Mon Jun 5 04:25:58 CDT 2017


seanchann.zhou created ASTERISK-27032:
-----------------------------------------

             Summary: disable retrieve ca_list_file fields when transport!=tls for realtime
                 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


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