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

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Apr 29 11:45:02 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-29 11:45 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...
====================================================================== 

---------------------------------------------------------------------- 
 (0134273) satish_lx (reporter) - 2011-04-29 11:45
 https://issues.asterisk.org/view.php?id=18514#c134273 
---------------------------------------------------------------------- 
Okay! That is fine. So can i put this code in production ? or do you need
any review ? 


Also, can we make 5 second dead air sound to 1 or 2 second ? Just
wondering if possible. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-04-29 11:45 satish_lx      Note Added: 0134273                          
======================================================================




More information about the asterisk-bugs mailing list