[asterisk-commits] rmudgett: branch 1.8 r318783 - /branches/1.8/channels/sig_pri.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu May 12 20:47:10 CDT 2011


Author: rmudgett
Date: Thu May 12 20:47:05 2011
New Revision: 318783

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=318783
Log:
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 #19268)
Reported by: tbsky
Patches:
      issue19268_v1.8.patch uploaded by rmudgett (license 664)
Tested by: tbsky

Modified:
    branches/1.8/channels/sig_pri.c

Modified: branches/1.8/channels/sig_pri.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/channels/sig_pri.c?view=diff&rev=318783&r1=318782&r2=318783
==============================================================================
--- branches/1.8/channels/sig_pri.c (original)
+++ branches/1.8/channels/sig_pri.c Thu May 12 20:47:05 2011
@@ -5500,9 +5500,9 @@
 					/* Bring voice path up */
 					pri_queue_control(pri, chanpos, AST_CONTROL_PROGRESS);
 					pri->pvts[chanpos]->progress = 1;
-					sig_pri_set_dialing(pri->pvts[chanpos], 0);
 					sig_pri_open_media(pri->pvts[chanpos]);
 				}
+				sig_pri_set_dialing(pri->pvts[chanpos], 0);
 				sig_pri_unlock_private(pri->pvts[chanpos]);
 				break;
 			case PRI_EVENT_FACILITY:




More information about the asterisk-commits mailing list