[Home]

Summary:ASTERISK-04773: SIPAddHeader application has wrong channeltype check
Reporter:adomjan (adomjan)Labels:
Date Opened:2005-08-04 06:27:44Date Closed:2008-01-15 15:43:41.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) sip_addheader.patch
Description:SIPAddHeader is used for outgoing calls before dial, right?
If it's true the channel type checking is a bug. SIPAddHeader does not work if caller channel is not sip.
Comments:By: Russell Bryant (russell) 2005-08-04 16:00:05

fixed in cvs head, thanks!

By: Digium Subversion (svnbot) 2008-01-15 15:43:41.000-0600

Repository: asterisk
Revision: 6279

U   trunk/channels/chan_sip.c

------------------------------------------------------------------------
r6279 | russell | 2008-01-15 15:43:40 -0600 (Tue, 15 Jan 2008) | 4 lines

there is no reason to check the channeltype of the channel calling SIPAddHeader
because it really only matters what the channeltype is of the *created* channel
in the subsequent dial (bug ASTERISK-4773)

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

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