[Home]

Summary:ASTERISK-17834: [patch] pri early media won't ring
Reporter:tbsky (tbsky)Labels:
Date Opened:2011-05-10 22:12:54Date Closed:2011-05-12 20:50:17
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Channels/chan_dahdi
Versions:1.8.4 Frequency of
Occurrence
Related
Issues:
causesASTERISK-21151 'Squelching' early media in DAHDI (sig_pri)
Environment:Attachments:( 0) 1.6.2.18.log
( 1) issue19268_v1.8.patch
( 2) SVN-branch-1.8-r318550.log
Description:hi:
  our asterisk connection like below:
  <sip or iax phone>---<asterisk>---<alcatel pbx>---<PSTN>

asterisk connect to alcatel pbx via E1 isdn-pri

  when sip phone (snom 300) or iax phone (zoiper) call PSTN, they can not hear the ring tone and the beginning of the PSTN voice.
  I have checked issue 18868 and tried below combination with no luck.

  1.8.3.2 + sig_pri patch
  1.8 svn which already has sig_pri patched
  1.8.4 + libpri patch (another unofficial patch in issue 18868)
 
  I downgrade to 1.6.2.18 and I found everything works fine.
zoiper iax is ok and after setting "prematuremedia=no",snom sip phone is fine too.

  I don't what other options to try. or what debug information to provide. please tell me if necessary.
Comments:By: Richard Mudgett (rmudgett) 2011-05-11 09:57:50

Please capture
pri set debug on span x
output of failing call and attach to the issue.

By: tbsky (tbsky) 2011-05-12 11:16:44

hi:
  I attach two logs. 1.6.2.18 is working and SVN-1.8 is not working(can not hear ring and the beginning of remote voice).

  I have "prematuremedia=no" in sip.conf and use zoiper sip as client for testing.
 
  hope the log helps!!

By: Richard Mudgett (rmudgett) 2011-05-12 11:29:48

There is no indication in the trace messages that early media is present so the audio path is not opened until the CONNECT message comes in.

By: Richard Mudgett (rmudgett) 2011-05-12 11:42:02

Try issue19268_v1.8.patch.  Untested.

By: tbsky (tbsky) 2011-05-12 20:14:52

hi:
  the patch works fine!!
  now the 1.8 svn behavior is just like 1.6.2.18. everything works fine
with "prematuremedia=no" in sip.conf. (default prematuremedia=yes still cause silence. but I think that is normal, since 1.6.2.18 is the same)
  thanks a lot for your quick help!

By: Digium Subversion (svnbot) 2011-05-12 20:47:06

Repository: asterisk
Revision: 318783

U   branches/1.8/channels/sig_pri.c

------------------------------------------------------------------------
r318783 | rmudgett | 2011-05-12 20:47:06 -0500 (Thu, 12 May 2011) | 14 lines

PRI early media won't ring.

And another way to pass early media.  Don't indicate that there is inband
information present, just assume that the B channel is connected.

* Restore clearing the dialing flag Rx squelch unconditionally when a
PROCEEDING message comes in.

(closes issue ASTERISK-17834)
Reported by: tbsky
Patches:
     issue19268_v1.8.patch uploaded by rmudgett (license 664)
Tested by: tbsky

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

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

By: Digium Subversion (svnbot) 2011-05-12 20:50:16

Repository: asterisk
Revision: 318784

_U  trunk/
U   trunk/channels/sig_pri.c

------------------------------------------------------------------------
r318784 | rmudgett | 2011-05-12 20:50:16 -0500 (Thu, 12 May 2011) | 21 lines

Merged revisions 318783 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
 r318783 | rmudgett | 2011-05-12 20:47:05 -0500 (Thu, 12 May 2011) | 14 lines
 
 PRI early media won't ring.
 
 And another way to pass early media.  Don't indicate that there is inband
 information present, just assume that the B channel is connected.
 
 * Restore clearing the dialing flag Rx squelch unconditionally when a
 PROCEEDING message comes in.
 
 (closes issue ASTERISK-17834)
 Reported by: tbsky
 Patches:
       issue19268_v1.8.patch uploaded by rmudgett (license 664)
 Tested by: tbsky
........

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

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