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

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Mar 11 12:22:54 CDT 2009


The following issue has been RESOLVED. 
====================================================================== 
http://bugs.digium.com/view.php?id=14628 
====================================================================== 
Reported By:                sverre
Assigned To:                file
====================================================================== 
Project:                    Asterisk
Issue ID:                   14628
Category:                   Channels/chan_sip/Interoperability
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     resolved
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 180682 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-03-09 02:11 CDT
Last Modified:              2009-03-11 12:22 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.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-03-11 12:22 svnbot         Status                   ready for testing =>
assigned
2009-03-11 12:22 svnbot         Assigned To               => file            
2009-03-11 12:22 svnbot         Status                   assigned => resolved
2009-03-11 12:22 svnbot         Resolution               open => fixed       
======================================================================




More information about the asterisk-bugs mailing list