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

Asterisk Bug Tracker noreply at bugs.digium.com
Mon May 23 07:20:33 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:                     ready for review
Asterisk Version:           SVN 
JIRA:                       SWP-2807 
Regression:                 No 
Reviewboard Link:           https://reviewboard.asterisk.org/r/1202/ 
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-05-23 07:20 CDT
====================================================================== 
Summary:                    [patch] 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...
has duplicate       0019144 Asterisk tries to send an INVITE even w...
has duplicate       0019283 Dialing on nonexistent SIP-peer causes ...
related to          0019211 Hostname does not resolve when using re...
====================================================================== 

---------------------------------------------------------------------- 
 (0135245) satish_lx (reporter) - 2011-05-23 07:20
 https://issues.asterisk.org/view.php?id=18514#c135245 
---------------------------------------------------------------------- 
Thanks for your review loloski.  

@ Asterisk dev please consider it and add it to SVN or trunk so we can see
more test results. 

I'm going to add this patch in production. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-05-23 07:20 satish_lx      Note Added: 0135245                          
======================================================================




More information about the asterisk-bugs mailing list