]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Send "PROGRESS" when DIAL is accepted
authorMark Spencer <markster@digium.com>
Mon, 1 Sep 2003 16:12:54 +0000 (16:12 +0000)
committerMark Spencer <markster@digium.com>
Mon, 1 Sep 2003 16:12:54 +0000 (16:12 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1456 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_iax2.c

index bc86da7b7c66b5b9a49bb56ef5caaacd7e92873c..1192f4f21b6e53ac8d076c4d2ce0b2b269fe9a63 100755 (executable)
@@ -4341,6 +4341,7 @@ retryowner:
                                                if (option_verbose > 2) 
                                                        ast_verbose(VERBOSE_PREFIX_3 "Accepting DIAL from %s, formats = 0x%x\n", inet_ntoa(sin.sin_addr), iaxs[fr.callno]->peerformat);
                                                iaxs[fr.callno]->state |= IAX_STATE_STARTED;
+                                               send_command(iaxs[fr.callno], AST_FRAME_CONTROL, AST_CONTROL_PROGRESS, 0, NULL, 0, -1);
                                                if(!(c = ast_iax2_new(iaxs[fr.callno], AST_STATE_RING, iaxs[fr.callno]->peerformat)))
                                                        iax2_destroy_nolock(fr.callno);
                                        }