[asterisk-bugs] [Asterisk 0011503]: Asterisk Realtime not resoving host names

noreply at bugs.digium.com noreply at bugs.digium.com
Fri Dec 14 17:29:44 CST 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11503 
====================================================================== 
Reported By:                akhan01
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   11503
Category:                   Channels/chan_sip/DatabaseSupport
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.4.15  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             12-10-2007 10:58 CST
Last Modified:              12-14-2007 17:29 CST
====================================================================== 
Summary:                    Asterisk Realtime not resoving host names
Description: 
Using asterisk Realtime I have noticed that incoming calls will not work
unless you change the HOST field from domain name to a physical IP
address.

If a domain name is specified for host the bellow NOTICE is seen on
asterisk
 NOTICE[3008] chan_sip.c: Call from '' to extension '13864345565' rejected
because extension not found.

We tested this many times and if a domain name is specified for HOST then
98%
of the incoming calls gets rejects with the above NOTICE.


====================================================================== 

---------------------------------------------------------------------- 
 Corydon76 - 12-14-07 17:29  
---------------------------------------------------------------------- 
Okay, so it's fairly obvious why this isn't working for you:  the SIP
client isn't sending the hostname; it's sending the IP address, so Asterisk
naturally tries to match the IP address in the URI that it sends.

If your client sent the hostname, then you could use the hostname in the
realtime database.  However, since it didn't, Asterisk has no way of
knowing that that's the host that you wanted.

No, we do not do reverse DNS (PTR lookup) in the middle of a SIP dialog,
as that introduces a great deal of latency into the connection. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
12-14-07 17:29  Corydon76      Note Added: 0075441                          
======================================================================




More information about the asterisk-bugs mailing list