mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-01 03:04:19 +00:00
restore bugfix that was reverted by trunk_mtu patch
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46202 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2926,6 +2926,9 @@ static int iax2_call(struct ast_channel *c, char *dest, int timeout)
|
||||
iaxs[callno]->initid = ast_sched_add(sched, autokill * 2, auto_congest, CALLNO_TO_PTR(callno));
|
||||
}
|
||||
|
||||
/* send the command using the appropriate socket for this peer */
|
||||
iaxs[callno]->sockfd = cai.sockfd;
|
||||
|
||||
/* Transmit the string in a "NEW" request */
|
||||
send_command(iaxs[callno], AST_FRAME_IAX, IAX_COMMAND_NEW, 0, ied.buf, ied.pos, -1);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user