[asterisk-bugs] [Asterisk 0013865]: SIP/TLS enabled - just one call possible - 481 Call/Transaction Does Not Exist

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Apr 15 11:26:36 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13865 
====================================================================== 
Reported By:                st
Assigned To:                mmichelson
====================================================================== 
Project:                    Asterisk
Issue ID:                   13865
Category:                   Channels/chan_sip/TCP-TLS
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.6.1-beta1 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2008-11-09 10:03 CST
Last Modified:              2009-04-15 11:26 CDT
====================================================================== 
Summary:                    SIP/TLS enabled - just one call possible - 481
Call/Transaction Does Not Exist
Description: 
Settup consits of Asterisk 1.6.1-beta1 and Snom320 firmware 7.3.7
TLS is enabled using standard port 5061 for the first example and port
5062 for the second example.

Dialplan is very simple: Answer; Wait(1); Playback(...); Hangup;

The first call of the first example does work but it is not possible to
call the same number again: 481 Call/Transaction Does Not Exist

The first call of the second example has no "BYE" and has to be cancelled
at the phone.


(IMHO a new category chan_sip/TLS should be created)
====================================================================== 

---------------------------------------------------------------------- 
 (0103266) mmichelson (administrator) - 2009-04-15 11:26
 http://bugs.digium.com/view.php?id=13865#c103266 
---------------------------------------------------------------------- 
Kristijan: Thanks for the patch. Sorry if this question seems stupid, but
did you test with and without the patch applied? I am assuming that you
did.

First of all, let me state that you are definitely correct that we should
not add the port to the contact header if it is the standard port for the
transport type being used.

What bugs me, though, is that p->ourip.sin_port is set to 5060 in this
scenario. It should be 5061. If it were set correctly to begin with, we
wouldn't need to patch build_contact to solve this issue. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-04-15 11:26 mmichelson     Note Added: 0103266                          
======================================================================




More information about the asterisk-bugs mailing list