]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
PRI early media won't ring.
authorRichard Mudgett <rmudgett@digium.com>
Fri, 13 May 2011 01:47:05 +0000 (01:47 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Fri, 13 May 2011 01:47:05 +0000 (01:47 +0000)
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

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@318783 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/sig_pri.c

index 7ff77edcd833aeb6f80ddffb4ba84e25db206fcd..b610edff78b356f4a97b4160b13c2f65c331c2ce 100644 (file)
@@ -5500,9 +5500,9 @@ static void *pri_dchannel(void *vpri)
                                        /* 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: