[Home]

Summary:ASTERISK-02678: Logging line in chan_local needs variables flipped
Reporter:Leif Madsen (lmadsen)Labels:
Date Opened:2004-10-25 22:51:20Date Closed:2008-01-15 15:11:48.000-0600
Priority:TrivialRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) chan_local.diff.txt
Description:Line 382 of chan_local.c I believe needs the variables flipped around.

The original line is:
ast_log(LOG_NOTICE, "No such extension/context %s@%s creating local channel\n", tmp->context, tmp->exten);

An example:

chan_local.c:382 local_alloc: No such extension/context fwd-in@18924 creating local channel

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

I believe it should be:

ast_log(LOG_NOTICE, "No such extension/context %s@%s creating local channel\n", tmp->exten, tmp->context);

Sorry I didn't submit a patch.
Comments:By: Mark Spencer (markster) 2004-10-25 22:58:09

Fixed in CVS head, thanks.

By: Russell Bryant (russell) 2004-10-26 10:38:49

fixed in 1.0

By: Digium Subversion (svnbot) 2008-01-15 15:11:46.000-0600

Repository: asterisk
Revision: 4101

U   trunk/channels/chan_local.c

------------------------------------------------------------------------
r4101 | markster | 2008-01-15 15:11:46 -0600 (Tue, 15 Jan 2008) | 2 lines

Fix chan_local debug message (bug ASTERISK-2678)

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

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

By: Digium Subversion (svnbot) 2008-01-15 15:11:48.000-0600

Repository: asterisk
Revision: 4103

U   branches/v1-0/channels/chan_local.c

------------------------------------------------------------------------
r4103 | russell | 2008-01-15 15:11:47 -0600 (Tue, 15 Jan 2008) | 2 lines

fix LOG_NOTICE message to exten@context from context@exten (bug ASTERISK-2678)

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

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