[asterisk-bugs] [Asterisk 0011027]: During transfers the local domain check fails if SIP phones provide a :portnr in their REFER message.

noreply at bugs.digium.com noreply at bugs.digium.com
Thu Oct 18 12:51:58 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11027 
====================================================================== 
Reported By:                ramonpeek
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   11027
Category:                   Channels/chan_sip/Transfers
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.13  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             10-18-2007 12:14 CDT
Last Modified:              10-18-2007 12:51 CDT
====================================================================== 
Summary:                    During transfers the local domain check fails if SIP
phones provide a :portnr in their REFER message.
Description: 
During transfers the local domain check fails if SIP phones provide a
:portnr in their REFER message. This causes the SIP Debug message:
"This SIP transfer is to a remote SIP extension (remote domain
pbx.example.net:5060)"

And thus the localtransfer variable is not set and the call is handled as
being a non-local transfer.

Also no check is done to see whether the transfer is to a local domain or
not, it only checks to see if allow external domains. But if we don't it
does not check the local domains.
====================================================================== 

---------------------------------------------------------------------- 
 ramonpeek - 10-18-07 12:51  
---------------------------------------------------------------------- 
I just read my own notes and though I needed to clarify a bit more.

there are 2 issue's:

Issue 1:
The portnumber is not stripped of the domainname in case we have a phone
that provides a portnumber in the REFER message. (Thomson phones do this!)

Issue 2: 
During transfer asterisk checks that when external domains are allowed the
domain is found in the domain list or if the domain list is empty.
But when external domains are not allowed it does not check whether the
referred domain is listed in the domainlist and therefor every domain is
remote according to asterisk. And that is not true 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
10-18-07 12:51  ramonpeek      Note Added: 0072239                          
======================================================================




More information about the asterisk-bugs mailing list