From: Mark Spencer Date: Mon, 1 Sep 2003 16:12:54 +0000 (+0000) Subject: Send "PROGRESS" when DIAL is accepted X-Git-Tag: 0.5.0~40 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d855c2855ab2df25bf425808b99be8088916a715;p=thirdparty%2Fasterisk.git Send "PROGRESS" when DIAL is accepted git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1456 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_iax2.c b/channels/chan_iax2.c index bc86da7b7c..1192f4f21b 100755 --- a/channels/chan_iax2.c +++ b/channels/chan_iax2.c @@ -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); }