[asterisk-bugs] [Asterisk 0018514]: Problem with dialing SIP peer that is not reachable.

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Apr 28 14:19:44 CDT 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18514 
====================================================================== 
Reported By:                jarekj
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18514
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.8.1.1 
JIRA:                       SWP-2807 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-12-21 15:32 CST
Last Modified:              2011-04-28 14:19 CDT
====================================================================== 
Summary:                    Problem with dialing SIP peer that is not reachable.
Description: 
I am using:

*CLI> core show version
Asterisk 1.8.1.1 built by root @ asterisk on a i686 running Linux on
2010-12-17 23:03:58 UTC

I have some problem with DIal() to SIP unreachable friend.

My dialplan:

exten => _XXXX,1,Dial(SIP/${EXTEN},60,rt)

Now, when I Dial extension 1050, and there is no 1050 peer registered I
got:

[Dec 18 22:51:04] WARNING[2307] chan_sip.c: sip_xmit of 0xc2e1330 (len
843) to 0.0.4.26:5060 returned -1: Invalid argument

======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
has duplicate       0019087 chan_sip.c:3115 __sip_xmit: sip_xmit of...
====================================================================== 

---------------------------------------------------------------------- 
 (0134246) twilson (administrator) - 2011-04-28 14:19
 https://issues.asterisk.org/view.php?id=18514#c134246 
---------------------------------------------------------------------- 
I believe this is also what I am seeing with 19144. Even if Asterisk fails
to lookup a host via DNS, it tries to send it an INVITE. It may be doing
the same thing for non existent peers as well.

I just tested this on my machine. In my case, it looks like it may be
related to my damn ISP (Time Warner Cable) playing DNS games and handling
back 208.68.139.89 (their stupid advertisement search page) when a DNS
lookup fails. So we then start sending INVITES to their f#$%ing web server. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-04-28 14:19 twilson        Note Added: 0134246                          
======================================================================




More information about the asterisk-bugs mailing list