[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:47:59 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:                     assigned
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 199478 
Request Review:              
====================================================================== 
Date Submitted:             2009-06-07 02:51 CDT
Last Modified:              2009-06-09 15:47 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.
====================================================================== 

---------------------------------------------------------------------- 
 (0106193) svnbot (reporter) - 2009-06-09 15:47
 https://issues.asterisk.org/view.php?id=15283#c106193 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 199818

U   trunk/channels/chan_sip.c

------------------------------------------------------------------------
r199818 | dvossel | 2009-06-09 15:47:58 -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=199818 

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




More information about the asterisk-bugs mailing list