[asterisk-bugs] [Asterisk 0014628]: "SIP/2.0 404 Not found" when attended transferring a private number

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Mar 9 12:14:15 CDT 2009


The following issue is now READY FOR TESTING. 
====================================================================== 
http://bugs.digium.com/view.php?id=14628 
====================================================================== 
Reported By:                sverre
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14628
Category:                   Channels/chan_sip/Interoperability
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 180682 
Request Review:              
====================================================================== 
Date Submitted:             2009-03-09 02:11 CDT
Last Modified:              2009-03-09 12:14 CDT
====================================================================== 
Summary:                    "SIP/2.0 404 Not found" when attended transferring a
private number
Description: 
When a private incoming call arrives on Extension A as a private number,
the SIP Invite comes with "From: anonymous
<sip:None at 203.176.185.10>;tag=7c2dc3edeb530f73cd3bd6ae102a3d6b".

That call is placed on hold, and a new channel is opened between A->B.
When the attended transfer REFER command comes through, the following error
shows up in sip debug: "Failed SIP Transfer to non-existing extension None
in context phones", followed by Asterisk sending a SIP/2.0 404 Not found to
channel A.

The strange thing is that when the call ISN'T a private number, causing
the call to SIP invite to come with "From:
<sip:97891942 at 203.176.185.10>;tag=3c51826fb722e9d8fa4ee14f0e8d2bf4", the
SIP transfer is fine, "SIP transfer to extension 97891942 at phones by
100001102 at 192.168.0.21"

I tried adding an i extension to the phones context in the hope of
catching the None entry, but no luck.

While this was discovered in 1.4.22, it's present in SVN revision 180682,
and still applies after applying the patch found in bug
http://bugs.digium.com/view.php?id=14611

I've attached two console outputs with sip debug on, one version that
doesn't work with a private number, and one working with a normal CLID.
====================================================================== 

---------------------------------------------------------------------- 
 (0101399) file (administrator) - 2009-03-09 12:14
 http://bugs.digium.com/view.php?id=14628#c101399 
---------------------------------------------------------------------- 
Please try the attached patch. It is against the latest 1.4 from SVN. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-03-09 12:14 file           Note Added: 0101399                          
2009-03-09 12:14 file           Status                   new => ready for
testing
======================================================================




More information about the asterisk-bugs mailing list