Index: channels/chan_dahdi.c =================================================================== --- channels/chan_dahdi.c (revision 180672) +++ channels/chan_dahdi.c (working copy) @@ -2818,6 +2818,7 @@ case SIG_SS7: /* We'll get it in a moment -- but use dialdest to store pre-setup_ack digits */ p->dialdest[0] = '\0'; + p->dialing = 1; break; default: ast_debug(1, "not yet implemented\n"); @@ -3715,6 +3716,7 @@ p->onhooktime = time(NULL); #if defined(HAVE_PRI) || defined(HAVE_SS7) p->proceeding = 0; + p->dialing = 0; p->progress = 0; p->alerting = 0; p->setup_ack = 0; @@ -3997,6 +3999,7 @@ /* Send a pri acknowledge */ if (!pri_grab(p, p->pri)) { p->proceeding = 1; + p->dialing = 0; res = pri_answer(p->pri->pri, p->call, 0, !p->digital); pri_rel(p->pri); } else { @@ -6376,6 +6379,7 @@ ast_log(LOG_WARNING, "Unable to grab PRI on span %d\n", p->span); } p->proceeding = 1; + p->dialing = 0; } #endif #ifdef HAVE_SS7 @@ -11914,8 +11918,12 @@ ast_dsp_set_features(pri->pvts[chanpos]->dsp, pri->pvts[chanpos]->dsp_features); pri->pvts[chanpos]->dsp_features = 0; } + /* Bring voice path up */ + f.subclass = AST_CONTROL_PROGRESS; + dahdi_queue_frame(pri->pvts[chanpos], &f, pri); } pri->pvts[chanpos]->progress = 1; + pri->pvts[chanpos]->dialing = 0; ast_mutex_unlock(&pri->pvts[chanpos]->lock); } } @@ -11948,6 +11956,7 @@ } pri->pvts[chanpos]->proceeding = 1; ast_mutex_unlock(&pri->pvts[chanpos]->lock); + pri->pvts[chanpos]->dialing = 0; } } break;