[asterisk-bugs] [Asterisk 0013117]: [patch] multiple 'transport' on peer doesn't work, tcp port still open

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Jul 23 04:20:44 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13117 
====================================================================== 
Reported By:                pj
Assigned To:                bbryant
====================================================================== 
Project:                    Asterisk
Issue ID:                   13117
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 132312 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             07-20-2008 15:28 CDT
Last Modified:              07-23-2008 04:20 CDT
====================================================================== 
Summary:                    [patch] multiple 'transport' on peer doesn't work,
tcp port still open
Description: 
When I specify eg. 'transport=udp,tcp,tls' in peer configuration, in effect
is only first transport type. 
Currently, I can't specify multiple transport for peers.
Separate to more rows, doesn't solve this, ie:
transport=udp
transport=tcp
transport=tls
still only first is used.

Second issue is, that even if 'sip show settings' displays tcp port
disabled (default), asterisk still have tcp/5060 open.
====================================================================== 

---------------------------------------------------------------------- 
 pj - 07-23-08 04:20  
---------------------------------------------------------------------- 
Bret, tcp still not working as written in sip.conf.sample, tcp/5060 should
be disabled by default. 
I haven't 'tcpenable' in my sip.conf, but asterisk still listening
tcp/5060 and after your patch 'sip show settings' also shows:
  TCP SIP Port:           5060
  TCP Bindaddress:        0.0.0.0

from sip.conf.sample
tcpenable=no                    ; Enable server for incoming TCP
connections (default is no)
;tlsenable=no                   ; Enable server for incoming TLS (secure)
connections (default is no) 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-23-08 04:20  pj             Note Added: 0090600                          
======================================================================




More information about the asterisk-bugs mailing list