[Home]

Summary:ASTERISK-05772: [patch] Two fields mixed up in error message in sip_xmit
Reporter:Leif Neland (lenne_dk)Labels:
Date Opened:2005-12-04 02:24:38.000-0600Date Closed:2008-01-15 16:04:03.000-0600
Priority:TrivialRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) sip_xmit_error.patch
Description:The portnumber and errornumber are reversed, giving this message:

chan_sip.c:1064 __sip_xmit: sip_xmit of 0x86c8a28 (len 467) to 212.112.140.171:-1 returned 5060: Network is unreachable

Should be

212.112.140.171:5060 returned -1: Network is unreachable

****** ADDITIONAL INFORMATION ******

Patch fixes this.
Comments:By: Russell Bryant (russell) 2005-12-04 18:01:48.000-0600

fixed in the trunk and 1.2 branch, thanks!

By: Digium Subversion (svnbot) 2008-01-15 16:04:02.000-0600

Repository: asterisk
Revision: 7335

U   branches/1.2/channels/chan_sip.c

------------------------------------------------------------------------
r7335 | russell | 2008-01-15 16:04:02 -0600 (Tue, 15 Jan 2008) | 2 lines

fix the order of arguments to an error message (issue ASTERISK-5772)

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

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

By: Digium Subversion (svnbot) 2008-01-15 16:04:03.000-0600

Repository: asterisk
Revision: 7336

_U  trunk/
U   trunk/channels/chan_sip.c

------------------------------------------------------------------------
r7336 | russell | 2008-01-15 16:04:03 -0600 (Tue, 15 Jan 2008) | 10 lines

Merged revisions 7335 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r7335 | russell | 2005-12-04 19:01:17 -0500 (Sun, 04 Dec 2005) | 2 lines

fix the order of arguments to an error message (issue ASTERISK-5772)

........

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

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