Make sure overlap dial goes into "RING" state instead of just "RESERVED"
authorMark Spencer <markster@digium.com>
Sun, 13 Jun 2004 07:16:00 +0000 (07:16 +0000)
committerMark Spencer <markster@digium.com>
Sun, 13 Jun 2004 07:16:00 +0000 (07:16 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3198 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_zap.c

index d79e8b7..595ed9e 100755 (executable)
@@ -4426,6 +4426,7 @@ static void *ss_thread(void *data)
                        /* Start the real PBX */
                        strncpy(chan->exten, exten, sizeof(chan->exten));
                        ast_dsp_digitreset(p->dsp);
+                       ast_setstate(chan, AST_STATE_RING);
                        res = ast_pbx_run(chan);
                        if (res) {
                                ast_log(LOG_WARNING, "PBX exited non-zero!\n");