[asterisk-bugs] [Asterisk 0018868]: [patch] dont get early media on outgoing calls

Asterisk Bug Tracker noreply at bugs.digium.com
Mon May 9 11:57:20 CDT 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18868 
====================================================================== 
Reported By:                isrl
Assigned To:                rmudgett
====================================================================== 
Project:                    Asterisk
Issue ID:                   18868
Category:                   Channels/chan_dahdi
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     ready for testing
Target Version:             1.8.6
Asterisk Version:           SVN 
JIRA:                       SWP-3171 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): 1.8 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2011-02-22 08:30 CST
Last Modified:              2011-05-09 11:57 CDT
====================================================================== 
Summary:                    [patch] dont get early media on outgoing calls
Description: 
on most outgoing calls i dont get early media 
card is a sangoma a101c 
libpri tried 1.14.11.5 and 1.4.12
dahdi 2.4.0


======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0019246 [patch] No inband progress on PRI_EVENT...
====================================================================== 

---------------------------------------------------------------------- 
 (0134675) svnbot (reporter) - 2011-05-09 11:57
 https://issues.asterisk.org/view.php?id=18868#c134675 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 318231

U   branches/1.8/channels/sig_pri.c

------------------------------------------------------------------------
r318231 | rmudgett | 2011-05-09 11:57:19 -0500 (Mon, 09 May 2011) | 41
lines

Don't get early media for ISDN on outgoing calls.

It looks to be a long-standing misinterpretation of the progress indicator
ie values:
1 - Call is not end-to-end ISDN; further call progress information may be
available in-band.
8 - In-band information or an appropriate pattern is now available.

Only value 8 is handled by chan_dahdi/sig_pri.  The 1 value is not handled
as early media probably because the meaning of the second half of it's
description was overlooked.

* Test to see if either PRI_PROG_CALL_NOT_E2E_ISDN(1) or
PRI_PROG_INBAND_AVAILABLE(8) bits are set to open the media path.

(closes issue https://issues.asterisk.org/view.php?id=18868)
Reported by: isrl
Patches:
      issue18868_19246_v1.8.patch uploaded by rmudgett (license 664)
Tested by: satish_lx

..........

No inband progress on PRI_EVENT_RINGING even if inband flag set.

My ISDN-PRI provider sends an ALERTING with "Inband information or
appropriate pattern now available", but Asterisk only generates and passes
the RING to the SIP extension, not the inband message.  Unfortunately, the
inband message is not a ringback tone but a prompt that says the number is
not in service.  The SIP extension then hears two rings and the call is
hungup which confuses the caller.

* Post an AST_CONTROL_PROGRESS as well as opening the media path if inband
audio is indicated with an ALERTING message.

(closes issue https://issues.asterisk.org/view.php?id=19246)
Reported by: cristiandimache
Patches:
      issue19246_v1.8.patch uploaded by rmudgett (license 664)
Tested by: cristiandimache

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=318231 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-05-09 11:57 svnbot         Note Added: 0134675                          
======================================================================




More information about the asterisk-bugs mailing list