[Home]

Summary:ASTERISK-16008: [patch] Improve usability of logging information for misconfigured contexts
Reporter:Philip Prindeville (pprindeville)Labels:
Date Opened:2010-04-23 17:55:31Date Closed:2010-05-11 14:31:06
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Channels/chan_sip/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) chan_sip-bug17238.patch
Description:In chan_sip, calls can fail because an extension isn't found, but you're not told what context the extension is being searched for.

If you're debugging SLA (which autogenerates context) then you don't have much to go by.

This is a trivial 1-line patch.
Comments:By: Paul Belanger (pabelanger) 2010-04-23 20:40:31

+1 for making debugging easier.

By: Philip Prindeville (pprindeville) 2010-04-24 11:43:36

Tested and confirmed.

pbx*CLI>
 == Using SIP RTP TOS bits 184
 == Using SIP RTP CoS mark 5
[Apr 24 10:43:09] NOTICE[4968]: chan_sip.c:20063 handle_request_invite: Call from 'guest_1' to extension '100' rejected because extension not found in context 'redfish-internal'.
pbx*CLI>

By: Digium Subversion (svnbot) 2010-05-11 14:26:17

Repository: asterisk
Revision: 262414

U   trunk/channels/chan_sip.c

------------------------------------------------------------------------
r262414 | pabelanger | 2010-05-11 14:26:17 -0500 (Tue, 11 May 2010) | 8 lines

Improve logging information for misconfigured contexts

(closes issue ASTERISK-16008)
Reported by: pprindeville
Patches:
     chan_sip-bug17238.patch uploaded by pprindeville (license 347)
Tested by: pprindeville

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

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

By: Digium Subversion (svnbot) 2010-05-11 14:29:27

Repository: asterisk
Revision: 262415

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

------------------------------------------------------------------------
r262415 | pabelanger | 2010-05-11 14:29:27 -0500 (Tue, 11 May 2010) | 15 lines

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

........
 r262414 | pabelanger | 2010-05-11 15:26:17 -0400 (Tue, 11 May 2010) | 8 lines
 
 Improve logging information for misconfigured contexts
 
 (closes issue ASTERISK-16008)
 Reported by: pprindeville
 Patches:
       chan_sip-bug17238.patch uploaded by pprindeville (license 347)
 Tested by: pprindeville
........

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

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

By: Digium Subversion (svnbot) 2010-05-11 14:30:20

Repository: asterisk
Revision: 262416

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

------------------------------------------------------------------------
r262416 | pabelanger | 2010-05-11 14:30:19 -0500 (Tue, 11 May 2010) | 15 lines

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

........
 r262414 | pabelanger | 2010-05-11 15:26:17 -0400 (Tue, 11 May 2010) | 8 lines
 
 Improve logging information for misconfigured contexts
 
 (closes issue ASTERISK-16008)
 Reported by: pprindeville
 Patches:
       chan_sip-bug17238.patch uploaded by pprindeville (license 347)
 Tested by: pprindeville
........

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

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

By: Digium Subversion (svnbot) 2010-05-11 14:31:06

Repository: asterisk
Revision: 262417

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

------------------------------------------------------------------------
r262417 | pabelanger | 2010-05-11 14:31:06 -0500 (Tue, 11 May 2010) | 15 lines

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

........
 r262414 | pabelanger | 2010-05-11 15:26:17 -0400 (Tue, 11 May 2010) | 8 lines
 
 Improve logging information for misconfigured contexts
 
 (closes issue ASTERISK-16008)
 Reported by: pprindeville
 Patches:
       chan_sip-bug17238.patch uploaded by pprindeville (license 347)
 Tested by: pprindeville
........

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

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