projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
749029d
)
restore bugfix that was reverted by trunk_mtu patch
author
Kevin P. Fleming
<kpfleming@digium.com>
Wed, 25 Oct 2006 14:47:01 +0000
(14:47 +0000)
committer
Kevin P. Fleming
<kpfleming@digium.com>
Wed, 25 Oct 2006 14:47:01 +0000
(14:47 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46202
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
channels/chan_iax2.c
patch
|
blob
|
history
diff --git
a/channels/chan_iax2.c
b/channels/chan_iax2.c
index
30ea88d
..
6f46fa7
100644
(file)
--- a/
channels/chan_iax2.c
+++ b/
channels/chan_iax2.c
@@
-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);