[asterisk-bugs] [Asterisk 0015283]: [patch] CLI NOTIFY always tries to use UDP, even if the peer is connected via TCP

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Jun 9 15:50:11 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15283 
====================================================================== 
Reported By:                jthurman
Assigned To:                dvossel
====================================================================== 
Project:                    Asterisk
Issue ID:                   15283
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 199478 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-06-07 02:51 CDT
Last Modified:              2009-06-09 15:50 CDT
====================================================================== 
Summary:                    [patch] CLI NOTIFY always tries to use UDP, even if
the peer is connected via TCP
Description: 
When sending a notification from the console to a sip peer using
transport=tcp, only a TCP notification is attempted.

Here is the error on the console:

ERROR[11426]: chan_sip.c:4963 create_addr_from_peer: 'UDP' is not a valid
transport for '1000'. we only use 'TCP'! ending call.
====================================================================== 

---------------------------------------------------------------------- 
 (0106195) svnbot (reporter) - 2009-06-09 15:50
 https://issues.asterisk.org/view.php?id=15283#c106195 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 199820

_U  branches/1.6.1/
U   branches/1.6.1/channels/chan_sip.c

------------------------------------------------------------------------
r199820 | dvossel | 2009-06-09 15:50:11 -0500 (Tue, 09 Jun 2009) | 17
lines

Merged revisions 199818 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
  r199818 | dvossel | 2009-06-09 15:47:57 -0500 (Tue, 09 Jun 2009) | 11
lines
  
  CLI NOTIFY sending wrong transport type.
  
  SIP's cli NOTIFY command only used UDP rather than copying the transport
type from the peer.
  
  (closes issue https://issues.asterisk.org/view.php?id=15283)
  Reported by: jthurman
  Patches:
        sip-notify-tcp-svn199728.patch uploaded by jthurman (license 614)
  Tested by: jthurman, dvossel
........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=199820 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-06-09 15:50 svnbot         Checkin                                      
2009-06-09 15:50 svnbot         Note Added: 0106195                          
======================================================================




More information about the asterisk-bugs mailing list