[asterisk-bugs] [Asterisk 0017071]: When using another SIP Trunk, Asterisk generates the initial ring RING as a response to "SIP SESSION PROGRESS"

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Apr 14 03:41:59 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17071 
====================================================================== 
Reported By:                Alex Oniciuc
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17071
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     confirmed
Asterisk Version:           SVN 
JIRA:                       SWP-1137 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-03-22 05:43 CDT
Last Modified:              2010-04-14 03:41 CDT
====================================================================== 
Summary:                    When using another SIP Trunk, Asterisk generates the
initial ring RING as a response to "SIP SESSION PROGRESS"
Description: 
I’m having a strange problem with the VoIP Gateway that I’m using to go
on the PSTN: if the number on the other end is busy or unavailable I hear
an initial RING, generated by Asterisk from what I’m seeing and after
that the line goes down with busy signal:

Here is the scenario:

    Softphone    *ASTERISK                PATTON                   PSTN
[BUSY]

1   INVITE     >  INVITE              >   INVITE
2.	                              <   SIP/2.0 100 Trying
3.  RING      <  SIP/2.0 180 Ringing  <   SIP/2.0 183 Session Progress
4.	      <  SIP/2.0 603 Declined <   SIP/2.0 406 Not Acceptable

Is this regular? Asterisk isn’t supposed to generate the RING  only
after the first one received from the PATTON?

This can be very annoying because the calling party may have the
impression that the remote party hang up.
====================================================================== 

---------------------------------------------------------------------- 
 (0120375) Alex Oniciuc (reporter) - 2010-04-14 03:41
 https://issues.asterisk.org/view.php?id=17071#c120375 
---------------------------------------------------------------------- 
I'm trying a new box from Wildix (which is based on callweaver) and this
one too sends 183 session progress with no RING. The phone connected to the
box is ringing but now, after the modification to the source code, the
caller doesn't hear the ring.

This might be a side effect of commenting the rows described above.

I agree with jtodd, implementing a new parameter would permit to enable
the feature for some peers, like the Patton who generates too many RINGS,
or by other PBXs (Alcatel or other models) who don't generate any.

I’ve attached the SIP debug log containing the session between Asterisk
and the Wildix PBX. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-04-14 03:41 Alex Oniciuc   Note Added: 0120375                          
======================================================================




More information about the asterisk-bugs mailing list